EntitySchema:E1: Difference between revisions

From Hypotheseis
Jump to navigation Jump to search
(Updated Schema text: genere)
(Updated Schema text: prova con ref)
Schema / Line 1: Schema / Line 1:
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 p: <http://hypotheseis.wikibase.cloud/prop/>
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 8: Schema / Line 9:
<hypothesis> EXTRA wdt:P4 {
<hypothesis> EXTRA wdt:P4 {
   wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] ;
   wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] ;
   wdt:P6 . * ;                     # testo della ὑπόθεσις
   p:P6 { ps:P6 + ; prov:wasDerivedFrom + ; } ; # testo della ὑπόθεσις
   wdt:P10 @<opera> *;   # tratto da
   wdt:P10 [wd:Q42]? ; # tratto da
   wdt:P13 @<genere> * ; # genere letterario della ὑπόθεσις
   wdt:P13 @<genere> * ; # genere letterario della ὑπόθεσις
   wdt:P25 . ? ;                 # personaggi
   wdt:P25 . ? ; # personaggi
   rdfs:label rdf:langString+;
   rdfs:label rdf:langString+;
}
}


<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] +;
}

Revision as of 10:14, 28 March 2024

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

start = @<hypothesis>

<hypothesis> EXTRA wdt:P4 {
  wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] ;
  p:P6 { ps:P6 + ; prov:wasDerivedFrom + ; } ; # testo della ὑπόθεσις
  wdt:P10 [wd:Q42]? ; # tratto da
  wdt:P13 @<genere> * ; # genere letterario della ὑπόθεσις
  wdt:P25 . ? ; # personaggi
  rdfs:label rdf:langString+;
}

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