SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/products> <http://dbpedia.org/resource/Microsoft_Visual_Studio> . ?uri <http://dbpedia.org/ontology/product> <http://dbpedia.org/resource/Microsoft_Surface> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company>}
Name the company with product lines like Visual studio and Surface ?
SELECT DISTINCT ?y WHERE { ?y property:product resource:Microsoft_Surface . ?y rdf:type ontology:Company . ?y property:products resource:Microsoft_Visual_Studio }
Microsoft
The company whose products are Microsoft Visual Studio and Microsoft Surface is [Microsoft].
The company producing products Microsoft Visual Studio and Microsoft Surface is [Microsoft].