Simple Question (Direct)
Simple Question
Q696335
P937
Q515
USER
Where did Arnold Spruck work ?
(Q696335,P937,c(Q515))
action filter_type
action find
entity Q696335
relation P937
type Q515
['Q696335', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q696335 property:P937 ?n . ?n rdf:type ontology:Q515 }
Arnold Spruck
action filter_type
action find
entity Arnold Spruck
relation work location
type city
['Arnold Spruck', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Arnold_Spruck property:work_location ?n . ?n rdf:type ontology:city }
[]
city
Q1721
SYSTEM
Wiesbaden
Q1721
(Q696335,P937,c(Q515))
action filter_type
action find
entity Q696335
relation P937
type Q515
Arnold Spruck worked in [ANSWER]
['Q696335', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q696335 property:P937 ?n . ?n rdf:type ontology:Q515 }
Wiesbaden
Arnold Spruck worked in Wiesbaden
Wiesbaden
action filter_type
action find
entity Arnold Spruck
relation work location
type city
['Arnold Spruck', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Arnold_Spruck property:work_location ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q696335
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q1721,P27,c(Q1048835))
action filter_type
action find
entity Q696335
relation P27
type Q1048835
['Q1721', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q696335 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Arnold Spruck
action filter_type
action find
entity Arnold Spruck
relation country of citizenship
type political territorial entity
['Wiesbaden', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Arnold_Spruck property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1721,P27,c(Q1048835))
action filter_type
action find
entity Q696335
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q1721', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q696335 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Arnold Spruck
relation country of citizenship
type political territorial entity
['Wiesbaden', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Arnold_Spruck property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P609
Q83620
USER
Which thoroughfares are that political territory a terminus location of ?
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?v WHERE { ?v property:P609 resource:Q183 . ?v rdf:type ontology:Q83620 }
Germany
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?v WHERE { ?v property:terminus_location resource:Germany . ?v rdf:type ontology:thoroughfare }
[]
thoroughfare
Q18619599 Q18679137
SYSTEM
European route E35 in the Netherlands, European route E30 in the Netherlands
Q18619599 Q18679137
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[ANSWERS]
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?v WHERE { ?v property:P609 resource:Q183 . ?v rdf:type ontology:Q83620 }
European route E35 in the Netherlands European route E30 in the Netherlands
Which thoroughfares are that political territory a terminus location of
European route E35 in the Netherlands European route E30 in the Netherlands
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?v WHERE { ?v property:terminus_location resource:Germany . ?v rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q846
P530
Q1048835
USER
How many political territories have diplomatic relations with Germany and Qatar ?
(Q183,P530,c(Q1048835)) (Q846,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q183
relation P530
type Q1048835
action filter_type
action find
entity Q846
relation P530
type Q1048835
['Q183', 'P530', {'concept': 'Q1048835'}] ['Q846', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q183 property:P530 ?c . ?c rdf:type ontology:Q1048835 . resource:Q846 property:P530 ?c . ?c rdf:type ontology:Q1048835 }
Germany Qatar
action count
action intersection
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type political territorial entity
['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Germany property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity . resource:Qatar property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q16 Q408
(Q183,P530,c(Q1048835)) (Q846,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q183
relation P530
type Q1048835
action filter_type
action find
entity Q846
relation P530
type Q1048835
[ANSWER]
['Q183', 'P530', {'concept': 'Q1048835'}] ['Q846', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q183 property:P530 ?c . ?c rdf:type ontology:Q1048835 . resource:Q846 property:P530 ?c . ?c rdf:type ontology:Q1048835 }
Canada Australia
2
action count
action intersection
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type political territorial entity
['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Germany property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity . resource:Qatar property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity }
[]