Simple Question (Direct)
Simple Question
Q3012302
P734
Q82799
USER
Who is associated with Dale Garland ?
(Q3012302,P734,c(Q82799))
action filter_type
action find
entity Q3012302
relation P734
type Q82799
['Q3012302', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q3012302 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Dale Garland
action filter_type
action find
entity Dale Garland
relation family name
type name
['Dale Garland', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Dale_Garland property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q10661005
SYSTEM
Garland
Q10661005
(Q3012302,P734,c(Q82799))
action filter_type
action find
entity Q3012302
relation P734
type Q82799
[ANSWER] is associated with Dale [ANSWER]
['Q3012302', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q3012302 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Garland
Garland is associated with Dale Garland
Garland
action filter_type
action find
entity Dale Garland
relation family name
type name
['Dale Garland', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Dale_Garland property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3012302
P21
Q290
USER
Which sex does Dale Garland possess ?
(Q3012302,P21,c(Q290))
action filter_type
action find
entity Q3012302
relation P21
type Q290
['Q3012302', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3012302 property:P21 ?m . ?m rdf:type ontology:Q290 }
Dale Garland
action filter_type
action find
entity Dale Garland
relation gender
type sex
['Dale Garland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Dale_Garland property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3012302,P21,c(Q290))
action filter_type
action find
entity Q3012302
relation P21
type Q290
Dale Garland possesses un [ANSWER]
['Q3012302', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3012302 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Dale Garland possesses un male
male
action filter_type
action find
entity Dale Garland
relation gender
type sex
['Dale Garland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Dale_Garland property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3012302
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3012302
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3012302 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Dale Garland
action filter_type
action find
entity Dale Garland
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Dale_Garland property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3012302
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3012302 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Dale Garland
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Dale_Garland property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q4346735
P47
Q1048835
USER
Does Pastushe share the border with that administrative territory ?
(Q145,P47,Q4346735)
action is_in
entity Q4346735
action find
entity Q145
relation P47
['Q145', 'P47', 'Q4346735']
ASK WHERE { resource:Q145 property:P47 resource:Q4346735 }
United Kingdom Pastushe
action is_in
entity Pastushe
action find
entity United Kingdom
relation shares border with
['United Kingdom', 'shares border with', 'Pastushe']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Pastushe }
[]
political territorial entity
SYSTEM
NO
(Q145,P47,Q4346735)
action is_in
entity Q4346735
action find
entity Q145
relation P47
[ANSWER]
['Q145', 'P47', 'Q4346735']
ASK WHERE { resource:Q145 property:P47 resource:Q4346735 }
No
action is_in
entity Pastushe
action find
entity United Kingdom
relation shares border with
['United Kingdom', 'shares border with', 'Pastushe']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Pastushe }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10843526 Q4346735
P17
Q15617994
USER
Which administrative territories are Pastushe or Hasanabad, Jolgeh Zozan situated in ?
OR((Q4346735,P17,c(Q15617994)), (Q10843526,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4346735
relation P17
action find
entity Q10843526
relation P17
type Q15617994
{'OR': [['Q4346735', 'P17', {'concept': 'Q15617994'}], ['Q10843526', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?q property:P17 ?y . VALUES ( ?q ) { ( resource:Q4346735 ) ( resource:Q10843526 ) } } }
Hasanabad, Jolgeh Zozan Pastushe
action filter_type
action union
action find
entity Pastushe
relation country
action find
entity Hasanabad, Jolgeh Zozan
relation country
type designation for an administrative territorial entity
{'OR': [['Pastushe', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hasanabad, Jolgeh Zozan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?q property:country ?y . VALUES ( ?q ) { ( resource:Pastushe ) ( resource:Hasanabad,_Jolgeh_Zozan ) } } }
[]
designation for an administrative territorial entity
Q212 Q794
SYSTEM
Ukraine, Iran
Q212 Q794
OR((Q4346735,P17,c(Q15617994)), (Q10843526,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4346735
relation P17
action find
entity Q10843526
relation P17
type Q15617994
[ANSWERS] are Pastushe or Hasanabad, Jolgeh Zozan situated in
{'OR': [['Q4346735', 'P17', {'concept': 'Q15617994'}], ['Q10843526', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?q property:P17 ?y . VALUES ( ?q ) { ( resource:Q4346735 ) ( resource:Q10843526 ) } } }
Ukraine Iran
Ukraine and Iran are Pastushe or Hasanabad, Jolgeh Zozan situated in
Ukraine Iran
action filter_type
action union
action find
entity Pastushe
relation country
action find
entity Hasanabad, Jolgeh Zozan
relation country
type designation for an administrative territorial entity
{'OR': [['Pastushe', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hasanabad, Jolgeh Zozan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?q property:country ?y . VALUES ( ?q ) { ( resource:Pastushe ) ( resource:Hasanabad,_Jolgeh_Zozan ) } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q34 Q145
P530
Q1048835
USER
Which political territories have diplomatic relations with United Kingdom and Sweden ?
AND((Q145,P530,c(Q1048835)), (Q34,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q34
relation P530
type Q1048835
{'AND': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q34', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?u . resource:Q34 property:P530 ?u }
Sweden United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Sweden
relation diplomatic relation
type political territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?u . resource:Sweden property:diplomatic_relation ?u }
[]
political territorial entity
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q408 Q16 Q183
AND((Q145,P530,c(Q1048835)), (Q34,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q34
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with United Kingdom and Sweden
{'AND': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q34', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?u . resource:Q34 property:P530 ?u }
Australia Canada Germany
Australia, Canada and Germany have diplomatic relations with United Kingdom and Sweden
Australia Canada Germany
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Sweden
relation diplomatic relation
type political territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?u . resource:Sweden property:diplomatic_relation ?u }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q229
P530
Q15617994
USER
Do Cyprus have ambassadorial relations with those political territories ?
(Q229,P530,Q408) (Q229,P530,Q16) (Q229,P530,Q183)
action is_in
entity prev_answer
action find
entity Q229
relation P530
['Q229', 'P530', 'Q408'] ['Q229', 'P530', 'Q16'] ['Q229', 'P530', 'Q183']
ASK WHERE { VALUES ( ?q ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } . resource:Q229 property:P530 ?q }
Cyprus
action is_in
entity prev_answer
action find
entity Cyprus
relation diplomatic relation
['Cyprus', 'diplomatic relation', 'Australia'] ['Cyprus', 'diplomatic relation', 'Canada'] ['Cyprus', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?q ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } . resource:Cyprus property:diplomatic_relation ?q }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q229,P530,Q408) (Q229,P530,Q16) (Q229,P530,Q183)
action is_in
entity prev_answer
action find
entity Q229
relation P530
[ANSWER]
['Q229', 'P530', 'Q408'] ['Q229', 'P530', 'Q16'] ['Q229', 'P530', 'Q183']
ASK WHERE { VALUES ( ?q ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } . resource:Q229 property:P530 ?q }
Yes
action is_in
entity prev_answer
action find
entity Cyprus
relation diplomatic relation
['Cyprus', 'diplomatic relation', 'Australia'] ['Cyprus', 'diplomatic relation', 'Canada'] ['Cyprus', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?q ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } . resource:Cyprus property:diplomatic_relation ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P710
Q198
USER
Which war did Iran participate in ?
(c(Q198),P710,Q794)
action filter_type
action find_reverse
entity Q794
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q794']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q794 . ?n rdf:type ontology:Q198 }
Iran
action filter_type
action find_reverse
entity Iran
relation participant
type war
[{'concept': 'war'}, 'participant', 'Iran']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Iran . ?n rdf:type ontology:war }
[]
war
Q17984356
SYSTEM
Iraqi Civil War
Q17984356
(c(Q198),P710,Q794)
action filter_type
action find_reverse
entity Q794
relation P710
type Q198
Iran participated in [ANSWER]
[{'concept': 'Q198'}, 'P710', 'Q794']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q794 . ?n rdf:type ontology:Q198 }
Iraqi Civil War
Iran participated in Iraqi Civil War
Iraqi Civil War
action filter_type
action find_reverse
entity Iran
relation participant
type war
[{'concept': 'war'}, 'participant', 'Iran']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Iran . ?n rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17984356
P361
Q350604
USER
Which armed conflicts are that war a component of ?
(Q17984356,P361,c(Q350604))
action filter_type
action find
entity Q17984356
relation P361
type Q350604
['Q17984356', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q350604 . resource:Q17984356 property:P361 ?m }
Iraqi Civil War
action filter_type
action find
entity Iraqi Civil War
relation part of
type armed conflict
['Iraqi Civil War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:armed_conflict . resource:Iraqi_Civil_War property:part_of ?m }
[]
armed conflict
Q17512479 Q17272643
SYSTEM
Arab Winter, spillover of the Syrian Civil War
Q17512479 Q17272643
(Q17984356,P361,c(Q350604))
action filter_type
action find
entity Q17984356
relation P361
type Q350604
[ANSWERS] are that war a component of
['Q17984356', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q350604 . resource:Q17984356 property:P361 ?m }
Arab Winter spillover of the Syrian Civil War
Arab Winter and spillover of the Syrian Civil War are that war a component of
Arab Winter spillover of the Syrian Civil War
action filter_type
action find
entity Iraqi Civil War
relation part of
type armed conflict
['Iraqi Civil War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:armed_conflict . resource:Iraqi_Civil_War property:part_of ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17512479
P276
Q2221906
USER
Which geographic location is the place where Arab Winter is located ?
(Q17512479,P276,c(Q2221906))
action filter_type
action find
entity Q17512479
relation P276
type Q2221906
['Q17512479', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q17512479 property:P276 ?k . ?k rdf:type ontology:Q2221906 }
Arab Winter
action filter_type
action find
entity Arab Winter
relation location
type geographic location
['Arab Winter', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Arab_Winter property:location ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Q143487
SYSTEM
Arab world
Q143487
(Q17512479,P276,c(Q2221906))
action filter_type
action find
entity Q17512479
relation P276
type Q2221906
[ANSWER] is the place where Arab Winter is located
['Q17512479', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q17512479 property:P276 ?k . ?k rdf:type ontology:Q2221906 }
Arab world
Arab world is the place where Arab Winter is located
Arab world
action filter_type
action find
entity Arab Winter
relation location
type geographic location
['Arab Winter', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Arab_Winter property:location ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1551794
Q2221906
USER
And also tell me about Japanese invasion of Manchuria?
(Q1551794,P276,c(Q2221906))
action filter_type
action find
entity Q1551794
relation P276
type Q2221906
['Q1551794', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q1551794 property:P276 ?p }
Japanese invasion of Manchuria
action filter_type
action find
entity Japanese invasion of Manchuria
relation location
type geographic location
['Japanese invasion of Manchuria', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Japanese_invasion_of_Manchuria property:location ?p }
[]
geographic location
Q81126
SYSTEM
Manchuria
Q81126
(Q1551794,P276,c(Q2221906))
action filter_type
action find
entity Q1551794
relation P276
type Q2221906
[ANSWER]
['Q1551794', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q1551794 property:P276 ?p }
Manchuria
Manchuria
action filter_type
action find
entity Japanese invasion of Manchuria
relation location
type geographic location
['Japanese invasion of Manchuria', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Japanese_invasion_of_Manchuria property:location ?p }
[]