Simple Question (Direct)
Simple Question
Q1606924
P54
Q12973014
USER
Which sports teams are Shawn Redhage a member of ?
(Q1606924,P54,c(Q12973014))
action filter_type
action find
entity Q1606924
relation P54
type Q12973014
['Q1606924', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12973014 . resource:Q1606924 property:P54 ?o }
Shawn Redhage
action filter_type
action find
entity Shawn Redhage
relation member of sports team
type sports team
['Shawn Redhage', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sports_team . resource:Shawn_Redhage property:member_of_sports_team ?o }
[]
sports team
Q2756389 Q2701383 Q3905590
SYSTEM
Perth Wildcats, New Zealand Breakers, Piratas de Quebradillas
Q2701383 Q2756389 Q3905590 Q1748554
(Q1606924,P54,c(Q12973014))
action filter_type
action find
entity Q1606924
relation P54
type Q12973014
The [ANSWERS] are Shawn Redhage a member of
['Q1606924', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12973014 . resource:Q1606924 property:P54 ?o }
New Zealand Breakers Perth Wildcats Piratas de Quebradillas Criollos de Caguas
The Perth Wildcats, New Zealand Breakers and Piratas de Quebradillas are Shawn Redhage a member of
Perth Wildcats New Zealand Breakers Piratas de Quebradillas
action filter_type
action find
entity Shawn Redhage
relation member of sports team
type sports team
['Shawn Redhage', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sports_team . resource:Shawn_Redhage property:member_of_sports_team ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2756389
P17
Q1048835
USER
Which political territory is that sports team a part of ?
(Q2756389,P17,c(Q1048835))
action filter_type
action find
entity Q2756389
relation P17
type Q1048835
['Q2756389', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q2756389 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Perth Wildcats
action filter_type
action find
entity Perth Wildcats
relation country
type political territorial entity
['Perth Wildcats', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Perth_Wildcats property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q3905590
SYSTEM
Did you mean Piratas de Quebradillas ?
Q2756389 Q2701383 Q3905590
(Q2756389,P17,c(Q1048835)) (Q2701383,P17,c(Q1048835)) (Q3905590,P17,c(Q1048835))
[ANSWER]
['Q2756389', 'P17', {'concept': 'Q1048835'}] ['Q2701383', 'P17', {'concept': 'Q1048835'}] ['Q3905590', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q2756389 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Perth Wildcats New Zealand Breakers Piratas de Quebradillas
Did you mean Piratas de Quebradillas ?
Piratas de Quebradillas
['Perth Wildcats', 'country', {'concept': 'political territorial entity'}] ['New Zealand Breakers', 'country', {'concept': 'political territorial entity'}] ['Piratas de Quebradillas', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Perth_Wildcats property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Perth Wildcats. Could you tell me the answer for that?
(Q2756389,P17,c(Q1048835))
Q2756389
['Q2756389', 'P17', {'concept': 'Q1048835'}]
['Perth Wildcats', 'country', {'concept': 'political territorial entity'}]
[]
Q408
SYSTEM
Australia
Q408
(Q2756389,P17,c(Q1048835))
action filter_type
action find
entity Q2756389
relation P17
type Q1048835
The [ANSWER] is that sports team a part of
['Q2756389', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q2756389 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Australia
The Australia is that sports team a part of
Australia
action filter_type
action find
entity Perth Wildcats
relation country
type political territorial entity
['Perth Wildcats', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Perth_Wildcats property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q1482812
P27
Q502895
USER
Is Thomas Palmer a civilian of that political territory ?
(Q1482812,P27,Q408)
action is_in
entity Q408
action find
entity Q1482812
relation P27
['Q1482812', 'P27', 'Q408']
ASK WHERE { resource:Q1482812 property:P27 resource:Q408 }
Australia Thomas Palmer
action is_in
entity Australia
action find
entity Thomas Palmer
relation country of citizenship
['Thomas Palmer', 'country of citizenship', 'Australia']
ASK WHERE { resource:Thomas_Palmer property:country_of_citizenship resource:Australia }
[]
common name
SYSTEM
YES
(Q1482812,P27,Q408)
action is_in
entity Q408
action find
entity Q1482812
relation P27
[ANSWER]
['Q1482812', 'P27', 'Q408']
ASK WHERE { resource:Q1482812 property:P27 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Thomas Palmer
relation country of citizenship
['Thomas Palmer', 'country of citizenship', 'Australia']
ASK WHERE { resource:Thomas_Palmer property:country_of_citizenship resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P47
Q15617994
USER
Which administrative territory has a shared border with that political territory ?
action filter_type
action find
entity Q408
relation P47
type Q15617994
SELECT DISTINCT ?d WHERE { resource:Q408 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Australia
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { resource:Australia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
action filter_type
action find
entity Q408
relation P47
type Q15617994
[ANSWER] has a shared border with that political territory
SELECT DISTINCT ?d WHERE { resource:Q408 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Indonesia
Indonesia has a shared border with that political territory
Indonesia
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { resource:Australia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q252 Q26250570
P17
Q3700011
USER
Is Undulumo present in that administrative territory ?
(Q26250570,P17,Q252)
action is_in
entity Q252
action find
entity Q26250570
relation P17
['Q26250570', 'P17', 'Q252']
ASK WHERE { resource:Q26250570 property:P17 resource:Q252 }
Indonesia Undulumo
action is_in
entity Indonesia
action find
entity Undulumo
relation country
['Undulumo', 'country', 'Indonesia']
ASK WHERE { resource:Undulumo property:country resource:Indonesia }
[]
district of Indonesia
SYSTEM
YES
(Q26250570,P17,Q252)
action is_in
entity Q252
action find
entity Q26250570
relation P17
[ANSWER]
['Q26250570', 'P17', 'Q252']
ASK WHERE { resource:Q26250570 property:P17 resource:Q252 }
Yes
action is_in
entity Indonesia
action find
entity Undulumo
relation country
['Undulumo', 'country', 'Indonesia']
ASK WHERE { resource:Undulumo property:country resource:Indonesia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1606924 Q2485101 Q408
P27
Q1048835
USER
Is Shawn Redhage a citizen of County of Chiny and Australia ?
(Q1606924,P27,Q2485101) (Q1606924,P27,Q408)
action is_in
entity Q1606924
action intersection
action find_reverse
entity Q2485101
relation P27
action find_reverse
entity Q408
relation P27
['Q1606924', 'P27', 'Q2485101'] ['Q1606924', 'P27', 'Q408']
ASK WHERE { resource:Q1606924 property:P27 resource:Q2485101 . resource:Q1606924 property:P27 resource:Q408 }
Shawn Redhage County of Chiny Australia
action is_in
entity Shawn Redhage
action intersection
action find_reverse
entity County of Chiny
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Shawn Redhage', 'country of citizenship', 'County of Chiny'] ['Shawn Redhage', 'country of citizenship', 'Australia']
ASK WHERE { resource:Shawn_Redhage property:country_of_citizenship resource:County_of_Chiny . resource:Shawn_Redhage property:country_of_citizenship resource:Australia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q1606924,P27,Q2485101) (Q1606924,P27,Q408)
action is_in
entity Q1606924
action intersection
action find_reverse
entity Q2485101
relation P27
action find_reverse
entity Q408
relation P27
[ANSWER]
['Q1606924', 'P27', 'Q2485101'] ['Q1606924', 'P27', 'Q408']
ASK WHERE { resource:Q1606924 property:P27 resource:Q2485101 . resource:Q1606924 property:P27 resource:Q408 }
NO and YES respectively
action is_in
entity Shawn Redhage
action intersection
action find_reverse
entity County of Chiny
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Shawn Redhage', 'country of citizenship', 'County of Chiny'] ['Shawn Redhage', 'country of citizenship', 'Australia']
ASK WHERE { resource:Shawn_Redhage property:country_of_citizenship resource:County_of_Chiny . resource:Shawn_Redhage property:country_of_citizenship resource:Australia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1738960 Q1606924
P27
Q15617994
USER
Which administrative territories do Shawn Redhage or Kenny Davis belong to ?
OR((Q1606924,P27,c(Q15617994)), (Q1738960,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1606924
relation P27
action find
entity Q1738960
relation P27
type Q15617994
{'OR': [['Q1606924', 'P27', {'concept': 'Q15617994'}], ['Q1738960', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?c property:P27 ?m . VALUES ( ?c ) { ( resource:Q1606924 ) ( resource:Q1738960 ) } } . ?m rdf:type ontology:Q15617994 }
Kenny Davis Shawn Redhage
action filter_type
action union
action find
entity Shawn Redhage
relation country of citizenship
action find
entity Kenny Davis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shawn Redhage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kenny Davis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?c property:country_of_citizenship ?m . VALUES ( ?c ) { ( resource:Shawn_Redhage ) ( resource:Kenny_Davis ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q1606924,P27,c(Q15617994)), (Q1738960,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1606924
relation P27
action find
entity Q1738960
relation P27
type Q15617994
Shawn Redhage or Kenny Davis belong to the [ANSWER]
{'OR': [['Q1606924', 'P27', {'concept': 'Q15617994'}], ['Q1738960', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?c property:P27 ?m . VALUES ( ?c ) { ( resource:Q1606924 ) ( resource:Q1738960 ) } } . ?m rdf:type ontology:Q15617994 }
United States of America
Shawn Redhage or Kenny Davis belong to the United States of America
United States of America
action filter_type
action union
action find
entity Shawn Redhage
relation country of citizenship
action find
entity Kenny Davis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shawn Redhage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kenny Davis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?c property:country_of_citizenship ?m . VALUES ( ?c ) { ( resource:Shawn_Redhage ) ( resource:Kenny_Davis ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1738960
P21
Q290
USER
Which sex does Kenny Davis have ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q1738960
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1738960 property:P21 ?x . ?x rdf:type ontology:Q290 }
Kenny Davis
action filter_type
action find
entity Kenny Davis
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Kenny_Davis property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q1738960
relation P21
type Q290
Kenny Davis has a [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1738960 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Kenny Davis has a male
male
action filter_type
action find
entity Kenny Davis
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Kenny_Davis property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1482734 Q2485101
P1376
Q20667921
USER
Which french administrative divisions are the capital of County of Chiny or canton of Saint-Étienne-Nord-Ouest-1 ?
OR((c(Q20667921),P1376,Q2485101), (c(Q20667921),P1376,Q1482734))
action filter_type
action union
action find_reverse
entity Q2485101
relation P1376
action find_reverse
entity Q1482734
relation P1376
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P1376', 'Q2485101'], [{'concept': 'Q20667921'}, 'P1376', 'Q1482734']]}
SELECT DISTINCT ?z WHERE { { ?z property:P1376 ?s . VALUES ( ?s ) { ( resource:Q1482734 ) ( resource:Q2485101 ) } } . ?z rdf:type ontology:Q20667921 }
canton of Saint-Étienne-Nord-Ouest-1 County of Chiny
action filter_type
action union
action find_reverse
entity County of Chiny
relation capital of
action find_reverse
entity canton of Saint-Étienne-Nord-Ouest-1
relation capital of
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'capital of', 'County of Chiny'], [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Étienne-Nord-Ouest-1']]}
SELECT DISTINCT ?z WHERE { { ?z property:capital_of ?s . VALUES ( ?s ) { ( resource:canton_of_Saint-Étienne-Nord-Ouest-1 ) ( resource:County_of_Chiny ) } } . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q229792 Q42716
SYSTEM
Montmédy, Saint-Étienne
Q229792 Q42716
OR((c(Q20667921),P1376,Q2485101), (c(Q20667921),P1376,Q1482734))
action filter_type
action union
action find_reverse
entity Q2485101
relation P1376
action find_reverse
entity Q1482734
relation P1376
type Q20667921
[ANSWERS] are the capital of County of Chiny or canton of Saint-Étienne-Nord-Ouest-1
{'OR': [[{'concept': 'Q20667921'}, 'P1376', 'Q2485101'], [{'concept': 'Q20667921'}, 'P1376', 'Q1482734']]}
SELECT DISTINCT ?z WHERE { { ?z property:P1376 ?s . VALUES ( ?s ) { ( resource:Q1482734 ) ( resource:Q2485101 ) } } . ?z rdf:type ontology:Q20667921 }
Montmédy Saint-Étienne
Montmédy and Saint-Étienne are the capital of County of Chiny or canton of Saint-Étienne-Nord-Ouest-1
Montmédy Saint-Étienne
action filter_type
action union
action find_reverse
entity County of Chiny
relation capital of
action find_reverse
entity canton of Saint-Étienne-Nord-Ouest-1
relation capital of
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'capital of', 'County of Chiny'], [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Étienne-Nord-Ouest-1']]}
SELECT DISTINCT ?z WHERE { { ?z property:capital_of ?s . VALUES ( ?s ) { ( resource:canton_of_Saint-Étienne-Nord-Ouest-1 ) ( resource:County_of_Chiny ) } } . ?z rdf:type ontology:type_of_french_administrative_division }
[]