Question: How many social groups' country is the Kingdom of Italy (that is replaced by Italy) and official website is http://www.sachsen-coburg-gotha.de/?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: replaces
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: social group
function: FindAll
function: FilterStr
dependencies: 6
inputs: official website
http://www.sachsen-coburg-gotha.de/
function: FilterConcept
dependencies: 7
inputs: social group
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "social group" . ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_2 <replaces> ?e_1 . ?e_2 <pred:name> "Italy" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.sachsen-coburg-gotha.de/" .  }
Answer: 0