Simple Question (Direct)
Simple Question
Q6681449
P641
Q349
USER
What was the sport that Lorne Ferguson was a part of ?
(Q6681449,P641,c(Q349))
action filter_type
action find
entity Q6681449
relation P641
type Q349
['Q6681449', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q6681449 property:P641 ?p . ?p rdf:type ontology:Q349 }
Lorne Ferguson
action filter_type
action find
entity Lorne Ferguson
relation sport
type sport
['Lorne Ferguson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Lorne_Ferguson property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q6681449,P641,c(Q349))
action filter_type
action find
entity Q6681449
relation P641
type Q349
The sport that Lorne Ferguson was a part of was h [ANSWER]
['Q6681449', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q6681449 property:P641 ?p . ?p rdf:type ontology:Q349 }
ice hockey
The sport that Lorne Ferguson was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Lorne Ferguson
relation sport
type sport
['Lorne Ferguson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Lorne_Ferguson property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6681449
P106
Q12737077
USER
What is the profession of Lorne Ferguson ?
(Q6681449,P106,c(Q12737077))
action filter_type
action find
entity Q6681449
relation P106
type Q12737077
['Q6681449', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q6681449 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Lorne Ferguson
action filter_type
action find
entity Lorne Ferguson
relation occupation
type occupation
['Lorne Ferguson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lorne_Ferguson property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q6681449,P106,c(Q12737077))
action filter_type
action find
entity Q6681449
relation P106
type Q12737077
The profession of Lorne Ferguson is an [ANSWER]
['Q6681449', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q6681449 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
ice hockey player
The profession of Lorne Ferguson is an ice hockey player
ice hockey player
action filter_type
action find
entity Lorne Ferguson
relation occupation
type occupation
['Lorne Ferguson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lorne_Ferguson property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6681449
P21
Q290
USER
What is the sex of Lorne Ferguson ?
(Q6681449,P21,c(Q290))
action filter_type
action find
entity Q6681449
relation P21
type Q290
['Q6681449', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q6681449 property:P21 ?h }
Lorne Ferguson
action filter_type
action find
entity Lorne Ferguson
relation gender
type sex
['Lorne Ferguson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Lorne_Ferguson property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6681449,P21,c(Q290))
action filter_type
action find
entity Q6681449
relation P21
type Q290
The sex of Lorne Ferguson is the [ANSWER]
['Q6681449', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q6681449 property:P21 ?h }
male
The sex of Lorne Ferguson is the male
male
action filter_type
action find
entity Lorne Ferguson
relation gender
type sex
['Lorne Ferguson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Lorne_Ferguson property:gender ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q21083741
P21
Q502895
USER
Does Pietro Grazioli have that sex as the sex ?
(Q21083741,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21083741
relation P21
['Q21083741', 'P21', 'Q6581097']
ASK WHERE { resource:Q21083741 property:P21 resource:Q6581097 }
male Pietro Grazioli
action is_in
entity male
action find
entity Pietro Grazioli
relation gender
['Pietro Grazioli', 'gender', 'male']
ASK WHERE { resource:Pietro_Grazioli property:gender resource:male }
[]
common name
SYSTEM
YES
(Q21083741,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21083741
relation P21
[ANSWER]
['Q21083741', 'P21', 'Q6581097']
ASK WHERE { resource:Q21083741 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Pietro Grazioli
relation gender
['Pietro Grazioli', 'gender', 'male']
ASK WHERE { resource:Pietro_Grazioli property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6681449 Q4410414 Q16
P27
Q1048835
USER
Is Lorne Ferguson a native of Svitle and Canada ?
(Q6681449,P27,Q4410414) (Q6681449,P27,Q16)
action is_in
entity Q6681449
action intersection
action find_reverse
entity Q4410414
relation P27
action find_reverse
entity Q16
relation P27
['Q6681449', 'P27', 'Q4410414'] ['Q6681449', 'P27', 'Q16']
ASK WHERE { resource:Q6681449 property:P27 resource:Q4410414 . resource:Q6681449 property:P27 resource:Q16 }
Lorne Ferguson Svitle Canada
action is_in
entity Lorne Ferguson
action intersection
action find_reverse
entity Svitle
relation country of citizenship
action find_reverse
entity Canada
relation country of citizenship
['Lorne Ferguson', 'country of citizenship', 'Svitle'] ['Lorne Ferguson', 'country of citizenship', 'Canada']
ASK WHERE { resource:Lorne_Ferguson property:country_of_citizenship resource:Svitle . resource:Lorne_Ferguson property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q6681449,P27,Q4410414) (Q6681449,P27,Q16)
action is_in
entity Q6681449
action intersection
action find_reverse
entity Q4410414
relation P27
action find_reverse
entity Q16
relation P27
[ANSWER]
['Q6681449', 'P27', 'Q4410414'] ['Q6681449', 'P27', 'Q16']
ASK WHERE { resource:Q6681449 property:P27 resource:Q4410414 . resource:Q6681449 property:P27 resource:Q16 }
NO and YES respectively
action is_in
entity Lorne Ferguson
action intersection
action find_reverse
entity Svitle
relation country of citizenship
action find_reverse
entity Canada
relation country of citizenship
['Lorne Ferguson', 'country of citizenship', 'Svitle'] ['Lorne Ferguson', 'country of citizenship', 'Canada']
ASK WHERE { resource:Lorne_Ferguson property:country_of_citizenship resource:Svitle . resource:Lorne_Ferguson property:country_of_citizenship resource:Canada }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19613426 Q16
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and do Ömer Kahraman belong to ?
AND((Q16,P530,c(Q15617994)), (Q19613426,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q19613426
relation P27
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q19613426', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q16 property:P530 ?t . resource:Q19613426 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Ömer Kahraman Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Ömer Kahraman
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ömer Kahraman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Canada property:diplomatic_relation ?t . resource:Ömer_Kahraman property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
AND((Q16,P530,c(Q15617994)), (Q19613426,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q19613426
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Canada and do Ömer Kahraman belong to
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q19613426', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q16 property:P530 ?t . resource:Q19613426 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Turkey
Turkey have diplomatic relationships with Canada and do Ömer Kahraman belong to
Turkey
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Ömer Kahraman
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ömer Kahraman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Canada property:diplomatic_relation ?t . resource:Ömer_Kahraman property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43 Q7273800
P27
Q502895
USER
Is R. L. Osborn a native of that administrative territory ?
(Q7273800,P27,Q43)
action is_in
entity Q7273800
action find
entity Q43
relation P27
['Q7273800', 'P27', 'Q43']
ASK WHERE { resource:Q43 property:P27 resource:Q7273800 }
Turkey R. L. Osborn
action is_in
entity R. L. Osborn
action find
entity Turkey
relation country of citizenship
['R. L. Osborn', 'country of citizenship', 'Turkey']
ASK WHERE { resource:Turkey property:country_of_citizenship resource:R._L._Osborn }
[]
common name
SYSTEM
NO
(Q7273800,P27,Q43)
action is_in
entity Q7273800
action find
entity Q43
relation P27
[ANSWER]
['Q7273800', 'P27', 'Q43']
ASK WHERE { resource:Q43 property:P27 resource:Q7273800 }
No
action is_in
entity R. L. Osborn
action find
entity Turkey
relation country of citizenship
['R. L. Osborn', 'country of citizenship', 'Turkey']
ASK WHERE { resource:Turkey property:country_of_citizenship resource:R._L._Osborn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P1532
Q1194951
USER
Whose national sports team is Turkey ?
(c(Q1194951),P1532,Q43)
action filter_type
action find_reverse
entity Q43
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q43']
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q43 . ?q rdf:type ontology:Q1194951 }
Turkey
action filter_type
action find_reverse
entity Turkey
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:Turkey . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q483856
SYSTEM
Turkey national football team
Q483856
(c(Q1194951),P1532,Q43)
action filter_type
action find_reverse
entity Q43
relation P1532
type Q1194951
[ANSWER] is Turkey
[{'concept': 'Q1194951'}, 'P1532', 'Q43']
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q43 . ?q rdf:type ontology:Q1194951 }
Turkey national football team
Turkey national football team is Turkey
Turkey national football team
action filter_type
action find_reverse
entity Turkey
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:Turkey . ?q rdf:type ontology:national_sports_team }
[]