Simple Question (Direct)
Simple Question
Q3501527
P27
Q1048835
USER
Which political territory is Stéphan Lebeau a civilian of ?
(Q3501527,P27,c(Q1048835))
action filter_type
action find
entity Q3501527
relation P27
type Q1048835
['Q3501527', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q3501527 property:P27 ?a }
Stéphan Lebeau
action filter_type
action find
entity Stéphan Lebeau
relation country of citizenship
type political territorial entity
['Stéphan Lebeau', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Stéphan_Lebeau property:country_of_citizenship ?a }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3501527,P27,c(Q1048835))
action filter_type
action find
entity Q3501527
relation P27
type Q1048835
[ANSWER] is Stéphan Lebeau a civilian of
['Q3501527', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q3501527 property:P27 ?a }
Canada
Canada is Stéphan Lebeau a civilian of
Canada
action filter_type
action find
entity Stéphan Lebeau
relation country of citizenship
type political territorial entity
['Stéphan Lebeau', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Stéphan_Lebeau property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3501527
P641
Q349
USER
Which sport was Stéphan Lebeau a part of ?
(Q3501527,P641,c(Q349))
action filter_type
action find
entity Q3501527
relation P641
type Q349
['Q3501527', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q3501527 property:P641 ?j . ?j rdf:type ontology:Q349 }
Stéphan Lebeau
action filter_type
action find
entity Stéphan Lebeau
relation sport
type sport
['Stéphan Lebeau', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Stéphan_Lebeau property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3501527,P641,c(Q349))
action filter_type
action find
entity Q3501527
relation P641
type Q349
Was [ANSWER] was Stéphan Lebeau a part of
['Q3501527', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q3501527 property:P641 ?j . ?j rdf:type ontology:Q349 }
ice hockey
Was ice hockey was Stéphan Lebeau a part of
ice hockey
action filter_type
action find
entity Stéphan Lebeau
relation sport
type sport
['Stéphan Lebeau', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Stéphan_Lebeau property:sport ?j . ?j rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q181235
P36
Q56061
USER
How many administrative territories are the capitals of Canada or Panjshir ?
(Q16,P36,c(Q56061)) (Q181235,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q16
relation P36
type Q56061
action filter_type
action find
entity Q181235
relation P36
type Q56061
['Q16', 'P36', {'concept': 'Q56061'}] ['Q181235', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:Q56061 . resource:Q16 property:P36 ?z } UNION { ?z rdf:type ontology:Q56061 . resource:Q181235 property:P36 ?z } }
Canada Panjshir
action count
action union
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
action filter_type
action find
entity Panjshir
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}] ['Panjshir', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:administrative_territorial_entity . resource:Canada property:capital ?z } UNION { ?z rdf:type ontology:administrative_territorial_entity . resource:Panjshir property:capital ?z } }
[]
administrative territorial entity
SYSTEM
2
Q1982148 Q1930
(Q16,P36,c(Q56061)) (Q181235,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q16
relation P36
type Q56061
action filter_type
action find
entity Q181235
relation P36
type Q56061
[ANSWER]
['Q16', 'P36', {'concept': 'Q56061'}] ['Q181235', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:Q56061 . resource:Q16 property:P36 ?z } UNION { ?z rdf:type ontology:Q56061 . resource:Q181235 property:P36 ?z } }
Bazarak Ottawa
2
action count
action union
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
action filter_type
action find
entity Panjshir
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}] ['Panjshir', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z rdf:type ontology:administrative_territorial_entity . resource:Canada property:capital ?z } UNION { ?z rdf:type ontology:administrative_territorial_entity . resource:Panjshir property:capital ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P138
Q17444909
USER
Which astronomical object type has Canada as its namesake ?
(c(Q17444909),P138,Q16)
action filter_type
action find_reverse
entity Q16
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q16']
SELECT DISTINCT ?g WHERE { ?g property:P138 resource:Q16 . ?g rdf:type ontology:Q17444909 }
Canada
action filter_type
action find_reverse
entity Canada
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Canada']
SELECT DISTINCT ?g WHERE { ?g property:named_after resource:Canada . ?g rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q2709165
SYSTEM
24899 Dominiona
Q2709165
(c(Q17444909),P138,Q16)
action filter_type
action find_reverse
entity Q16
relation P138
type Q17444909
9 [ANSWER] has Canada as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q16']
SELECT DISTINCT ?g WHERE { ?g property:P138 resource:Q16 . ?g rdf:type ontology:Q17444909 }
24899 Dominiona
9 24899 Dominiona has Canada as its namesake
24899 Dominiona
action filter_type
action find_reverse
entity Canada
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Canada']
SELECT DISTINCT ?g WHERE { ?g property:named_after resource:Canada . ?g rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2709165
P61
Q502895
USER
Who was the inventor or discoverer of that astronomical object type ?
(Q2709165,P61,c(Q502895))
action filter_type
action find
entity Q2709165
relation P61
type Q502895
['Q2709165', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q2709165 property:P61 ?x }
24899 Dominiona
action filter_type
action find
entity 24899 Dominiona
relation discoverer or inventor
type common name
['24899 Dominiona', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:24899_Dominiona property:discoverer_or_inventor ?x }
[]
common name
Q1086471
SYSTEM
Christopher Aikman
Q1086471
(Q2709165,P61,c(Q502895))
action filter_type
action find
entity Q2709165
relation P61
type Q502895
The inventor or discoverer of that astronomical object type was Sir [ANSWER]
['Q2709165', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q2709165 property:P61 ?x }
Christopher Aikman
The inventor or discoverer of that astronomical object type was Sir Christopher Aikman
Christopher Aikman
action filter_type
action find
entity 24899 Dominiona
relation discoverer or inventor
type common name
['24899 Dominiona', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:24899_Dominiona property:discoverer_or_inventor ?x }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q350538 Q3501527
P54
Q12973014
USER
Which sports teams are Stéphan Lebeau and Adam Oates a member of ?
AND((Q3501527,P54,c(Q12973014)), (Q350538,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q3501527
relation P54
action find
entity Q350538
relation P54
type Q12973014
{'AND': [['Q3501527', 'P54', {'concept': 'Q12973014'}], ['Q350538', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?n WHERE { resource:Q3501527 property:P54 ?n . resource:Q350538 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Adam Oates Stéphan Lebeau
action filter_type
action intersection
action find
entity Stéphan Lebeau
relation member of sports team
action find
entity Adam Oates
relation member of sports team
type sports team
{'AND': [['Stéphan Lebeau', 'member of sports team', {'concept': 'sports team'}], ['Adam Oates', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?n WHERE { resource:Stéphan_Lebeau property:member_of_sports_team ?n . resource:Adam_Oates property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
sports team
Q192751
SYSTEM
Anaheim Ducks
Q192751
AND((Q3501527,P54,c(Q12973014)), (Q350538,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q3501527
relation P54
action find
entity Q350538
relation P54
type Q12973014
The [ANSWER] is Stéphan Lebeau and Adam Oates a member of
{'AND': [['Q3501527', 'P54', {'concept': 'Q12973014'}], ['Q350538', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?n WHERE { resource:Q3501527 property:P54 ?n . resource:Q350538 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Anaheim Ducks
The Anaheim Ducks is Stéphan Lebeau and Adam Oates a member of
Anaheim Ducks
action filter_type
action intersection
action find
entity Stéphan Lebeau
relation member of sports team
action find
entity Adam Oates
relation member of sports team
type sports team
{'AND': [['Stéphan Lebeau', 'member of sports team', {'concept': 'sports team'}], ['Adam Oates', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?n WHERE { resource:Stéphan_Lebeau property:member_of_sports_team ?n . resource:Adam_Oates property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q192751 Q6967335
P54
Q502895
USER
Is Nasrollah Mardani one of the members of that sports team ?
(Q6967335,P54,Q192751)
action is_in
entity Q6967335
action find
entity Q192751
relation P54
['Q6967335', 'P54', 'Q192751']
ASK WHERE { resource:Q192751 property:P54 resource:Q6967335 }
Anaheim Ducks Nasrollah Mardani
action is_in
entity Nasrollah Mardani
action find
entity Anaheim Ducks
relation member of sports team
['Nasrollah Mardani', 'member of sports team', 'Anaheim Ducks']
ASK WHERE { resource:Anaheim_Ducks property:member_of_sports_team resource:Nasrollah_Mardani }
[]
common name
SYSTEM
NO
(Q6967335,P54,Q192751)
action is_in
entity Q6967335
action find
entity Q192751
relation P54
[ANSWER]
['Q6967335', 'P54', 'Q192751']
ASK WHERE { resource:Q192751 property:P54 resource:Q6967335 }
No
action is_in
entity Nasrollah Mardani
action find
entity Anaheim Ducks
relation member of sports team
['Nasrollah Mardani', 'member of sports team', 'Anaheim Ducks']
ASK WHERE { resource:Anaheim_Ducks property:member_of_sports_team resource:Nasrollah_Mardani }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17279234 Q1086471
P27
Q1048835
USER
Which political territories are the native countriesof Christopher Aikman and E. J. Cole ?
AND((Q1086471,P27,c(Q1048835)), (Q17279234,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1086471
relation P27
action find
entity Q17279234
relation P27
type Q1048835
{'AND': [['Q1086471', 'P27', {'concept': 'Q1048835'}], ['Q17279234', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q17279234 property:P27 ?e . resource:Q1086471 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
E. J. Cole Christopher Aikman
action filter_type
action intersection
action find
entity Christopher Aikman
relation country of citizenship
action find
entity E. J. Cole
relation country of citizenship
type political territorial entity
{'AND': [['Christopher Aikman', 'country of citizenship', {'concept': 'political territorial entity'}], ['E. J. Cole', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:E._J._Cole property:country_of_citizenship ?e . resource:Christopher_Aikman property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q1086471,P27,c(Q1048835)), (Q17279234,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1086471
relation P27
action find
entity Q17279234
relation P27
type Q1048835
[ANSWER] is the native countriesof Christopher Aikman and E. J. Cole
{'AND': [['Q1086471', 'P27', {'concept': 'Q1048835'}], ['Q17279234', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q17279234 property:P27 ?e . resource:Q1086471 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Canada
Canada is the native countriesof Christopher Aikman and E. J. Cole
Canada
action filter_type
action intersection
action find
entity Christopher Aikman
relation country of citizenship
action find
entity E. J. Cole
relation country of citizenship
type political territorial entity
{'AND': [['Christopher Aikman', 'country of citizenship', {'concept': 'political territorial entity'}], ['E. J. Cole', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:E._J._Cole property:country_of_citizenship ?e . resource:Christopher_Aikman property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17279234
P735
Q82799
USER
What is the firstname of E. J. Cole?
(Q16,P735,c(Q82799))
action filter_type
action find
entity Q17279234
relation P735
type Q82799
['Q16', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q17279234 property:P735 ?j . ?j rdf:type ontology:Q82799 }
E. J. Cole
action filter_type
action find
entity E. J. Cole
relation given name
type name
['Canada', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:E._J._Cole property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q19803501
SYSTEM
E.
Q19803501
(Q16,P735,c(Q82799))
action filter_type
action find
entity Q17279234
relation P735
type Q82799
The firstname of [ANSWER] J. Cole is the [ANSWER]
['Q16', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q17279234 property:P735 ?j . ?j rdf:type ontology:Q82799 }
E.
The firstname of E. J. Cole is the E.
E.
action filter_type
action find
entity E. J. Cole
relation given name
type name
['Canada', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:E._J._Cole property:given_name ?j . ?j rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19803501 Q5321817
P735
Q502895
USER
Does E. Dale LeBaron have that name as forename ?
(Q5321817,P735,Q19803501)
action is_in
entity Q19803501
action find
entity Q5321817
relation P735
['Q5321817', 'P735', 'Q19803501']
ASK WHERE { resource:Q5321817 property:P735 resource:Q19803501 }
E. E. Dale LeBaron
action is_in
entity E.
action find
entity E. Dale LeBaron
relation given name
['E. Dale LeBaron', 'given name', 'E.']
ASK WHERE { resource:E._Dale_LeBaron property:given_name resource:E. }
[]
common name
SYSTEM
YES
(Q5321817,P735,Q19803501)
action is_in
entity Q19803501
action find
entity Q5321817
relation P735
[ANSWER]
['Q5321817', 'P735', 'Q19803501']
ASK WHERE { resource:Q5321817 property:P735 resource:Q19803501 }
Yes
action is_in
entity E.
action find
entity E. Dale LeBaron
relation given name
['E. Dale LeBaron', 'given name', 'E.']
ASK WHERE { resource:E._Dale_LeBaron property:given_name resource:E. }
[]