A Notebook is a collection of Annotations. Annotations in Pundit boil down to sets of RDF triples. SPARQL is the standard way of querying a graph on the semantic web.

Pundit open API now allows you to SPARQL query a notebook! … Note: it must be a PUBLIC one.

In other words, developers can now base on a standard query language ad protocol to build visualizations and applications to explore the “knowledge” contained in a user’s notebook.

For example, a simple query like

select distinct ?types where {?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?types}

returns all the types of resources involved in a notebook. To run it on a public notebook click here.

similarly one could ask all the properties (relations) used to link to persons:

select distinct ?property where {?x ?property ?y.}

Show results by clicking here.

Check out the Pundit Server API documentation for more details.