SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/services> <http://dbpedia.org/resource/OneDrive> . ?uri <http://dbpedia.org/property/products> <http://dbpedia.org/resource/Microsoft_Visual_Studio> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company>}
Which company has a product named Visual Studio and One Drive as service ?
SELECT DISTINCT ?c WHERE { ?c property:products resource:Microsoft_Visual_Studio . ?c property:services resource:One_Drive . ?c rdf:type ontology:Company }
Microsoft
[Microsoft] is the company whose services is OneDrive and has Microsoft Visual Studio as a product.
[Microsoft] is a company which has services named OneDrive and product named Microsoft Visual Studio.