Wiki

Example query types

Simple SELECT query

Extracts specific properties from your notes. For example, to list the names of all people:

PREFIX schema: <https://schema.org/>

SELECT ?person ?name WHERE {
  ?person rdf:type schema:Person .
  ?person schema:name ?name .
}

Filtered query

Uses standard string or URI filters to constrain your results. To list all articles in the wiki: namespace:

PREFIX schema: <https://schema.org/>

SELECT ?doc ?name WHERE {
  ?doc rdf:type schema:TechArticle .
  ?doc schema:name ?name .
  FILTER(STRSTARTS(STR(?doc), "wiki:"))
}

On this page

Backlinks

Metadata

{
  "id": "wiki:sparql",
  "type": "TechArticle",
  "name": "SPARQL",
  "description": "Standard query language and protocol for RDF."
}