Skip to content

Instantly share code, notes, and snippets.

@aandr
Created May 17, 2016 09:16
Show Gist options
  • Save aandr/10f92fbaded8c475ef2e19ab653f7c1c to your computer and use it in GitHub Desktop.
Save aandr/10f92fbaded8c475ef2e19ab653f7c1c to your computer and use it in GitHub Desktop.
PREFIX leak: <http://data.ontotext.com/resource/leaks#>
PREFIX dbr: <http://dbpedia.org/resource/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select ?l ?name ?address ?status ?link ?shareholder where {
?l a leak:Entity.
?l leak:hasCountry dbr:Bulgaria .
?l leak:address ?address.
?l leak:name ?name.
?l leak:status ?status.
?l rdfs:seeAlso ?link.
?edge leak:hasTarget ?l.
?edge leak:rel_type "shareholder of".
?edge leak:hasSource ?source.
?source leak:name ?shareholder
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment