SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/foundation> <http://dbpedia.org/resource/New_Mexico> . ?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 founded in New Mexico manufactures Visual Studio?
SELECT DISTINCT ?k WHERE { ?k property:products resource:Microsoft_Visual_Studio . ?k rdf:type ontology:Company . ?k property:foundation resource:New_Mexico }
Microsoft
The company founded in New Mexico and has Microsoft Visual Studio as product is [Microsoft].
The company was founded in New Mexico and has Microsoft Visual Studio as its product [Microsoft].