EntitySchema:E1: Difference between revisions

From IPCC
Jump to navigation Jump to search
(Created a new Schema: section)
 
(Updated Schema text: Extended)
Schema / Line 4: Schema / Line 4:
# SELECT ?section WHERE { ?section wdt:P1 wd:Q18 . }
# SELECT ?section WHERE { ?section wdt:P1 wd:Q18 . }


START = @<section>
START = @<Section>


<section> {
<Section> {
   wdt:P1 . + ; # instance of
   wdt:P1 [ wd:Q18 ] ; # instance of
   wdt:P4 . + ; # part of
   wdt:P4 . * ; # part of
  wdt:P11 @<Section> * ; # cites
  p:P3 @<Statement> * # has the statement
}
 
<Statement> {
  pq:P1 . ? ; # instance of
  pq:P5 @<Confidence> ? ; # confidence
  pq:P8 xsd:integer ? ; # series ordinal
  pq:P9 @<SpacialScope> ? # spacial scope
}
 
<Confidence> {
  wdt:P1 [ wd:Q1 ] # instance of 'confidence'
}
 
<SpacialScope> {
  wdt:P1 [ wd:Q32 ] ; # instance of 'ecosystem'
  wdt:P2 IRI ? # same as
}
}

Revision as of 13:34, 23 April 2023

language codelabeldescriptionaliasesedit
ensectiona piece of text in a larger text, see Q18edit
PREFIX wd:  <https://kg-ipclimatec-reports.wikibase.cloud/entity/>
PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/>

# SELECT ?section WHERE { ?section wdt:P1 wd:Q18 . }

START = @<Section>

<Section> {
  wdt:P1 [ wd:Q18 ] ; # instance of
  wdt:P4 . * ; # part of
  wdt:P11 @<Section> * ; # cites
  p:P3 @<Statement> * # has the statement
}

<Statement> {
  pq:P1 . ? ; # instance of
  pq:P5 @<Confidence> ? ; # confidence
  pq:P8 xsd:integer ? ; # series ordinal
  pq:P9 @<SpacialScope> ? # spacial scope
}

<Confidence> {
  wdt:P1 [ wd:Q1 ] # instance of 'confidence'
}

<SpacialScope> {
  wdt:P1 [ wd:Q32 ] ; # instance of 'ecosystem'
  wdt:P2 IRI ? # same as
}