what is the {version type} for {ICQ} has {software version} as {8.0} ?
ICQ 8.0 software version?
Which software version of ICQ is 8.0?
SELECT ?q WHERE { ?t property:software_version_identifier ?i . ?t property:version_type ?q . FILTER ( CONTAINS ( ?i , '8.0' ) ) . resource:ICQ property:software_version_identifier ?t }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q58166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P348> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <8.0> .
?statement <http://www.wikidata.org/entity/P548> ?value. 
} 

SELECT ?value WHERE { wd:Q58166 p:P348 ?s . ?s ps:P348 ?x filter(contains(?x , '8.0')) . ?s pq:P548 ?value}