EntitySchema:E1: Difference between revisions

From Hypotheseis
Jump to navigation Jump to search
(Updated Schema text: genere)
(Updated Schema text: prova etichette e alias it)
 
(6 intermediate revisions by the same user not shown)
Schema / Line 1: Schema / Line 1:
PREFIX p: <http://hypotheseis.wikibase.cloud/prop/>
PREFIX pq: <http://hypotheseis.wikibase.cloud/prop/qualifier/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX wd: <http://hypotheseis.wikibase.cloud/entity/>
PREFIX wd: <http://hypotheseis.wikibase.cloud/entity/>
PREFIX wdt: <http://hypotheseis.wikibase.cloud/prop/direct/>
PREFIX wdt: <http://hypotheseis.wikibase.cloud/prop/direct/>
Schema / Line 7: Schema / Line 10:


<hypothesis> EXTRA wdt:P4 {
<hypothesis> EXTRA wdt:P4 {
   wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] ;
  rdfs:label [ @it ] + ;
   wdt:P6 . * ;                     # testo della ὑπόθεσις
  skos:altLabel [ @it ] + ;
   wdt:P10 @<opera> *;   # tratto da
   wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] + ;
   wdt:P13 @<genere> * ; # genere letterario della ὑπόθεσις
   wdt:P6 . + ; # testo della ὑπόθεσις
   wdt:P25 . ? ;                 # personaggi
  #p:P6 { ps:P6 rdf:langString + ; pq:P7 [wd:Q44] + ; prov:wasDerivedFrom + ; } ; testo della ὑπόθεσις
   rdfs:label rdf:langString+;
   wdt:P10 [wd:Q42] + ; # tratto da
   wdt:P13 @<genere> + ; # genere letterario della ὑπόθεσις
   wdt:P25 . ? ; # personaggi
   wdt:P35 . ? ; # oggetti
  wdt:P26 . ? ; # azioni/condizioni
  wdt:P27 . ? ; # luogo
  wdt:P28 . ? ; # epoca
  wdt:P19 . ? ; # rielabora
  wdt:P20 . ? ; # confrontabile con
  wdt:P30 . ? ; # contrario di
}
}


<opera> EXTRA wdt:P4 {
#<opera> EXTRA wdt:P4 { wdt:P4 [wd:Q3] +; }
  wdt:P4 [wd:Q3] +;
<genere> EXTRA wdt:P5 { wdt:P5 [wd:Q31 wd:Q32] +; }
}
 
<genere> EXTRA wdt:P5 {
  wdt:P5 [wd:Q31 wd:Q32] +;
}

Latest revision as of 10:31, 28 March 2024

language codelabeldescriptionaliasesedit
enedit
ithypothesisὑπόθεσιςedit
PREFIX p: <http://hypotheseis.wikibase.cloud/prop/>
PREFIX pq: <http://hypotheseis.wikibase.cloud/prop/qualifier/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
PREFIX wd: <http://hypotheseis.wikibase.cloud/entity/>
PREFIX wdt: <http://hypotheseis.wikibase.cloud/prop/direct/>

start = @<hypothesis>

<hypothesis> EXTRA wdt:P4 {
  rdfs:label [ @it ] + ;
  skos:altLabel [ @it ] + ;
  wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] + ;
  wdt:P6 . + ; # testo della ὑπόθεσις
  #p:P6 { ps:P6 rdf:langString + ; pq:P7 [wd:Q44] + ; prov:wasDerivedFrom + ; } ; testo della ὑπόθεσις
  wdt:P10 [wd:Q42] + ; # tratto da
  wdt:P13 @<genere> + ; # genere letterario della ὑπόθεσις
  wdt:P25 . ? ; # personaggi
  wdt:P35 . ? ; # oggetti
  wdt:P26 . ? ; # azioni/condizioni
  wdt:P27 . ? ; # luogo
  wdt:P28 . ? ; # epoca
  wdt:P19 . ? ; # rielabora
  wdt:P20 . ? ; # confrontabile con
  wdt:P30 . ? ; # contrario di
}

#<opera> EXTRA wdt:P4 { wdt:P4 [wd:Q3] +; }
<genere> EXTRA wdt:P5 { wdt:P5 [wd:Q31 wd:Q32] +; }