Question: Count the number of software which runs on Microsoft Windows and mac OS ?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
 SELECT DISTINCT COUNT(?uri) WHERE { ?uri onto:operatingSystem <http://dbpedia.org/resource/Microsoft_Windows> . ?uri onto:operatingSystem <http://dbpedia.org/resource/Mac_OS>}