what is the {series ordinal} for {Ted Hughes} has {given name} as {James} ?
Which series is Teg Hughes named as James?
On which series Teg Hughes named as James?
SELECT ?g WHERE { resource:Ted_Hughes property:given_name ?d . ?d property:given_name resource:James . ?d property:series_ordinal ?g }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q272194> .
?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/Q677191> .
?statement <http://www.wikidata.org/entity/P1545> ?value. 
} 

SELECT ?value WHERE { wd:Q272194 p:P735 ?s . ?s ps:P735 wd:Q677191 . ?s pq:P1545 ?value}