What is {given name} of {Louis Agassiz} that is {series ordinal} is {1} ?
The first name of Louis Agassiz is?
What is the given first name of Louis Agassiz?
SELECT ?p WHERE { FILTER ( CONTAINS ( ?w , '1' ) ) . resource:Louis_Agassiz property:given_name ?n . ?n property:given_name ?p . ?n property:series_ordinal ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q122972> .
?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:Q122972 p:P735 ?s . ?s ps:P735 ?obj . ?s pq:P1545 ?x filter(contains(?x , '1')) }