what is the {series ordinal} for {The Wall} has {tracklist} as {Goodbye Blue Sky} ?
What is the tracklist number of the song "Goodbye Blue Sky" from the album The Wall?
What number is "Goodbye Blue Sky" in the tracklist for the album The Wall?
SELECT ?a WHERE { resource:The_Wall property:tracklist ?x . ?x property:series_ordinal ?a . ?x property:tracklist resource:Goodbye_Blue_Sky }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151114> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P658> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2454009> .
?statement <http://www.wikidata.org/entity/P1545> ?value. 
} 

SELECT ?value WHERE { wd:Q151114 p:P658 ?s . ?s ps:P658 wd:Q2454009 . ?s pq:P1545 ?value}