Simple Question (Direct)
Simple Question
Q5596374
P106
Q12737077
USER
What does Grant Needham do for a living ?
(Q5596374,P106,c(Q12737077))
action filter_type
action find
entity Q5596374
relation P106
type Q12737077
['Q5596374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q5596374 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Grant Needham
action filter_type
action find
entity Grant Needham
relation occupation
type occupation
['Grant Needham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Grant_Needham property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5596374,P106,c(Q12737077))
action filter_type
action find
entity Q5596374
relation P106
type Q12737077
Grant Needham does an [ANSWER] for a living
['Q5596374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q5596374 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
Grant Needham does an association football player for a living
association football player
action filter_type
action find
entity Grant Needham
relation occupation
type occupation
['Grant Needham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Grant_Needham property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5596374
P27
Q1048835
USER
Which political territory does Grant Needham belong to ?
(Q5596374,P27,c(Q1048835))
action filter_type
action find
entity Q5596374
relation P27
type Q1048835
['Q5596374', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q5596374 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Grant Needham
action filter_type
action find
entity Grant Needham
relation country of citizenship
type political territorial entity
['Grant Needham', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Grant_Needham property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q5596374,P27,c(Q1048835))
action filter_type
action find
entity Q5596374
relation P27
type Q1048835
Grant Needham belongs to [ANSWER]
['Q5596374', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q5596374 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Canada
Grant Needham belongs to Canada
Canada
action filter_type
action find
entity Grant Needham
relation country of citizenship
type political territorial entity
['Grant Needham', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Grant_Needham property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5596374
P641
Q349
USER
Which sport was that person a part of ?
(Q16,P641,c(Q349))
action filter_type
action find
entity Q5596374
relation P641
type Q349
['Q16', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q5596374 property:P641 ?h }
Grant Needham
action filter_type
action find
entity Grant Needham
relation sport
type sport
['Canada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Grant_Needham property:sport ?h }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16,P641,c(Q349))
action filter_type
action find
entity Q5596374
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q16', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q5596374 property:P641 ?h }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Grant Needham
relation sport
type sport
['Canada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Grant_Needham property:sport ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5596374
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q5596374
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?i WHERE { resource:Q5596374 property:P54 ?i . ?i rdf:type ontology:Q1194951 }
Grant Needham
action filter_type
action find
entity Grant Needham
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?i WHERE { resource:Grant_Needham property:member_of_sports_team ?i . ?i rdf:type ontology:national_sports_team }
[]
national sports team
Q208635
SYSTEM
Canada national soccer team
Q208635
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q5596374
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?i WHERE { resource:Q5596374 property:P54 ?i . ?i rdf:type ontology:Q1194951 }
Canada national soccer team
That person a member of is the Canada national soccer team
Canada national soccer team
action filter_type
action find
entity Grant Needham
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?i WHERE { resource:Grant_Needham property:member_of_sports_team ?i . ?i rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q208635 Q33881 Q2396080
P1344
Q15275719
USER
Did that national sports team took part in Tour de France and Krimifestival „Tatort Eifel“ ?
(Q208635,P1344,Q33881) (Q208635,P1344,Q2396080)
action is_in
entity Q208635
action intersection
action find_reverse
entity Q33881
relation P1344
action find_reverse
entity Q2396080
relation P1344
['Q208635', 'P1344', 'Q33881'] ['Q208635', 'P1344', 'Q2396080']
ASK WHERE { resource:Q208635 property:P1344 resource:Q2396080 . resource:Q208635 property:P1344 resource:Q33881 }
Canada national soccer team Tour de France Krimifestival „Tatort Eifel“
action is_in
entity Canada national soccer team
action intersection
action find_reverse
entity Tour de France
relation participant of
action find_reverse
entity Krimifestival „Tatort Eifel“
relation participant of
['Canada national soccer team', 'participant of', 'Tour de France'] ['Canada national soccer team', 'participant of', 'Krimifestival „Tatort Eifel“']
ASK WHERE { resource:Canada_national_soccer_team property:participant_of resource:Krimifestival_„Tatort_Eifel“ . resource:Canada_national_soccer_team property:participant_of resource:Tour_de_France }
[]
recurring event
SYSTEM
NO
(Q208635,P1344,Q33881) (Q208635,P1344,Q2396080)
action is_in
entity Q208635
action intersection
action find_reverse
entity Q33881
relation P1344
action find_reverse
entity Q2396080
relation P1344
[ANSWER]
['Q208635', 'P1344', 'Q33881'] ['Q208635', 'P1344', 'Q2396080']
ASK WHERE { resource:Q208635 property:P1344 resource:Q2396080 . resource:Q208635 property:P1344 resource:Q33881 }
No
action is_in
entity Canada national soccer team
action intersection
action find_reverse
entity Tour de France
relation participant of
action find_reverse
entity Krimifestival „Tatort Eifel“
relation participant of
['Canada national soccer team', 'participant of', 'Tour de France'] ['Canada national soccer team', 'participant of', 'Krimifestival „Tatort Eifel“']
ASK WHERE { resource:Canada_national_soccer_team property:participant_of resource:Krimifestival_„Tatort_Eifel“ . resource:Canada_national_soccer_team property:participant_of resource:Tour_de_France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q208635
P17
Q1048835
USER
How many political territories are Canada national soccer team a part of ?
(Q208635,P17,c(Q1048835))
action count
action filter_type
action find
entity Q208635
relation P17
type Q1048835
['Q208635', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q208635 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Canada national soccer team
action count
action filter_type
action find
entity Canada national soccer team
relation country
type political territorial entity
['Canada national soccer team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Canada_national_soccer_team property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q16
(Q208635,P17,c(Q1048835))
action count
action filter_type
action find
entity Q208635
relation P17
type Q1048835
[ANSWER]
['Q208635', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q208635 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Canada
1
action count
action filter_type
action find
entity Canada national soccer team
relation country
type political territorial entity
['Canada national soccer team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Canada_national_soccer_team property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6437318
Q1048835
USER
And how about Krisa?
(Q6437318,P17,c(Q1048835))
action count
action filter_type
action find
entity Q6437318
relation P17
type Q1048835
['Q6437318', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q6437318 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Krisa
action count
action filter_type
action find
entity Krisa
relation country
type political territorial entity
['Krisa', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Krisa property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q6437318,P17,c(Q1048835))
action count
action filter_type
action find
entity Q6437318
relation P17
type Q1048835
[ANSWER]
['Q6437318', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q6437318 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Krisa
relation country
type political territorial entity
['Krisa', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Krisa property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q444705 Q5596374
P19
Q56061
USER
Which administrative territories were Grant Needham or Mary Coughlan born ?
OR((Q5596374,P19,c(Q56061)), (Q444705,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5596374
relation P19
action find
entity Q444705
relation P19
type Q56061
{'OR': [['Q5596374', 'P19', {'concept': 'Q56061'}], ['Q444705', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:P19 ?u . VALUES ( ?q ) { ( resource:Q5596374 ) ( resource:Q444705 ) } } . ?u rdf:type ontology:Q56061 }
Mary Coughlan Grant Needham
action filter_type
action union
action find
entity Grant Needham
relation place of birth
action find
entity Mary Coughlan
relation place of birth
type administrative territorial entity
{'OR': [['Grant Needham', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mary Coughlan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:place_of_birth ?u . VALUES ( ?q ) { ( resource:Grant_Needham ) ( resource:Mary_Coughlan ) } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q855330 Q24826
SYSTEM
Donegal, Liverpool
Q855330 Q24826
OR((Q5596374,P19,c(Q56061)), (Q444705,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5596374
relation P19
action find
entity Q444705
relation P19
type Q56061
Grant Needham or Mary Coughlan were born in [ANSWERS]
{'OR': [['Q5596374', 'P19', {'concept': 'Q56061'}], ['Q444705', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:P19 ?u . VALUES ( ?q ) { ( resource:Q5596374 ) ( resource:Q444705 ) } } . ?u rdf:type ontology:Q56061 }
Donegal Liverpool
Grant Needham or Mary Coughlan were born in Donegal and Liverpool
Donegal Liverpool
action filter_type
action union
action find
entity Grant Needham
relation place of birth
action find
entity Mary Coughlan
relation place of birth
type administrative territorial entity
{'OR': [['Grant Needham', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mary Coughlan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:place_of_birth ?u . VALUES ( ?q ) { ( resource:Grant_Needham ) ( resource:Mary_Coughlan ) } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7375284 Q208635
P27 P1532
Q1048835
USER
Which political territories are represented by Canada national soccer team and are Roz Bell a civilian of ?
AND((Q208635,P1532,c(Q1048835)), (Q7375284,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q208635
relation P1532
action find
entity Q7375284
relation P27
type Q1048835
{'AND': [['Q208635', 'P1532', {'concept': 'Q1048835'}], ['Q7375284', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q208635 property:P1532 ?e . resource:Q7375284 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Roz Bell Canada national soccer team
action filter_type
action intersection
action find
entity Canada national soccer team
relation country for sport
action find
entity Roz Bell
relation country of citizenship
type political territorial entity
{'AND': [['Canada national soccer team', 'country for sport', {'concept': 'political territorial entity'}], ['Roz Bell', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Canada_national_soccer_team property:country_for_sport ?e . resource:Roz_Bell property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q208635,P1532,c(Q1048835)), (Q7375284,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q208635
relation P1532
action find
entity Q7375284
relation P27
type Q1048835
[ANSWER] is represented by [ANSWER] national soccer team and is Roz Bell a civilian of
{'AND': [['Q208635', 'P1532', {'concept': 'Q1048835'}], ['Q7375284', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q208635 property:P1532 ?e . resource:Q7375284 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Canada
Canada is represented by Canada national soccer team and is Roz Bell a civilian of
Canada
action filter_type
action intersection
action find
entity Canada national soccer team
relation country for sport
action find
entity Roz Bell
relation country of citizenship
type political territorial entity
{'AND': [['Canada national soccer team', 'country for sport', {'concept': 'political territorial entity'}], ['Roz Bell', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Canada_national_soccer_team property:country_for_sport ?e . resource:Roz_Bell property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]