Simple Question (Direct)
Simple Question
Q7184552
P21
Q290
USER
Which sex does Philip Whitwell Wilson have ?
(Q7184552,P21,c(Q290))
action filter_type
action find
entity Q7184552
relation P21
type Q290
['Q7184552', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7184552 property:P21 ?a . ?a rdf:type ontology:Q290 }
Philip Whitwell Wilson
action filter_type
action find
entity Philip Whitwell Wilson
relation gender
type sex
['Philip Whitwell Wilson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Philip_Whitwell_Wilson property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7184552,P21,c(Q290))
action filter_type
action find
entity Q7184552
relation P21
type Q290
Philip Whitwell Wilson has a [ANSWER]
['Q7184552', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7184552 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Philip Whitwell Wilson has a male
male
action filter_type
action find
entity Philip Whitwell Wilson
relation gender
type sex
['Philip Whitwell Wilson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Philip_Whitwell_Wilson property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7184552
P734
Q82799
USER
Who has the surname Philip Whitwell Wilson ?
(Q7184552,P734,c(Q82799))
action filter_type
action find
entity Q7184552
relation P734
type Q82799
['Q7184552', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q7184552 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Philip Whitwell Wilson
action filter_type
action find
entity Philip Whitwell Wilson
relation family name
type name
['Philip Whitwell Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Philip_Whitwell_Wilson property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q7184552,P734,c(Q82799))
action filter_type
action find
entity Q7184552
relation P734
type Q82799
[ANSWER] has the surname Philip Whitwell [ANSWER]
['Q7184552', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q7184552 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Wilson
Wilson has the surname Philip Whitwell Wilson
Wilson
action filter_type
action find
entity Philip Whitwell Wilson
relation family name
type name
['Philip Whitwell Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Philip_Whitwell_Wilson property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16582137
Q82799
USER
And also tell me about Jorge Davies?
(Q16582137,P734,c(Q82799))
action filter_type
action find
entity Q16582137
relation P734
type Q82799
['Q16582137', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q16582137 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Jorge Davies
action filter_type
action find
entity Jorge Davies
relation family name
type name
['Jorge Davies', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Jorge_Davies property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q1177810
SYSTEM
Davies
Q1177810
(Q16582137,P734,c(Q82799))
action filter_type
action find
entity Q16582137
relation P734
type Q82799
[ANSWER]
['Q16582137', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q16582137 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Davies
Davies
action filter_type
action find
entity Jorge Davies
relation family name
type name
['Jorge Davies', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Jorge_Davies property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16582137
P641
Q349
USER
Which sport was that person a part of ?
(Q1177810,P641,c(Q349))
action filter_type
action find
entity Q16582137
relation P641
type Q349
['Q1177810', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q16582137 property:P641 ?i . ?i rdf:type ontology:Q349 }
Jorge Davies
action filter_type
action find
entity Jorge Davies
relation sport
type sport
['Davies', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Jorge_Davies property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1177810,P641,c(Q349))
action filter_type
action find
entity Q16582137
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q1177810', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q16582137 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Jorge Davies
relation sport
type sport
['Davies', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Jorge_Davies property:sport ?i . ?i rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17666507 Q1645480
P407
Q34770
USER
Which languages are the languages of work for Wilson or One shop defies court order ?
OR((Q1645480,P407,c(Q34770)), (Q17666507,P407,c(Q34770)))
action filter_type
action union
action find
entity Q1645480
relation P407
action find
entity Q17666507
relation P407
type Q34770
{'OR': [['Q1645480', 'P407', {'concept': 'Q34770'}], ['Q17666507', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . { { resource:Q1645480 property:P407 ?f } UNION { resource:Q17666507 property:P407 ?f } } }
One shop defies court order Wilson
action filter_type
action union
action find
entity Wilson
relation language of work or name
action find
entity One shop defies court order
relation language of work or name
type language
{'OR': [['Wilson', 'language of work or name', {'concept': 'language'}], ['One shop defies court order', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . { { resource:Wilson property:language_of_work_or_name ?f } UNION { resource:One_shop_defies_court_order property:language_of_work_or_name ?f } } }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q1645480,P407,c(Q34770)), (Q17666507,P407,c(Q34770)))
action filter_type
action union
action find
entity Q1645480
relation P407
action find
entity Q17666507
relation P407
type Q34770
[ANSWER] is the languages of work for Wilson or One shop defies court order
{'OR': [['Q1645480', 'P407', {'concept': 'Q34770'}], ['Q17666507', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . { { resource:Q1645480 property:P407 ?f } UNION { resource:Q17666507 property:P407 ?f } } }
English
English is the languages of work for Wilson or One shop defies court order
English
action filter_type
action union
action find
entity Wilson
relation language of work or name
action find
entity One shop defies court order
relation language of work or name
type language
{'OR': [['Wilson', 'language of work or name', {'concept': 'language'}], ['One shop defies court order', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . { { resource:Wilson property:language_of_work_or_name ?f } UNION { resource:One_shop_defies_court_order property:language_of_work_or_name ?f } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q10884942
P361
Q5962346
USER
Is that language a component of Type B2 submarine ?
(Q1860,P361,Q10884942)
action is_in
entity Q10884942
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q10884942']
ASK WHERE { resource:Q1860 property:P361 resource:Q10884942 }
English Type B2 submarine
action is_in
entity Type B2 submarine
action find
entity English
relation part of
['English', 'part of', 'Type B2 submarine']
ASK WHERE { resource:English property:part_of resource:Type_B2_submarine }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q10884942)
action is_in
entity Q10884942
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q10884942']
ASK WHERE { resource:Q1860 property:P361 resource:Q10884942 }
No
action is_in
entity Type B2 submarine
action find
entity English
relation part of
['English', 'part of', 'Type B2 submarine']
ASK WHERE { resource:English property:part_of resource:Type_B2_submarine }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7184552 Q145
P27
Q15617994
USER
Does Philip Whitwell Wilson belong to United Kingdom ?
(Q7184552,P27,Q145)
action is_in
entity Q145
action find
entity Q7184552
relation P27
['Q7184552', 'P27', 'Q145']
ASK WHERE { resource:Q7184552 property:P27 resource:Q145 }
Philip Whitwell Wilson United Kingdom
action is_in
entity United Kingdom
action find
entity Philip Whitwell Wilson
relation country of citizenship
['Philip Whitwell Wilson', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Philip_Whitwell_Wilson property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7184552,P27,Q145)
action is_in
entity Q145
action find
entity Q7184552
relation P27
[ANSWER]
['Q7184552', 'P27', 'Q145']
ASK WHERE { resource:Q7184552 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Philip Whitwell Wilson
relation country of citizenship
['Philip Whitwell Wilson', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Philip_Whitwell_Wilson property:country_of_citizenship resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7791207 Q10884942
P137 P241
Q781132
USER
Which military branches can manage Type B2 submarine or are Thomas James Harris affiliated to ?
OR((Q10884942,P137,c(Q781132)), (Q7791207,P241,c(Q781132)))
action filter_type
action union
action find
entity Q10884942
relation P137
action find
entity Q7791207
relation P241
type Q781132
{'OR': [['Q10884942', 'P137', {'concept': 'Q781132'}], ['Q7791207', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7791207 property:P241 ?f } UNION { resource:Q10884942 property:P137 ?f } } . ?f rdf:type ontology:Q781132 }
Thomas James Harris Type B2 submarine
action filter_type
action union
action find
entity Type B2 submarine
relation operator
action find
entity Thomas James Harris
relation military branch
type military branch
{'OR': [['Type B2 submarine', 'operator', {'concept': 'military branch'}], ['Thomas James Harris', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Thomas_James_Harris property:military_branch ?f } UNION { resource:Type_B2_submarine property:operator ?f } } . ?f rdf:type ontology:military_branch }
[]
military branch
Q219712 Q222595
SYSTEM
Imperial Japanese Navy, British Army
Q219712 Q222595
OR((Q10884942,P137,c(Q781132)), (Q7791207,P241,c(Q781132)))
action filter_type
action union
action find
entity Q10884942
relation P137
action find
entity Q7791207
relation P241
type Q781132
[ANSWERS] can manage Type B2 submarine or are Thomas James Harris affiliated to
{'OR': [['Q10884942', 'P137', {'concept': 'Q781132'}], ['Q7791207', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7791207 property:P241 ?f } UNION { resource:Q10884942 property:P137 ?f } } . ?f rdf:type ontology:Q781132 }
Imperial Japanese Navy British Army
Imperial Japanese Navy and British Army can manage Type B2 submarine or are Thomas James Harris affiliated to
Imperial Japanese Navy British Army
action filter_type
action union
action find
entity Type B2 submarine
relation operator
action find
entity Thomas James Harris
relation military branch
type military branch
{'OR': [['Type B2 submarine', 'operator', {'concept': 'military branch'}], ['Thomas James Harris', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Thomas_James_Harris property:military_branch ?f } UNION { resource:Type_B2_submarine property:operator ?f } } . ?f rdf:type ontology:military_branch }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5567622 Q1645480
P407
Q34770
USER
Which languages are the languages of work for Wilson or Glen Campbell Plays 12 String Guitar ?
OR((Q1645480,P407,c(Q34770)), (Q5567622,P407,c(Q34770)))
action filter_type
action union
action find
entity Q1645480
relation P407
action find
entity Q5567622
relation P407
type Q34770
{'OR': [['Q1645480', 'P407', {'concept': 'Q34770'}], ['Q5567622', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:P407 ?k . VALUES ( ?o ) { ( resource:Q1645480 ) ( resource:Q5567622 ) } } . ?k rdf:type ontology:Q34770 }
Glen Campbell Plays 12 String Guitar Wilson
action filter_type
action union
action find
entity Wilson
relation language of work or name
action find
entity Glen Campbell Plays 12 String Guitar
relation language of work or name
type language
{'OR': [['Wilson', 'language of work or name', {'concept': 'language'}], ['Glen Campbell Plays 12 String Guitar', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:language_of_work_or_name ?k . VALUES ( ?o ) { ( resource:Wilson ) ( resource:Glen_Campbell_Plays_12_String_Guitar ) } } . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q1645480,P407,c(Q34770)), (Q5567622,P407,c(Q34770)))
action filter_type
action union
action find
entity Q1645480
relation P407
action find
entity Q5567622
relation P407
type Q34770
[ANSWER] is the languages of work for Wilson or Glen Campbell Plays 12 String Guitar
{'OR': [['Q1645480', 'P407', {'concept': 'Q34770'}], ['Q5567622', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:P407 ?k . VALUES ( ?o ) { ( resource:Q1645480 ) ( resource:Q5567622 ) } } . ?k rdf:type ontology:Q34770 }
English
English is the languages of work for Wilson or Glen Campbell Plays 12 String Guitar
English
action filter_type
action union
action find
entity Wilson
relation language of work or name
action find
entity Glen Campbell Plays 12 String Guitar
relation language of work or name
type language
{'OR': [['Wilson', 'language of work or name', {'concept': 'language'}], ['Glen Campbell Plays 12 String Guitar', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:language_of_work_or_name ?k . VALUES ( ?o ) { ( resource:Wilson ) ( resource:Glen_Campbell_Plays_12_String_Guitar ) } } . ?k rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q1687990
P1412
Q502895
USER
Does Jerzy Lefeld talk in that language ?
(Q1687990,P1412,Q1860)
action is_in
entity Q1687990
action find
entity Q1860
relation P1412
['Q1687990', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q1687990 }
English Jerzy Lefeld
action is_in
entity Jerzy Lefeld
action find
entity English
relation languages spoken, written or signed
['Jerzy Lefeld', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Jerzy_Lefeld }
[]
common name
SYSTEM
NO
(Q1687990,P1412,Q1860)
action is_in
entity Q1687990
action find
entity Q1860
relation P1412
[ANSWER]
['Q1687990', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q1687990 }
No
action is_in
entity Jerzy Lefeld
action find
entity English
relation languages spoken, written or signed
['Jerzy Lefeld', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Jerzy_Lefeld }
[]