EntitySchema:E1: Difference between revisions

From Hypotheseis
Jump to navigation Jump to search
(Updated Schema text: prova con ref)
(Updated Schema text: prova qualificatore)
Schema / Line 2: Schema / Line 2:
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 p: <http://hypotheseis.wikibase.cloud/prop/>
PREFIX pq: <http://hypotheseis.wikibase.cloud/prop/qualifier/>
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 9: Schema / Line 10:
<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] ;
   p:P6 { ps:P6 + ; prov:wasDerivedFrom + ; } ; # testo della ὑπόθεσις
   p:P6 { ps:P6 rdf:langString * ; pq:P7 [wd:Q44] ; prov:wasDerivedFrom + ; } ; # testo della ὑπόθεσις
   wdt:P10 [wd:Q42]? ; # tratto da
   wdt:P10 [wd:Q42]? ; # tratto da
   wdt:P13 @<genere> * ; # genere letterario della ὑπόθεσις
   wdt:P13 @<genere> * ; # genere letterario della ὑπόθεσις

Revision as of 10:18, 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 pq: <http://hypotheseis.wikibase.cloud/prop/qualifier/>
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 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
  rdfs:label rdf:langString+;
}

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