Data

LINKED DATA DOWNLOADS

The data underneath Constitute are prepared as open-linked data in order to provide for efficient human and machine consumption, following the standards of the Semantic Web. For those unfamiliar with the standards and the rationale for such data, the W3C site and the Wikipedia entries on “Linked Data” and the “Semantic Web” are good places to start.

We provide Linked Data dumps in three forms:

The ontology includes the project’s conceptual inventory together with the constitutional excerpts, and is available as an OWL ontology (.owl).

The metadata includes selected attributes for the constitutions and is available as an N-Triples (.nt) file

Each country page includes data on the constitutional excerpts of the country with the corresponding topics available as N-Triples (.nt), Turtle (.ttl) and RDF/XML (.xml) files.

TABULATED DATA DOWNLOADS

Analysts can also access “tabulated” versions of the excerpt data from the site itself. After “pinning” an excerpt, an entire search, or a comparison, visit the Pinned page to select and export custom slices of the data as .csv files (as well as .pdfs and Google Docs).

API

Developers and data enthusiasts can access Constitute's underlying data through an API, the documentation for which is here.

SPARQL ENDPOINT

We also host an endpoint where humans and machines can can query the Constitute data directly with SPARQL code, a standard query language for the Semantic Web. Those who do not “speak” SPARQL will find a link to example queries, which are easily adaptable.