What is {position held} of {William Thomson, 1st Baron Kelvin} that is {series ordinal} is {36} ?
What is the title of the position occupied by william thomson 1st baron kelvin that is series ordinal is 36?
what is position held of william thomson 1st baron kelvin that is series ordinal is 36?
SELECT ?d WHERE { FILTER ( ?y = 36 ) . ?l property:series_ordinal ?y . ?l property:position_held ?d . resource:William_Thomson,_1st_Baron_Kelvin property:position_held ?l }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q122701> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P1545> <36>
} 

SELECT ?obj WHERE { wd:Q122701 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1545 ?x filter(contains(?x , '36')) }