Question: How many entities of industry are owned by an agent who also owns Google (the one whose Stack Exchange tag is https://webapps.stackexchange.com/tags/google-search)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" . ?e <owned_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_1 <owner_of> ?e_3 . ?e_3 <pred:name> "Google" . ?e_3 <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://webapps.stackexchange.com/tags/google-search" .   }
Program:
function: Find
inputs: Google
function: FilterStr
dependencies: 0
inputs: Stack Exchange tag
https://webapps.stackexchange.com/tags/google-search
function: Relate
dependencies: 1
inputs: owner of
backward
function: FilterConcept
dependencies: 2
inputs: agent
function: Relate
dependencies: 3
inputs: owned by
backward
function: FilterConcept
dependencies: 4
inputs: industry
function: Count
dependencies: 5
Answer: 1