What is {occupation} and {field of work} of {{Bram Stoker} has {employer} as {Dublin Castle}}
What is Bram Stoker's occupation and field of work and did he work in Dublin Castle?
What is Bram Stoker's occupation and field of work and did he work in Dublin Castle?
SELECT ?n ?x WHERE { ?f property:occupation ?n . ?f property:employer resource:Dublin_Castle . ?f property:field_of_work ?x . resource:Bram_Stoker property:employer ?f }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q36184> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P108> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q742767>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q36184 p:P108 ?s . ?s ps:P108 wd:Q742767 . ?s pq:P106 ?value1 . ?s pq:P101 ?value2 }