Querying: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Run SPARQL queries via the | Run SPARQL queries via the [https://ottgaz.org/query/ Ottgaz Query Service]. | ||
'''Remember:''' SPARQL is currently case sensitive, as elastic search is disabled in wikibase.cloud. | '''Remember:''' SPARQL is currently case sensitive, as elastic search is disabled in wikibase.cloud. |
Revision as of 17:37, 30 September 2022
Run SPARQL queries via the Ottgaz Query Service.
Remember: SPARQL is currently case sensitive, as elastic search is disabled in wikibase.cloud.
Namespace
Declare these namespaces at the start of every query:
PREFIX wd: <https://ottgaz.org/entity/> PREFIX wdt: <https://ottgaz.org/prop/direct/>
Sample queries
Label
SELECT ?vilayet ?vilayetLabel WHERE { ?vilayet wdt:P6 wd:Q5 . ?vilayet rdfs:label ?vilayetLabel . }