Simple Question (Direct)
Simple Question
Q6196769
P1344
Q16510064
USER
What did Jim McCourt participate in ?
(Q6196769,P1344,c(Q16510064))
action filter_type
action find
entity Q6196769
relation P1344
type Q16510064
['Q6196769', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?x WHERE { resource:Q6196769 property:P1344 ?x . ?x rdf:type ontology:Q16510064 }
Jim McCourt
action filter_type
action find
entity Jim McCourt
relation participant of
type sporting event
['Jim McCourt', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?x WHERE { resource:Jim_McCourt property:participant_of ?x . ?x rdf:type ontology:sporting_event }
[]
sporting event
Q4951818
SYSTEM
Boxing at the 1964 Summer Olympics – Lightweight
Q4951818
(Q6196769,P1344,c(Q16510064))
action filter_type
action find
entity Q6196769
relation P1344
type Q16510064
[ANSWER]
['Q6196769', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?x WHERE { resource:Q6196769 property:P1344 ?x . ?x rdf:type ontology:Q16510064 }
Boxing at the 1964 Summer Olympics – Lightweight
Boxing at the 1964 Summer Olympics – Lightweight
action filter_type
action find
entity Jim McCourt
relation participant of
type sporting event
['Jim McCourt', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?x WHERE { resource:Jim_McCourt property:participant_of ?x . ?x rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6196769
P106
Q12737077
USER
What does Jim McCourt do for a living ?
(Q6196769,P106,c(Q12737077))
action filter_type
action find
entity Q6196769
relation P106
type Q12737077
['Q6196769', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6196769 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Jim McCourt
action filter_type
action find
entity Jim McCourt
relation occupation
type occupation
['Jim McCourt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jim_McCourt property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q11338576
SYSTEM
boxer
Q11338576
(Q6196769,P106,c(Q12737077))
action filter_type
action find
entity Q6196769
relation P106
type Q12737077
[ANSWER]
['Q6196769', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6196769 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
boxer
boxer
action filter_type
action find
entity Jim McCourt
relation occupation
type occupation
['Jim McCourt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jim_McCourt property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11338576
P425
Q349
USER
Which sport has that one as thier associated field of occupation ?
(Q11338576,P425,c(Q349))
action filter_type
action find
entity Q11338576
relation P425
type Q349
['Q11338576', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q11338576 property:P425 ?x }
boxer
action filter_type
action find
entity boxer
relation field of this occupation
type sport
['boxer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:boxer property:field_of_this_occupation ?x }
[]
sport
Q32112
SYSTEM
boxing
Q32112
(Q11338576,P425,c(Q349))
action filter_type
action find
entity Q11338576
relation P425
type Q349
[ANSWER]
['Q11338576', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q11338576 property:P425 ?x }
boxing
boxing
action filter_type
action find
entity boxer
relation field of this occupation
type sport
['boxer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:boxer property:field_of_this_occupation ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3665646
Q349
USER
And also tell me about basketball player?
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q3665646 property:P425 ?y . ?y rdf:type ontology:Q349 }
basketball player
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:basketball_player property:field_of_this_occupation ?y . ?y rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
[ANSWER]
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q3665646 property:P425 ?y . ?y rdf:type ontology:Q349 }
basketball
basketball
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:basketball_player property:field_of_this_occupation ?y . ?y rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5372 Q2021459
P641
Q502895
USER
Does Mwadi Mabika play that sport ?
(Q2021459,P641,Q5372)
action is_in
entity Q5372
action find
entity Q2021459
relation P641
['Q2021459', 'P641', 'Q5372']
ASK WHERE { resource:Q2021459 property:P641 resource:Q5372 }
basketball Mwadi Mabika
action is_in
entity basketball
action find
entity Mwadi Mabika
relation sport
['Mwadi Mabika', 'sport', 'basketball']
ASK WHERE { resource:Mwadi_Mabika property:sport resource:basketball }
[]
common name
SYSTEM
YES
(Q2021459,P641,Q5372)
action is_in
entity Q5372
action find
entity Q2021459
relation P641
[ANSWER]
['Q2021459', 'P641', 'Q5372']
ASK WHERE { resource:Q2021459 property:P641 resource:Q5372 }
Yes
action is_in
entity basketball
action find
entity Mwadi Mabika
relation sport
['Mwadi Mabika', 'sport', 'basketball']
ASK WHERE { resource:Mwadi_Mabika property:sport resource:basketball }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5372
P452
Q12737077
USER
Who is associated with the industry that sport ?
action filter_type
action find_reverse
entity Q5372
relation P452
type Q12737077
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5372 . ?u rdf:type ontology:Q12737077 }
basketball
action filter_type
action find_reverse
entity basketball
relation industry
type occupation
SELECT DISTINCT ?u WHERE { ?u property:industry resource:basketball . ?u rdf:type ontology:occupation }
[]
occupation
Q5532366
SYSTEM
general manager
Q5532366
action filter_type
action find_reverse
entity Q5372
relation P452
type Q12737077
[ANSWER]
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5372 . ?u rdf:type ontology:Q12737077 }
general manager
general manager
action filter_type
action find_reverse
entity basketball
relation industry
type occupation
SELECT DISTINCT ?u WHERE { ?u property:industry resource:basketball . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5532366
P39
Q502895
USER
Which people held the position of that occupation ?
(c(Q502895),P39,Q5532366)
action filter_type
action find_reverse
entity Q5532366
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q5532366']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q5532366 . ?f rdf:type ontology:Q502895 }
general manager
action filter_type
action find_reverse
entity general manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'general manager']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:general_manager . ?f rdf:type ontology:common_name }
[]
common name
Q4910921 Q6250160
SYSTEM
Bill Smith, John Nash
Q4910921 Q6250160
(c(Q502895),P39,Q5532366)
action filter_type
action find_reverse
entity Q5532366
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q5532366']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q5532366 . ?f rdf:type ontology:Q502895 }
Bill Smith John Nash
Bill Smith John Nash
action filter_type
action find_reverse
entity general manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'general manager']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:general_manager . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4910921 Q6250160
P21
Q290
USER
Which sexes do Bill Smith and John Nash have ?
(Q4910921,P21,c(Q290)) (Q6250160,P21,c(Q290))
action union
action filter_type
action find
entity Q4910921
relation P21
type Q290
action filter_type
action find
entity Q6250160
relation P21
type Q290
['Q4910921', 'P21', {'concept': 'Q290'}] ['Q6250160', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q290 . resource:Q4910921 property:P21 ?i } UNION { resource:Q6250160 property:P21 ?i . ?i rdf:type ontology:Q290 } }
Bill Smith John Nash
action union
action filter_type
action find
entity Bill Smith
relation gender
type sex
action filter_type
action find
entity John Nash
relation gender
type sex
['Bill Smith', 'gender', {'concept': 'sex'}] ['John Nash', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:sex . resource:Bill_Smith property:gender ?i } UNION { resource:John_Nash property:gender ?i . ?i rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q4910921,P21,c(Q290)) (Q6250160,P21,c(Q290))
action union
action filter_type
action find
entity Q4910921
relation P21
type Q290
action filter_type
action find
entity Q6250160
relation P21
type Q290
[ANSWER]
['Q4910921', 'P21', {'concept': 'Q290'}] ['Q6250160', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q290 . resource:Q4910921 property:P21 ?i } UNION { resource:Q6250160 property:P21 ?i . ?i rdf:type ontology:Q290 } }
male male
male male
action union
action filter_type
action find
entity Bill Smith
relation gender
type sex
action filter_type
action find
entity John Nash
relation gender
type sex
['Bill Smith', 'gender', {'concept': 'sex'}] ['John Nash', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:sex . resource:Bill_Smith property:gender ?i } UNION { resource:John_Nash property:gender ?i . ?i rdf:type ontology:sex } }
[]