From f88e1c4b55288357b6bc7c53dfd06fd8a20c5c6d Mon Sep 17 00:00:00 2001 From: Your Name <you@example.com> Date: Tue, 11 Jul 2017 20:41:10 +0200 Subject: [PATCH] sparql query --- sparql query | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sparql query diff --git a/sparql query b/sparql query new file mode 100644 index 0000000..c02ee44 --- /dev/null +++ b/sparql query @@ -0,0 +1,24 @@ +PREFIX owl: <http://www.w3.org/2002/07/owl#> +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> +PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> +PREFIX foaf: <http://xmlns.com/foaf/0.1/> +PREFIX dc: <http://purl.org/dc/elements/1.1/> +PREFIX : <http://dbpedia.org/resource/> +PREFIX dbpedia2: <http://dbpedia.org/property/> +PREFIX dbpedia: <http://dbpedia.org/> +PREFIX skos: <http://www.w3.org/2004/02/skos/core#> +PREFIX dbo: <http://dbpedia.org/ontology/> + + +select ?person ?name ?birth ?description where { + ?person a dbo:Person ; + foaf:name ?name ; + dbo:birthDate ?birth ; + dbo:abstract ?description + filter langMatches(lang(?name),'en') + filter langMatches(lang(?description),'en') +} +order by ?person +offset 100 +limit 50 -- GitLab