Question: How many social groups have the official website http://www.sachsen-coburg-gotha.de/ and are the family of John Mahoney who is a citizen of the United States of America?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "social group" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.sachsen-coburg-gotha.de/" . ?e_1 <family> ?e . ?e_1 <pred:name> "John Mahoney" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.sachsen-coburg-gotha.de/
function: FilterConcept
dependencies: 1
inputs: social group
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country of citizenship
backward
function: Find
inputs: John Mahoney
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: family
forward
function: FilterConcept
dependencies: 7
inputs: social group
function: And
dependencies: 2
8
function: Count
dependencies: 9