EntitySchema:E1: Difference between revisions
Jump to navigation
Jump to search
(Updated Schema text: Extended) |
(Updated Schema text) |
||
(2 intermediate revisions by the same user not shown) | |||
Schema / Line 1: | Schema / Line 1: | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |||
PREFIX p: <http://www.wikidata.org/prop/> | |||
PREFIX pq: <http://www.wikidata.org/prop/qualifier/> | |||
PREFIX wd: <https://kg-ipclimatec-reports.wikibase.cloud/entity/> | PREFIX wd: <https://kg-ipclimatec-reports.wikibase.cloud/entity/> | ||
PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/> | PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/> | ||
# SELECT ? | # PREFIX wd: <https://kg-ipclimatec-reports.wikibase.cloud/entity/> | ||
# PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/> | |||
# SELECT ?cmp WHERE { ?cmp wdt:P1 wd:Q68 . } | |||
# Run with: https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:%20https://kg-ipclimatec-reports.wikibase.cloud/sparql&hideData&manifest=[]&textMapIsSparqlQuery&schemaURL=%2F%2Fkg-ipclimatec-reports.wikibase.cloud%2Fwiki%2FSpecial%3AEntitySchemaText%2FE1 | |||
START = @<Section> | START = @<Section> |
Latest revision as of 13:01, 9 August 2024
language code | label | description | aliases | edit |
---|---|---|---|---|
en | section | a piece of text in a larger text, see Q18 | edit |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wd: <https://kg-ipclimatec-reports.wikibase.cloud/entity/>
PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/>
# PREFIX wd: <https://kg-ipclimatec-reports.wikibase.cloud/entity/>
# PREFIX wdt: <https://kg-ipclimatec-reports.wikibase.cloud/prop/direct/>
# SELECT ?cmp WHERE { ?cmp wdt:P1 wd:Q68 . }
# Run with: https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:%20https://kg-ipclimatec-reports.wikibase.cloud/sparql&hideData&manifest=[]&textMapIsSparqlQuery&schemaURL=%2F%2Fkg-ipclimatec-reports.wikibase.cloud%2Fwiki%2FSpecial%3AEntitySchemaText%2FE1
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
}