SELECT DISTINCT COUNT(?uri) WHERE {?uri <http://dbpedia.org/ontology/locationCity> <http://dbpedia.org/resource/Texas> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company>}
Give me a count of companies located in Texas ?
SELECT DISTINCT COUNT ( ?d ) WHERE { ?d property:location_city resource:Texas . ?d rdf:type ontology:Company }
151
There are [151] companies located in Texas.
Texas has [151] companies.
There are [151] companies whose location city is the country.
[151] is the count of companies located in Texas.