Simple Question (Direct)
Simple Question
Q6815215
P106
Q12737077
USER
What is the profession of Memet Ali ?
(Q6815215,P106,c(Q12737077))
action filter_type
action find
entity Q6815215
relation P106
type Q12737077
['Q6815215', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6815215 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Memet Ali
action filter_type
action find
entity Memet Ali
relation occupation
type occupation
['Memet Ali', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Memet_Ali property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6815215,P106,c(Q12737077))
action filter_type
action find
entity Q6815215
relation P106
type Q12737077
The profession of Memet Ali is an [ANSWER]
['Q6815215', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6815215 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
The profession of Memet Ali is an association football player
association football player
action filter_type
action find
entity Memet Ali
relation occupation
type occupation
['Memet Ali', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Memet_Ali property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6815215
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6815215
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q6815215 property:P641 ?h . ?h rdf:type ontology:Q349 }
Memet Ali
action filter_type
action find
entity Memet Ali
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Memet_Ali property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6815215
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q6815215 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Memet Ali
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Memet_Ali property:sport ?h . ?h rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3852088 Q6815215
P641
Q349
USER
Or Matteo Burgsthaler?
OR((Q6815215,P641,c(Q349)), (Q3852088,P641,c(Q349)))
action filter_type
action union
action find
entity Q6815215
relation P641
action find
entity Q3852088
relation P641
type Q349
{'OR': [['Q6815215', 'P641', {'concept': 'Q349'}], ['Q3852088', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q6815215 property:P641 ?e } UNION { resource:Q3852088 property:P641 ?e } } . ?e rdf:type ontology:Q349 }
Matteo Burgsthaler Memet Ali
action filter_type
action union
action find
entity Memet Ali
relation sport
action find
entity Matteo Burgsthaler
relation sport
type sport
{'OR': [['Memet Ali', 'sport', {'concept': 'sport'}], ['Matteo Burgsthaler', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Memet_Ali property:sport ?e } UNION { resource:Matteo_Burgsthaler property:sport ?e } } . ?e rdf:type ontology:sport }
[]
sport
Q1734 Q2736
SYSTEM
volleyball, association football
Q1734 Q2736
OR((Q6815215,P641,c(Q349)), (Q3852088,P641,c(Q349)))
action filter_type
action union
action find
entity Q6815215
relation P641
action find
entity Q3852088
relation P641
type Q349
[ANSWERS]
{'OR': [['Q6815215', 'P641', {'concept': 'Q349'}], ['Q3852088', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q6815215 property:P641 ?e } UNION { resource:Q3852088 property:P641 ?e } } . ?e rdf:type ontology:Q349 }
volleyball association football
volleyball association football
action filter_type
action union
action find
entity Memet Ali
relation sport
action find
entity Matteo Burgsthaler
relation sport
type sport
{'OR': [['Memet Ali', 'sport', {'concept': 'sport'}], ['Matteo Burgsthaler', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Memet_Ali property:sport ?e } UNION { resource:Matteo_Burgsthaler property:sport ?e } } . ?e rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4863401 Q6815215
P27 P17
Q15617994
USER
Which administrative territories are Memet Ali an inhabitant of or are Barreta Island located in ?
OR((Q6815215,P27,c(Q15617994)), (Q4863401,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6815215
relation P27
action find
entity Q4863401
relation P17
type Q15617994
{'OR': [['Q6815215', 'P27', {'concept': 'Q15617994'}], ['Q4863401', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q6815215 property:P27 ?n } UNION { resource:Q4863401 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Barreta Island Memet Ali
action filter_type
action union
action find
entity Memet Ali
relation country of citizenship
action find
entity Barreta Island
relation country
type designation for an administrative territorial entity
{'OR': [['Memet Ali', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Barreta Island', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Memet_Ali property:country_of_citizenship ?n } UNION { resource:Barreta_Island property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q45
SYSTEM
People's Republic of China, Portugal
Q148 Q45
OR((Q6815215,P27,c(Q15617994)), (Q4863401,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6815215
relation P27
action find
entity Q4863401
relation P17
type Q15617994
[ANSWERS] are Memet Ali an inhabitant of or are Barreta Island located in
{'OR': [['Q6815215', 'P27', {'concept': 'Q15617994'}], ['Q4863401', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q6815215 property:P27 ?n } UNION { resource:Q4863401 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
People's Republic of China Portugal
People's Republic of China and Portugal are Memet Ali an inhabitant of or are Barreta Island located in
People's Republic of China Portugal
action filter_type
action union
action find
entity Memet Ali
relation country of citizenship
action find
entity Barreta Island
relation country
type designation for an administrative territorial entity
{'OR': [['Memet Ali', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Barreta Island', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Memet_Ali property:country_of_citizenship ?n } UNION { resource:Barreta_Island property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1011
P530
Q15617994
USER
Do Cape Verde have diplomatic associations with those ones ?
(Q1011,P530,Q148) (Q1011,P530,Q45)
action is_in
entity prev_answer
action find
entity Q1011
relation P530
['Q1011', 'P530', 'Q148'] ['Q1011', 'P530', 'Q45']
ASK WHERE { VALUES ( ?c ) { ( resource:Q148 ) ( resource:Q45 ) } . resource:Q1011 property:P530 ?c }
Cape Verde
action is_in
entity prev_answer
action find
entity Cape Verde
relation diplomatic relation
['Cape Verde', 'diplomatic relation', "People's Republic of China"] ['Cape Verde', 'diplomatic relation', 'Portugal']
ASK WHERE { VALUES ( ?c ) { ( resource:People's_Republic_of_China ) ( resource:Portugal ) } . resource:Cape_Verde property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1011,P530,Q148) (Q1011,P530,Q45)
action is_in
entity prev_answer
action find
entity Q1011
relation P530
[ANSWER]
['Q1011', 'P530', 'Q148'] ['Q1011', 'P530', 'Q45']
ASK WHERE { VALUES ( ?c ) { ( resource:Q148 ) ( resource:Q45 ) } . resource:Q1011 property:P530 ?c }
Yes
action is_in
entity prev_answer
action find
entity Cape Verde
relation diplomatic relation
['Cape Verde', 'diplomatic relation', "People's Republic of China"] ['Cape Verde', 'diplomatic relation', 'Portugal']
ASK WHERE { VALUES ( ?c ) { ( resource:People's_Republic_of_China ) ( resource:Portugal ) } . resource:Cape_Verde property:diplomatic_relation ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6815215 Q503250 Q3325299
P27
Q15617994
USER
Is Memet Ali a citizen of Maßbach and Spalford ?
(Q6815215,P27,Q503250) (Q6815215,P27,Q3325299)
action is_in
entity Q6815215
action intersection
action find_reverse
entity Q503250
relation P27
action find_reverse
entity Q3325299
relation P27
['Q6815215', 'P27', 'Q503250'] ['Q6815215', 'P27', 'Q3325299']
ASK WHERE { resource:Q6815215 property:P27 resource:Q503250 . resource:Q6815215 property:P27 resource:Q3325299 }
Memet Ali Maßbach Spalford
action is_in
entity Memet Ali
action intersection
action find_reverse
entity Maßbach
relation country of citizenship
action find_reverse
entity Spalford
relation country of citizenship
['Memet Ali', 'country of citizenship', 'Maßbach'] ['Memet Ali', 'country of citizenship', 'Spalford']
ASK WHERE { resource:Memet_Ali property:country_of_citizenship resource:Maßbach . resource:Memet_Ali property:country_of_citizenship resource:Spalford }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6815215,P27,Q503250) (Q6815215,P27,Q3325299)
action is_in
entity Q6815215
action intersection
action find_reverse
entity Q503250
relation P27
action find_reverse
entity Q3325299
relation P27
[ANSWER]
['Q6815215', 'P27', 'Q503250'] ['Q6815215', 'P27', 'Q3325299']
ASK WHERE { resource:Q6815215 property:P27 resource:Q503250 . resource:Q6815215 property:P27 resource:Q3325299 }
No
action is_in
entity Memet Ali
action intersection
action find_reverse
entity Maßbach
relation country of citizenship
action find_reverse
entity Spalford
relation country of citizenship
['Memet Ali', 'country of citizenship', 'Maßbach'] ['Memet Ali', 'country of citizenship', 'Spalford']
ASK WHERE { resource:Memet_Ali property:country_of_citizenship resource:Maßbach . resource:Memet_Ali property:country_of_citizenship resource:Spalford }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P1001
Q1292279
USER
Which political borders have jurisdiction over People's Republic of China ?
(c(Q1292279),P1001,Q148)
action filter_type
action find_reverse
entity Q148
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q148']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1292279 . ?c property:P1001 resource:Q148 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', "People's Republic of China"]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_border . ?c property:applies_to_jurisdiction resource:People's_Republic_of_China }
[]
political border
Q3088985 Q3088844 Q2629888
SYSTEM
China–Tajikistan border, China–Myanmar border, China–Russia border
Q3088665 Q1992790 Q3088985 Q17351727 Q3088844 Q376744 Q2629888 Q3089001 Q3089113 Q3089112 Q17351726 Q3089099 Q17351725 Q3088988 Q3089177 Q935227
(c(Q1292279),P1001,Q148)
action filter_type
action find_reverse
entity Q148
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over People's Republic of China
[{'concept': 'Q1292279'}, 'P1001', 'Q148']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1292279 . ?c property:P1001 resource:Q148 }
Afghanistan–China border China–India border China–Tajikistan border China–South Korea border China–Myanmar border China–Mongolia border China–Russia border Bhutan–China border China–Laos border China–Kyrgyzstan border China–Philippines border China–Kazakhstan border China–Japan border China–Vietnam border China–Nepal border China–Pakistan border
China–Tajikistan border, China–Myanmar border and China–Russia border have jurisdiction over People's Republic of China
China–Tajikistan border China–Myanmar border China–Russia border
action filter_type
action find_reverse
entity People's Republic of China
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', "People's Republic of China"]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_border . ?c property:applies_to_jurisdiction resource:People's_Republic_of_China }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3088985 Q3088844 Q2629888
P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of those political borders ?
(Q3088985,P1001,c(Q15617994)) (Q3088844,P1001,c(Q15617994)) (Q2629888,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q3088985', 'P1001', {'concept': 'Q15617994'}] ['Q3088844', 'P1001', {'concept': 'Q15617994'}] ['Q2629888', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . ?u property:P1001 ?q . VALUES ( ?u ) { ( resource:Q3088665 ) ( resource:Q1992790 ) ( resource:Q3088985 ) } }
China–Tajikistan border China–Myanmar border China–Russia border
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['China–Tajikistan border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['China–Myanmar border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['China–Russia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:applies_to_jurisdiction ?q . VALUES ( ?u ) { ( resource:Afghanistan–China_border ) ( resource:China–India_border ) ( resource:China–Tajikistan_border ) } }
[]
designation for an administrative territorial entity
Q159 Q148 Q148
SYSTEM
People's Republic of China for 2nd, 3rd, Russia for 1st
Q148 Q863 Q148 Q836 Q148 Q159
(Q3088985,P1001,c(Q15617994)) (Q3088844,P1001,c(Q15617994)) (Q2629888,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS]
['Q3088985', 'P1001', {'concept': 'Q15617994'}] ['Q3088844', 'P1001', {'concept': 'Q15617994'}] ['Q2629888', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . ?u property:P1001 ?q . VALUES ( ?u ) { ( resource:Q3088665 ) ( resource:Q1992790 ) ( resource:Q3088985 ) } }
People's Republic of China Tajikistan People's Republic of China Myanmar People's Republic of China Russia
Russia, People's Republic of China and People's Republic of China apply to jurisdiction of those political borders
Russia People's Republic of China People's Republic of China
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['China–Tajikistan border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['China–Myanmar border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['China–Russia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:applies_to_jurisdiction ?q . VALUES ( ?u ) { ( resource:Afghanistan–China_border ) ( resource:China–India_border ) ( resource:China–Tajikistan_border ) } }
[]