I want to export all data XML/RDF/OWL (ontology) about resource from wikidata or dbpedia. (with all children elements, statements, nested data -database dump)
I'm looking for tool or api or code, and advice how to do that.
Let's say I want all data, and all statements about series How I met your mother, actors, roles, episodes, everything,also their classes and properties (statements).
Link: https://www.wikidata.org/wiki/Q147235 Entity->Q147235
Can maybe SPARQL be written for that, something like this, but with all nested classes, properties, individuals
SELECT ?himym
WHERE {
BIND(wd:Q147235 as ?himym) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
So the main goal is retrieving database data in rdf/owl.
To be more specific, what I'm looking for something like this, view-source:http://dbpedia.org/data/Friends.rdf but, also statements-resources-about nested data ex. characters, actors, ... up to 3-4 levels of nesting?