In line with the principles of openness that we promote, the GODAN website is also available as open data.
All contents are exposed in machine-readable formats and accessible through open protocols.
The simplest way to get the contents for a machine is through RSS feeds. A more complex but more powerful way of accessing the contents is though a SPARQL endpoint.
The mein RSS feed containing the latest 50 items published on GODAN is available at:
http://www.godan.info/rss/all-contents
You can also filter the content appending additional parameters, using the following pattern:
http://www.godan.info/rss/updates/[resource type]/[topic/area]/[keyword]
E.g. to get only content that has to do with research:
http://www.godan.info/rss/updates/research
If you don't want to filter by one of the parameters, you can use the "all" placeholder:
e.g. to get content of any type about rights to data:
http://www.godan.info/rss/updates/all/all/rights-to-data
You can use the following values for the three parameters.
Parameter 1: resource type: advocacy-resource, case-study, dataset, discussion-paper, document, guidelines, media, presentation, press release, report, research, success-stories, think-piece, toolkit, white-paper
Parameter 2: area/topic: business-creation, food-security, gender-balance, nutrition-improvement, poverty-alleviation, sustainable-production, value-chain-improvement
Parameter 3: keyword: civil-society, government-data, linked-data, open-data, private-sector-data, public/private, rights-to-data, smes
All the website content is also accessible as an RDF store. An RDF store is a way of storing data using a machine-readable "grammar" (the Resource Description Framework) and documented semantics (RDF vocabularies).
A detailed documentation of the RDF model and the Linked Data layer is in this document.
2a. URIs
Each piece of content has a URI where its RDF representation can be found.
The URI for each piece of content (news item, blog post) or entity (organization, event) is built as follows: GODAN-domain/node/{node-ID}.
The URI for each concept (the various categories used in the website, like keywords, resource types etc.) is built as follows: GODAN-domain/taxonomy_term/{term-ID}.
2b. SPARQL endpoint
The whole RDF store is accessible through a SPARQL engine, which means that any system can run remote queries and get the resulting triples.
The endpoint of the SPARQL engine is:
http://www.godan.info/sparql/
2c. Vocabularies
The vocabularies used in the RDF store are:
PREFIX |
NAMESPACE |
dc |
|
foaf |
|
rdfs |
|
skos |
|
owl |
|
rdf |
|
bibo |
|
schema |
2d. Sample queries
Query to get labels and URIs of all concepts used in the website:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX schema: <http://schema.org/> PREFIX dc: <http://purl.org/dc/terms/> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> DESCRIBE ?uri WHERE { ?uri rdf:type skos:Concept . ?uri skos:prefLabel ?label . }
Query to get all the resources of type "Research":
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX schema: <http://schema.org/> PREFIX dc: <http://purl.org/dc/terms/> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> DESCRIBE ?uri WHERE { ?uri dc:title ?title . ?uri dc:type <http://www.godan.info/taxonomy_term/350> }