Project:SPARQL/examples: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


===Alle Ps in deze Wikibase===
===Alle Ps in deze Wikibase===
<sparql tryit="1">
<sparql tryit="1">
#All properties with descriptions and aliases and types
#All properties with descriptions and aliases and types
Line 13: Line 14:
ORDER BY ASC(xsd:integer(STRAFTER(STR(?property), 'P')))
ORDER BY ASC(xsd:integer(STRAFTER(STR(?property), 'P')))
</sparql>
</sparql>
=== Alle Qs in deze Wikibase===
=== Alle Qs in deze Wikibase===
<sparql tryit="1">
<sparql tryit="1">
# All Qnumbers in this Wikibase
# All Qnumbers in this Wikibase
Line 25: Line 28:
ORDER BY ASC(xsd:integer(STRAFTER(STR(?identifier), 'Q')))
ORDER BY ASC(xsd:integer(STRAFTER(STR(?identifier), 'Q')))
</sparql>
</sparql>
===Alle Ps en Qs samen===
===Alle Ps en Qs samen===
<sparql tryit="1">
<sparql tryit="1">
# All Ps and Qs in this Wikibase
# All Ps and Qs in this Wikibase
Line 38: Line 43:
ORDER BY ?statement
ORDER BY ?statement
</sparql>
</sparql>
===Claim ids (GUID) for Qnumbers in this Wikibase===
===Claim ids (GUID) for Qnumbers in this Wikibase===
<sparql tryit="1">
<sparql tryit="1">
# Find claim ids (GUID) for Qnumbers in this Wikibase
# Find claim ids (GUID) for Qnumbers in this Wikibase
Line 60: Line 67:


=== Wikidata-equivalenten van properties in deze Wikibase  ===
=== Wikidata-equivalenten van properties in deze Wikibase  ===
<sparql tryit="1">
<sparql tryit="1">
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX bd: <http://www.bigdata.com/rdf#>
emailconfirmed
952

edits