Missing triples
Opened this issue · 0 comments
Query 45:
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
PREFIX res: http://dbpedia.org/resource/
PREFIX dbo: http://dbpedia.org/ontology/
PREFIX dbp: http://dbpedia.org/property/
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
SELECT DISTINCT ?uri ?string
WHERE
{ ?uri rdf:type dbo:Organisation
{ ?uri dbp:industry res:Telecommunications }
UNION
{ ?uri dbp:industry ?industry
FILTER regex(?industry, "Telecommunication")
}
{ ?uri dbo:location res:Belgium }
UNION
{ ?uri dbp:location res:Belgium }
UNION
{ ?uri dbp:locationCountry "Belgium"@en }
OPTIONAL
{ ?uri rdfs:label ?string
FILTER ( lang(?string) = "en" )
}
}
Checking industry
Checking industry
Checking location
Checking location
Checking country
SimpleNLG:
This query retrieves distinct organisations ?uri such that ?uri's industry is Telecommunications or ?uri's industry is ?industry and ?industry matches "Telecommunication" and ?uri's location is Belgium, ?uri's location is Belgium or ?uri's location country is Belgium. Additionally, it retrieves distinct values ?string such that ?uri's label is ?string and ?string is in English if such exist.
After postprocessing:
This query retrieves distinct organisations and their English label (if it exists) such that their industry is some industry or Telecommunications, their location country is Belgium or is Belgium and this industry matches "Telecommunication".
[13:32:21] Lorenz Bühmann: da fehlen irgendwie die teile für
[13:32:28] Lorenz Bühmann: { ?uri dbo:location res:Belgium }
UNION
{ ?uri dbp:location res:Belgium }
[13:35:16] Christina Unger: " their location country is Belgium or is Belgium"
[13:35:38] Lorenz Bühmann: naja, das ist ja nur die locationCountry relation
[13:36:38] Christina Unger: ah, stimmt. das kann ein problem beim aggregieren sein, weil location ja auch in location country steckt. das problem bei diesen unions ist sowieso meistens, dass alles wild durcheinander aggregiert wird...