Simple Question (Direct)
Simple Question
Q7822561
P19
Q56061
USER
Where was Tony Henry born ?
(Q7822561,P19,c(Q56061))
action filter_type
action find
entity Q7822561
relation P19
type Q56061
['Q7822561', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7822561 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Tony Henry
action filter_type
action find
entity Tony Henry
relation place of birth
type administrative territorial entity
['Tony Henry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tony_Henry property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2326854
SYSTEM
Houghton-le-Spring
Q2326854
(Q7822561,P19,c(Q56061))
action filter_type
action find
entity Q7822561
relation P19
type Q56061
Tony Henry was born in [ANSWER]
['Q7822561', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7822561 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Houghton-le-Spring
Tony Henry was born in Houghton-le-Spring
Houghton-le-Spring
action filter_type
action find
entity Tony Henry
relation place of birth
type administrative territorial entity
['Tony Henry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tony_Henry property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7822561
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2326854,P27,c(Q15617994))
action filter_type
action find
entity Q7822561
relation P27
type Q15617994
['Q2326854', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7822561 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Tony Henry
action filter_type
action find
entity Tony Henry
relation country of citizenship
type designation for an administrative territorial entity
['Houghton-le-Spring', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tony_Henry property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2326854,P27,c(Q15617994))
action filter_type
action find
entity Q7822561
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2326854', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7822561 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Tony Henry
relation country of citizenship
type designation for an administrative territorial entity
['Houghton-le-Spring', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tony_Henry property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q160249 Q7822561
P27 P17
Q15617994
USER
Which administrative territories do Tony Henry belong to and are European route E30 located in ?
AND((Q7822561,P27,c(Q15617994)), (Q160249,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7822561
relation P27
action find
entity Q160249
relation P17
type Q15617994
{'AND': [['Q7822561', 'P27', {'concept': 'Q15617994'}], ['Q160249', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q7822561 property:P27 ?e . resource:Q160249 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
European route E30 Tony Henry
action filter_type
action intersection
action find
entity Tony Henry
relation country of citizenship
action find
entity European route E30
relation country
type designation for an administrative territorial entity
{'AND': [['Tony Henry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['European route E30', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Tony_Henry property:country_of_citizenship ?e . resource:European_route_E30 property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q7822561,P27,c(Q15617994)), (Q160249,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7822561
relation P27
action find
entity Q160249
relation P17
type Q15617994
Henry belong to the [ANSWER] and are European route E30 located in
{'AND': [['Q7822561', 'P27', {'concept': 'Q15617994'}], ['Q160249', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q7822561 property:P27 ?e . resource:Q160249 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
Henry belong to the United Kingdom and are European route E30 located in
United Kingdom
action filter_type
action intersection
action find
entity Tony Henry
relation country of citizenship
action find
entity European route E30
relation country
type designation for an administrative territorial entity
{'AND': [['Tony Henry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['European route E30', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Tony_Henry property:country_of_citizenship ?e . resource:European_route_E30 property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q20746
P47
Q15617994
USER
Does Hattstedtermarsch share border with that one ?
(Q145,P47,Q20746)
action is_in
entity Q20746
action find
entity Q145
relation P47
['Q145', 'P47', 'Q20746']
ASK WHERE { resource:Q145 property:P47 resource:Q20746 }
United Kingdom Hattstedtermarsch
action is_in
entity Hattstedtermarsch
action find
entity United Kingdom
relation shares border with
['United Kingdom', 'shares border with', 'Hattstedtermarsch']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Hattstedtermarsch }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P47,Q20746)
action is_in
entity Q20746
action find
entity Q145
relation P47
[ANSWER]
['Q145', 'P47', 'Q20746']
ASK WHERE { resource:Q145 property:P47 resource:Q20746 }
No
action is_in
entity Hattstedtermarsch
action find
entity United Kingdom
relation shares border with
['United Kingdom', 'shares border with', 'Hattstedtermarsch']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Hattstedtermarsch }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2326854 Q530139 Q145
P17
Q15617994
USER
Is Houghton-le-Spring present in Wurzbach and United Kingdom ?
(Q2326854,P17,Q530139) (Q2326854,P17,Q145)
action is_in
entity Q2326854
action intersection
action find_reverse
entity Q530139
relation P17
action find_reverse
entity Q145
relation P17
['Q2326854', 'P17', 'Q530139'] ['Q2326854', 'P17', 'Q145']
ASK WHERE { resource:Q2326854 property:P17 resource:Q145 . resource:Q2326854 property:P17 resource:Q530139 }
Houghton-le-Spring Wurzbach United Kingdom
action is_in
entity Houghton-le-Spring
action intersection
action find_reverse
entity Wurzbach
relation country
action find_reverse
entity United Kingdom
relation country
['Houghton-le-Spring', 'country', 'Wurzbach'] ['Houghton-le-Spring', 'country', 'United Kingdom']
ASK WHERE { resource:Houghton-le-Spring property:country resource:United_Kingdom . resource:Houghton-le-Spring property:country resource:Wurzbach }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2326854,P17,Q530139) (Q2326854,P17,Q145)
action is_in
entity Q2326854
action intersection
action find_reverse
entity Q530139
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q2326854', 'P17', 'Q530139'] ['Q2326854', 'P17', 'Q145']
ASK WHERE { resource:Q2326854 property:P17 resource:Q145 . resource:Q2326854 property:P17 resource:Q530139 }
NO and YES respectively
action is_in
entity Houghton-le-Spring
action intersection
action find_reverse
entity Wurzbach
relation country
action find_reverse
entity United Kingdom
relation country
['Houghton-le-Spring', 'country', 'Wurzbach'] ['Houghton-le-Spring', 'country', 'United Kingdom']
ASK WHERE { resource:Houghton-le-Spring property:country resource:United_Kingdom . resource:Houghton-le-Spring property:country resource:Wurzbach }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q37305 Q20746
P17
Q1048835
USER
Which political territories are Hattstedtermarsch or Browne Falls located in ?
OR((Q20746,P17,c(Q1048835)), (Q37305,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q20746
relation P17
action find
entity Q37305
relation P17
type Q1048835
{'OR': [['Q20746', 'P17', {'concept': 'Q1048835'}], ['Q37305', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q20746 property:P17 ?w } UNION { resource:Q37305 property:P17 ?w } } . ?w rdf:type ontology:Q1048835 }
Browne Falls Hattstedtermarsch
action filter_type
action union
action find
entity Hattstedtermarsch
relation country
action find
entity Browne Falls
relation country
type political territorial entity
{'OR': [['Hattstedtermarsch', 'country', {'concept': 'political territorial entity'}], ['Browne Falls', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hattstedtermarsch property:country ?w } UNION { resource:Browne_Falls property:country ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q20746,P17,c(Q1048835)), (Q37305,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q20746
relation P17
action find
entity Q37305
relation P17
type Q1048835
Hattstedtermarsch or Browne Falls are located in [ANSWERS]
{'OR': [['Q20746', 'P17', {'concept': 'Q1048835'}], ['Q37305', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q20746 property:P17 ?w } UNION { resource:Q37305 property:P17 ?w } } . ?w rdf:type ontology:Q1048835 }
New Zealand Germany
Hattstedtermarsch or Browne Falls are located in New Zealand and Germany
New Zealand Germany
action filter_type
action union
action find
entity Hattstedtermarsch
relation country
action find
entity Browne Falls
relation country
type political territorial entity
{'OR': [['Hattstedtermarsch', 'country', {'concept': 'political territorial entity'}], ['Browne Falls', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hattstedtermarsch property:country ?w } UNION { resource:Browne_Falls property:country ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1504859
P27
Q502895
USER
Are Georg Jacoby civilians of those political territories ?
(Q1504859,P27,Q664) (Q1504859,P27,Q183)
action is_in
entity prev_answer
action find
entity Q1504859
relation P27
['Q1504859', 'P27', 'Q664'] ['Q1504859', 'P27', 'Q183']
ASK WHERE { resource:Q1504859 property:P27 ?e . VALUES ( ?e ) { ( resource:Q664 ) ( resource:Q183 ) } }
Georg Jacoby
action is_in
entity prev_answer
action find
entity Georg Jacoby
relation country of citizenship
['Georg Jacoby', 'country of citizenship', 'New Zealand'] ['Georg Jacoby', 'country of citizenship', 'Germany']
ASK WHERE { resource:Georg_Jacoby property:country_of_citizenship ?e . VALUES ( ?e ) { ( resource:New_Zealand ) ( resource:Germany ) } }
[]
common name
SYSTEM
YES
(Q1504859,P27,Q664) (Q1504859,P27,Q183)
action is_in
entity prev_answer
action find
entity Q1504859
relation P27
[ANSWER]
['Q1504859', 'P27', 'Q664'] ['Q1504859', 'P27', 'Q183']
ASK WHERE { resource:Q1504859 property:P27 ?e . VALUES ( ?e ) { ( resource:Q664 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georg Jacoby
relation country of citizenship
['Georg Jacoby', 'country of citizenship', 'New Zealand'] ['Georg Jacoby', 'country of citizenship', 'Germany']
ASK WHERE { resource:Georg_Jacoby property:country_of_citizenship ?e . VALUES ( ?e ) { ( resource:New_Zealand ) ( resource:Germany ) } }
[]