What is {given name} of {Gian Lorenzo Bernini} that is {series ordinal} is {1} ?
Give the first name of Gian Lorenzo Bernini?
What is Gian Lorenzo Bernini's first name?
SELECT ?a WHERE { ?e property:given_name ?a . FILTER ( ?x = 1 ) . ?e property:series_ordinal ?x . resource:Gian_Lorenzo_Bernini property:given_name ?e }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160538> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P1545> <1>
} 

SELECT ?obj WHERE { wd:Q160538 p:P735 ?s . ?s ps:P735 ?obj . ?s pq:P1545 ?x filter(contains(?x , '1')) }