EntitySchema:E1: Difference between revisions

From Hypotheseis
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text: genere)
Schema / Line 9: Schema / Line 9:
   wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] ;
   wdt:P4 [wd:Q78 wd:Q79 wd:Q80 wd:Q81] ;
   wdt:P6 . * ;                    # testo della ὑπόθεσις
   wdt:P6 . * ;                    # testo della ὑπόθεσις
   wdt:P10 @<opera> *;             # tratto da
   wdt:P10 @<opera> *;   # tratto da
   wdt:P13 . * ;                   # 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:P31 {
<opera> EXTRA wdt:P4 {
   wdt:P31 [wd:Q3] +;
   wdt:P4 [wd:Q3] +;
}
 
<genere> EXTRA wdt:P5 {
  wdt:P5 [wd:Q31 wd:Q32] +;
}
}

Revision as of 10:03, 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 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] ;
  wdt:P6 . * ;                     # testo della ὑπόθεσις
  wdt:P10 @<opera> *;    # 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] +;
}