Simple Question (Direct)
Simple Question
Q7176905
P641
Q349
USER
Which sport did Peter Shevlin participate in ?
(Q7176905,P641,c(Q349))
action filter_type
action find
entity Q7176905
relation P641
type Q349
['Q7176905', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q7176905 property:P641 ?x . ?x rdf:type ontology:Q349 }
Peter Shevlin
action filter_type
action find
entity Peter Shevlin
relation sport
type sport
['Peter Shevlin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Peter_Shevlin property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7176905,P641,c(Q349))
action filter_type
action find
entity Q7176905
relation P641
type Q349
Peter Shevlin participated in [ANSWER]
['Q7176905', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q7176905 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
Peter Shevlin participated in association football
association football
action filter_type
action find
entity Peter Shevlin
relation sport
type sport
['Peter Shevlin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Peter_Shevlin property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7176905
P106
Q12737077
USER
What is the job of Peter Shevlin ?
(Q7176905,P106,c(Q12737077))
action filter_type
action find
entity Q7176905
relation P106
type Q12737077
['Q7176905', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7176905 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Peter Shevlin
action filter_type
action find
entity Peter Shevlin
relation occupation
type occupation
['Peter Shevlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Shevlin property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7176905,P106,c(Q12737077))
action filter_type
action find
entity Q7176905
relation P106
type Q12737077
The job of Peter Shevlin is an [ANSWER]
['Q7176905', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7176905 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The job of Peter Shevlin is an association football player
association football player
action filter_type
action find
entity Peter Shevlin
relation occupation
type occupation
['Peter Shevlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Shevlin property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5236950
Q12737077
USER
And what about David Moir Nelson?
(Q5236950,P106,c(Q12737077))
action filter_type
action find
entity Q5236950
relation P106
type Q12737077
['Q5236950', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q5236950 property:P106 ?p }
David Moir Nelson
action filter_type
action find
entity David Moir Nelson
relation occupation
type occupation
['David Moir Nelson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:David_Moir_Nelson property:occupation ?p }
[]
occupation
Q19204627 Q189290
SYSTEM
American football player, officer
Q19204627 Q189290
(Q5236950,P106,c(Q12737077))
action filter_type
action find
entity Q5236950
relation P106
type Q12737077
[ANSWERS]
['Q5236950', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q5236950 property:P106 ?p }
American football player officer
American football player officer
action filter_type
action find
entity David Moir Nelson
relation occupation
type occupation
['David Moir Nelson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:David_Moir_Nelson property:occupation ?p }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2724552
P106
Q502895
USER
Do Jack Lummus have career as those occupations ?
(Q2724552,P106,Q19204627) (Q2724552,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q2724552
relation P106
['Q2724552', 'P106', 'Q19204627'] ['Q2724552', 'P106', 'Q189290']
ASK WHERE { resource:Q2724552 property:P106 ?c . VALUES ( ?c ) { ( resource:Q19204627 ) ( resource:Q189290 ) } }
Jack Lummus
action is_in
entity prev_answer
action find
entity Jack Lummus
relation occupation
['Jack Lummus', 'occupation', 'American football player'] ['Jack Lummus', 'occupation', 'officer']
ASK WHERE { resource:Jack_Lummus property:occupation ?c . VALUES ( ?c ) { ( resource:American_football_player ) ( resource:officer ) } }
[]
common name
SYSTEM
YES
(Q2724552,P106,Q19204627) (Q2724552,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q2724552
relation P106
[ANSWER]
['Q2724552', 'P106', 'Q19204627'] ['Q2724552', 'P106', 'Q189290']
ASK WHERE { resource:Q2724552 property:P106 ?c . VALUES ( ?c ) { ( resource:Q19204627 ) ( resource:Q189290 ) } }
Yes
action is_in
entity prev_answer
action find
entity Jack Lummus
relation occupation
['Jack Lummus', 'occupation', 'American football player'] ['Jack Lummus', 'occupation', 'officer']
ASK WHERE { resource:Jack_Lummus property:occupation ?c . VALUES ( ?c ) { ( resource:American_football_player ) ( resource:officer ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3091157 Q2724552
P607
Q198
USER
Which wars did Jack Lummus and Royal Scots Fusiliers take part in ?
AND((Q2724552,P607,c(Q198)), (Q3091157,P607,c(Q198)))
action filter_type
action intersection
action find
entity Q2724552
relation P607
action find
entity Q3091157
relation P607
type Q198
{'AND': [['Q2724552', 'P607', {'concept': 'Q198'}], ['Q3091157', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?b WHERE { resource:Q2724552 property:P607 ?b . resource:Q3091157 property:P607 ?b . ?b rdf:type ontology:Q198 }
Royal Scots Fusiliers Jack Lummus
action filter_type
action intersection
action find
entity Jack Lummus
relation conflict
action find
entity Royal Scots Fusiliers
relation conflict
type war
{'AND': [['Jack Lummus', 'conflict', {'concept': 'war'}], ['Royal Scots Fusiliers', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?b WHERE { resource:Jack_Lummus property:conflict ?b . resource:Royal_Scots_Fusiliers property:conflict ?b . ?b rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
AND((Q2724552,P607,c(Q198)), (Q3091157,P607,c(Q198)))
action filter_type
action intersection
action find
entity Q2724552
relation P607
action find
entity Q3091157
relation P607
type Q198
Jack Lummus and Royal Scots Fusiliers took part in [ANSWER]
{'AND': [['Q2724552', 'P607', {'concept': 'Q198'}], ['Q3091157', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?b WHERE { resource:Q2724552 property:P607 ?b . resource:Q3091157 property:P607 ?b . ?b rdf:type ontology:Q198 }
World War II
Jack Lummus and Royal Scots Fusiliers took part in World War II
World War II
action filter_type
action intersection
action find
entity Jack Lummus
relation conflict
action find
entity Royal Scots Fusiliers
relation conflict
type war
{'AND': [['Jack Lummus', 'conflict', {'concept': 'war'}], ['Royal Scots Fusiliers', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?b WHERE { resource:Jack_Lummus property:conflict ?b . resource:Royal_Scots_Fusiliers property:conflict ?b . ?b rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5394310 Q7176905
P27
Q15617994
USER
Which administrative territories do Peter Shevlin or Ernfrid Rydberg belong to ?
OR((Q7176905,P27,c(Q15617994)), (Q5394310,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7176905
relation P27
action find
entity Q5394310
relation P27
type Q15617994
{'OR': [['Q7176905', 'P27', {'concept': 'Q15617994'}], ['Q5394310', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?n property:P27 ?m . VALUES ( ?n ) { ( resource:Q7176905 ) ( resource:Q5394310 ) } } . ?m rdf:type ontology:Q15617994 }
Ernfrid Rydberg Peter Shevlin
action filter_type
action union
action find
entity Peter Shevlin
relation country of citizenship
action find
entity Ernfrid Rydberg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peter Shevlin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ernfrid Rydberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?n property:country_of_citizenship ?m . VALUES ( ?n ) { ( resource:Peter_Shevlin ) ( resource:Ernfrid_Rydberg ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q34
SYSTEM
United Kingdom, Sweden
Q145 Q34
OR((Q7176905,P27,c(Q15617994)), (Q5394310,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7176905
relation P27
action find
entity Q5394310
relation P27
type Q15617994
Peter Shevlin or Ernfrid Rydberg belong to the [ANSWERS]
{'OR': [['Q7176905', 'P27', {'concept': 'Q15617994'}], ['Q5394310', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?n property:P27 ?m . VALUES ( ?n ) { ( resource:Q7176905 ) ( resource:Q5394310 ) } } . ?m rdf:type ontology:Q15617994 }
United Kingdom Sweden
Peter Shevlin or Ernfrid Rydberg belong to the United Kingdom and Sweden
United Kingdom Sweden
action filter_type
action union
action find
entity Peter Shevlin
relation country of citizenship
action find
entity Ernfrid Rydberg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peter Shevlin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ernfrid Rydberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?n property:country_of_citizenship ?m . VALUES ( ?n ) { ( resource:Peter_Shevlin ) ( resource:Ernfrid_Rydberg ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q145 Q34
P463
Q43229
USER
What were those administrative territories a member of ?
(Q145,P463,c(Q43229)) (Q34,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q145', 'P463', {'concept': 'Q43229'}] ['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?v property:P463 ?j . VALUES ( ?v ) { ( resource:Q145 ) ( resource:Q34 ) } . ?j rdf:type ontology:Q43229 }
United Kingdom Sweden
action filter_type
action find
entity prev_answer
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}] ['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?v property:member_of ?j . VALUES ( ?v ) { ( resource:United_Kingdom ) ( resource:Sweden ) } . ?j rdf:type ontology:organization }
[]
organization
Q151991 Q151991 Q7825
SYSTEM
European Southern Observatory for 1st, 2nd, World Trade Organization for 3rd
Q340195 Q191384 Q3772571 Q899770 Q7825 Q41550 Q656801 Q151991 Q827525 Q340195 Q899770 Q41550 Q656801 Q151991 Q191384 Q7825 Q827525
(Q145,P463,c(Q43229)) (Q34,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q145', 'P463', {'concept': 'Q43229'}] ['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?v property:P463 ?j . VALUES ( ?v ) { ( resource:Q145 ) ( resource:Q34 ) } . ?j rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development Caribbean Development Bank International Centre for Settlement of Investment Disputes World Trade Organization Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory International Development Association African Development Bank International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory International Bank for Reconstruction and Development World Trade Organization International Development Association
Those administrative territories a member of were the European Southern Observatory, European Southern Observatory and World Trade Organization
European Southern Observatory European Southern Observatory World Trade Organization
action filter_type
action find
entity prev_answer
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}] ['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?v property:member_of ?j . VALUES ( ?v ) { ( resource:United_Kingdom ) ( resource:Sweden ) } . ?j rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P710
Q180684
USER
What event did United Kingdom particiate in ?
(c(Q180684),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q145']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q145 . ?h rdf:type ontology:Q180684 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:United_Kingdom . ?h rdf:type ontology:conflict }
[]
conflict
Q911972 Q15264166 Q3354882
SYSTEM
Dunkirk evacuation, Operation Mascot, Operation Tungsten
Q4065201 Q10432014 Q2225555 Q15264166 Q3354882 Q911972
(c(Q180684),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q180684
United Kingdom particiated in [ANSWERS]
[{'concept': 'Q180684'}, 'P710', 'Q145']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q145 . ?h rdf:type ontology:Q180684 }
Tientsin incident Bodø affair Operation Basalt Operation Mascot Operation Tungsten Dunkirk evacuation
United Kingdom particiated in Dunkirk evacuation, Operation Mascot and Operation Tungsten
Dunkirk evacuation Operation Mascot Operation Tungsten
action filter_type
action find_reverse
entity United Kingdom
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:United_Kingdom . ?h rdf:type ontology:conflict }
[]