What is {noble title} of {Charles the Bald} and {follows}
What is Charles the Bald's noble title and by whom is it followed?
What is the noble title of Charles the Bald and by whom is he followed?
SELECT ?p ?d WHERE { resource:Charles_the_Bald property:noble_title ?x . ?x property:noble_title ?d . ?x property:follows ?p . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q71231> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P97> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q71231 p:P97 ?s . ?s ps:P97 ?obj . ?s pq:P155 ?value1 . }