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

Line 30: Line 30:
==Which prefix declarations will I need to use the DS Wikibase?==
==Which prefix declarations will I need to use 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">
PREFIX wd: <https://catalog.digital-scriptorium.org/entity/>
PREFIX wds: <https://catalog.digital-scriptorium.org/entity/statement/>
PREFIX wdv: <https://catalog.digital-scriptorium.org/value/>
PREFIX wdt: <https://catalog.digital-scriptorium.org/prop/direct/>
PREFIX p: <https://catalog.digital-scriptorium.org/prop/>
PREFIX ps: <https://catalog.digital-scriptorium.org/prop/statement/>
PREFIX pq: <https://catalog.digital-scriptorium.org/prop/qualifier/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
</syntaxhighlight>


=Basic Example Queries=
=Basic Example Queries=
Bots, Bureaucrats, emailconfirmed, Administrators
30,567

edits