DS Catalog:SPARQL Query Service/example queries: Difference between revisions

Jump to navigation Jump to search
Line 28: Line 28:
As you can see, the Q and P values are appended to the end of the base URIs, so that you only need to know the prefix (e.g., wd, wdt) and the appropriate Q or P number to construct the triple pattern you want to use. This makes SPARQL queries much more readable and editable by human beings.
As you can see, the Q and P values are appended to the end of the base URIs, so that you only need to know the prefix (e.g., wd, wdt) and the appropriate Q or P number to construct the triple pattern you want to use. This makes SPARQL queries much more readable and editable by human beings.


==Which prefix declarations will I need to use the DS Wikibase?==
==Which prefix declarations will I need to use to query the DS Wikibase?==
The following prefix declarations should be at the beginning of any SPARQL query made at [https://catalog.digital-scriptorium.org/query/ the DS Wikibase Query Service endpoint].
The following prefix declarations should be at the beginning of any SPARQL query made at [https://catalog.digital-scriptorium.org/query/ the DS Wikibase Query Service endpoint].
<syntaxhighlight lang="SPARQL">
<syntaxhighlight lang="SPARQL">
Bots, Bureaucrats, emailconfirmed, Administrators
30,537

edits

Navigation menu