ASK WHERE { <http://dbpedia.org/resource/Compaq> <http://dbpedia.org/ontology/industry> <http://dbpedia.org/resource/Software> }
Is Compaq a software company?
ASK WHERE { resource:Compaq property:industry resource:Software }
Yes
[Yes], Compaq is a software company.
[Yes], Compaq comes under type of software company.