Querying: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
SPARQL is a very powerful query language, but it is also quite complex. New users will find it easiest to use sample queries and adapt them to their needs. Learning to use SPARQL is the best way to understand the Ottgaz data model.  
SPARQL is a very powerful query language, but it is also quite complex. New users will find it easiest to use sample queries and adapt them to their needs. Learning to use SPARQL is the best way to understand the Ottgaz data model.  


== Namespace ==
Run SPARQL queries via the [https://ottgaz.org/query/ Ottgaz Query Service].
Run SPARQL queries via the [https://ottgaz.org/query/ Ottgaz Query Service].
If you need more help formulating queries, try:
* working through the [https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial Wikidata SPARQL tutorial]
* searching [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples Wikidata sample queries] and adapting them to Ottgaz
* asking for help on the [[Talk:Querying|discussion page]]
* asking for help on [https://stackoverflow.com/questions/tagged/sparql Stack Overflow] or the [https://t.me/+WBsf9-C9KPuMZCDT wikibase Telegram group]
== Namespace ==


Declare these namespaces at the start of every query:
Declare these namespaces at the start of every query:
Line 178: Line 171:
   }
   }
  }
  }
== Help ==
After trying the samples, if you need more help formulating queries, try:
* working through the [https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial Wikidata SPARQL tutorial]
* searching [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples Wikidata sample queries] and adapting them to Ottgaz
* asking for help on the [[Talk:Querying|discussion page]]
* asking for help on [https://stackoverflow.com/questions/tagged/sparql Stack Overflow] or the [https://t.me/+WBsf9-C9KPuMZCDT wikibase Telegram group]


== Cleanup queries ==
== Cleanup queries ==

Navigation menu