what is the {series ordinal} for {Adam Weishaupt} has {given name} as {Adam} ?
which is Adam Weishaupt's first name?
What is Adam Weishaupt's first name?
SELECT ?k WHERE { resource:Adam_Weishaupt property:given_name ?r . ?r property:series_ordinal ?k . ?r property:given_name resource:Adam }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q159481> .
?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> <http://wikidata.dbpedia.org/resource/Q347181> .
?statement <http://www.wikidata.org/entity/P1545> ?value. 
} 

SELECT ?value WHERE { wd:Q159481 p:P735 ?s . ?s ps:P735 wd:Q347181 . ?s pq:P1545 ?value}