What is {sister or brother} of {Caligula}, that has {public office} is {quaestor} ?
what is sister or brohter of caligula that has open office is quaestor ?''
what is sister or brohter of caligula that has public office is quaestor ?''
SELECT ?q WHERE { ?q property:position_held resource:quaestor . resource:Caligula property:sibling ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1409> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3373>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q189430> . }
SELECT ?answer WHERE { wd:Q1409 wdt:P3373 ?answer . ?answer wdt:P39 wd:Q189430}
Drusus Caesar Nero Caesar