Question: How many families applied to a jurisdiction of a sovereign state, with Sofia as its capital, in 1908?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "family" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "Sofia" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1908 .   }
Program:
function: Find
inputs: Sofia
function: Relate
dependencies: 0
inputs: country
forward
function: QFilterYear
dependencies: 1
inputs: start time
1908
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: family
function: Count
dependencies: 5