Changes

Jump to navigation Jump to search
Line 9: Line 9:  
* a description of the different [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help/Result_Views views on results] that are possible; note that each view expects the data to arrive for each row in a specific order as a tuple, even bound to a variable of fixed name
 
* a description of the different [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help/Result_Views views on results] that are possible; note that each view expects the data to arrive for each row in a specific order as a tuple, even bound to a variable of fixed name
 
* [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/A_gentle_introduction_to_the_Wikidata_Query_Service a gentle introduction to the Wikidata Query Service]
 
* [https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/A_gentle_introduction_to_the_Wikidata_Query_Service a gentle introduction to the Wikidata Query Service]
 +
 +
== Specifics here ==
 +
On this site, it is customary to use some prefixes:
 +
 +
{{#tag:syntaxhighlight|PREFIX pdio: <https://wiki.personaldata.io/entity/>
 +
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
 +
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
 +
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
 +
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>|lang="sparql"}}
 +
 +
This replicates the same [https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Prefixes_used prefix scheme for Wikidata] (see also [https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#Basics_-_Understanding_Prefixes here]).
 +
 +
== Example queries here ==
 +
 +
Many queries on this site use the template [https://wiki.personaldata.io/w/index.php?title=Template:SPARQL&action=edit Template:SPARQL].
 +
You can therefore find these examples by looking for the [[Special:WhatLinksHere/Template:SPARQL|pages pointing to that exact template]].
 +
 +
[[Category:Help]]

Navigation menu