Simple Question (Direct)
Simple Question
Q7292326
P21
Q290
USER
Which sex does Randy Milligan possess ?
(Q7292326,P21,c(Q290))
action filter_type
action find
entity Q7292326
relation P21
type Q290
['Q7292326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7292326 property:P21 ?j . ?j rdf:type ontology:Q290 }
Randy Milligan
action filter_type
action find
entity Randy Milligan
relation gender
type sex
['Randy Milligan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Randy_Milligan property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7292326,P21,c(Q290))
action filter_type
action find
entity Q7292326
relation P21
type Q290
Randy Milligan possesses un [ANSWER]
['Q7292326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7292326 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Randy Milligan possesses un male
male
action filter_type
action find
entity Randy Milligan
relation gender
type sex
['Randy Milligan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Randy_Milligan property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7292326
P54
Q12973014
USER
Which sports teams are Randy Milligan a member of ?
(Q7292326,P54,c(Q12973014))
action filter_type
action find
entity Q7292326
relation P54
type Q12973014
['Q7292326', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12973014 . resource:Q7292326 property:P54 ?l }
Randy Milligan
action filter_type
action find
entity Randy Milligan
relation member of sports team
type sports team
['Randy Milligan', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sports_team . resource:Randy_Milligan property:member_of_sports_team ?l }
[]
sports team
Q650816 Q653772 Q1148233
SYSTEM
Baltimore Orioles, Pittsburgh Pirates, Montreal Expos
Q1148233 Q692417 Q826751 Q653772 Q650816 Q642553
(Q7292326,P54,c(Q12973014))
action filter_type
action find
entity Q7292326
relation P54
type Q12973014
The [ANSWERS] are Randy Milligan a member of
['Q7292326', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12973014 . resource:Q7292326 property:P54 ?l }
Montreal Expos New York Mets Cincinnati Reds Pittsburgh Pirates Baltimore Orioles Cleveland Indians
The Baltimore Orioles, Pittsburgh Pirates and Montreal Expos are Randy Milligan a member of
Baltimore Orioles Pittsburgh Pirates Montreal Expos
action filter_type
action find
entity Randy Milligan
relation member of sports team
type sports team
['Randy Milligan', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sports_team . resource:Randy_Milligan property:member_of_sports_team ?l }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q6267823 Q7292326
P54
Q12973014
USER
And also Johnny Vander Meer
AND((Q7292326,P54,c(Q12973014)), (Q6267823,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q7292326
relation P54
action find
entity Q6267823
relation P54
type Q12973014
{'AND': [['Q7292326', 'P54', {'concept': 'Q12973014'}], ['Q6267823', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?b WHERE { resource:Q7292326 property:P54 ?b . resource:Q6267823 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Johnny Vander Meer Randy Milligan
action filter_type
action intersection
action find
entity Randy Milligan
relation member of sports team
action find
entity Johnny Vander Meer
relation member of sports team
type sports team
{'AND': [['Randy Milligan', 'member of sports team', {'concept': 'sports team'}], ['Johnny Vander Meer', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?b WHERE { resource:Randy_Milligan property:member_of_sports_team ?b . resource:Johnny_Vander_Meer property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q826751 Q642553
SYSTEM
Cincinnati Reds, Cleveland Indians
Q826751 Q642553
AND((Q7292326,P54,c(Q12973014)), (Q6267823,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q7292326
relation P54
action find
entity Q6267823
relation P54
type Q12973014
[ANSWERS]
{'AND': [['Q7292326', 'P54', {'concept': 'Q12973014'}], ['Q6267823', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?b WHERE { resource:Q7292326 property:P54 ?b . resource:Q6267823 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Cincinnati Reds Cleveland Indians
Cincinnati Reds Cleveland Indians
action filter_type
action intersection
action find
entity Randy Milligan
relation member of sports team
action find
entity Johnny Vander Meer
relation member of sports team
type sports team
{'AND': [['Randy Milligan', 'member of sports team', {'concept': 'sports team'}], ['Johnny Vander Meer', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?b WHERE { resource:Randy_Milligan property:member_of_sports_team ?b . resource:Johnny_Vander_Meer property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q826751 Q642553
P127
Q502895
USER
Who own those sports teams ?
(Q826751,P127,c(Q502895)) (Q642553,P127,c(Q502895))
action filter_type
action find
entity prev_answer
relation P127
type Q502895
['Q826751', 'P127', {'concept': 'Q502895'}] ['Q642553', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?j property:P127 ?f . VALUES ( ?j ) { ( resource:Q826751 ) ( resource:Q642553 ) } . ?f rdf:type ontology:Q502895 }
Cincinnati Reds Cleveland Indians
action filter_type
action find
entity prev_answer
relation owned by
type common name
['Cincinnati Reds', 'owned by', {'concept': 'common name'}] ['Cleveland Indians', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?j property:owned_by ?f . VALUES ( ?j ) { ( resource:Cincinnati_Reds ) ( resource:Cleveland_Indians ) } . ?f rdf:type ontology:common_name }
[]
common name
Q16228897 Q8020388 Q3218044
SYSTEM
James Williams, William Williams, Larry Dolan
Q16228897 Q8020388 Q3218044
(Q826751,P127,c(Q502895)) (Q642553,P127,c(Q502895))
action filter_type
action find
entity prev_answer
relation P127
type Q502895
[ANSWERS] own those sports teams
['Q826751', 'P127', {'concept': 'Q502895'}] ['Q642553', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?j property:P127 ?f . VALUES ( ?j ) { ( resource:Q826751 ) ( resource:Q642553 ) } . ?f rdf:type ontology:Q502895 }
James Williams William Williams Larry Dolan
James Williams, William Williams and Larry Dolan own those sports teams
James Williams William Williams Larry Dolan
action filter_type
action find
entity prev_answer
relation owned by
type common name
['Cincinnati Reds', 'owned by', {'concept': 'common name'}] ['Cleveland Indians', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?j property:owned_by ?f . VALUES ( ?j ) { ( resource:Cincinnati_Reds ) ( resource:Cleveland_Indians ) } . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16228897 Q8020388 Q3218044
P21
Q290
USER
What are the sex of James Williams, William Williams and Larry Dolan ?
(Q16228897,P21,c(Q290)) (Q8020388,P21,c(Q290)) (Q3218044,P21,c(Q290))
action union
action filter_type
action find
entity Q16228897
relation P21
type Q290
action filter_type
action find
entity Q8020388
relation P21
type Q290
action filter_type
action find
entity Q3218044
relation P21
type Q290
['Q16228897', 'P21', {'concept': 'Q290'}] ['Q8020388', 'P21', {'concept': 'Q290'}] ['Q3218044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { { resource:Q16228897 property:P21 ?e . ?e rdf:type ontology:Q290 } UNION { resource:Q8020388 property:P21 ?e . ?e rdf:type ontology:Q290 } }
James Williams William Williams Larry Dolan
action union
action filter_type
action find
entity James Williams
relation gender
type sex
action filter_type
action find
entity William Williams
relation gender
type sex
action filter_type
action find
entity Larry Dolan
relation gender
type sex
['James Williams', 'gender', {'concept': 'sex'}] ['William Williams', 'gender', {'concept': 'sex'}] ['Larry Dolan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { { resource:James_Williams property:gender ?e . ?e rdf:type ontology:sex } UNION { resource:William_Williams property:gender ?e . ?e rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q16228897,P21,c(Q290)) (Q8020388,P21,c(Q290)) (Q3218044,P21,c(Q290))
action union
action filter_type
action find
entity Q16228897
relation P21
type Q290
action filter_type
action find
entity Q8020388
relation P21
type Q290
action filter_type
action find
entity Q3218044
relation P21
type Q290
The sex of James Williams , William Williams and Larry Dolan are the [ANSWER], [ANSWER] and [ANSWER]
['Q16228897', 'P21', {'concept': 'Q290'}] ['Q8020388', 'P21', {'concept': 'Q290'}] ['Q3218044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { { resource:Q16228897 property:P21 ?e . ?e rdf:type ontology:Q290 } UNION { resource:Q8020388 property:P21 ?e . ?e rdf:type ontology:Q290 } }
male male male
The sex of James Williams , William Williams and Larry Dolan are the male, male and male
male male male
action union
action filter_type
action find
entity James Williams
relation gender
type sex
action filter_type
action find
entity William Williams
relation gender
type sex
action filter_type
action find
entity Larry Dolan
relation gender
type sex
['James Williams', 'gender', {'concept': 'sex'}] ['William Williams', 'gender', {'concept': 'sex'}] ['Larry Dolan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { { resource:James_Williams property:gender ?e . ?e rdf:type ontology:sex } UNION { resource:William_Williams property:gender ?e . ?e rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16228897
P734
Q82799
USER
Which name is associated with James Williams ?
(Q16228897,P734,c(Q82799))
action filter_type
action find
entity Q16228897
relation P734
type Q82799
['Q16228897', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q16228897 property:P734 ?j . ?j rdf:type ontology:Q82799 }
James Williams
action filter_type
action find
entity James Williams
relation family name
type name
['James Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:James_Williams property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q16228897,P734,c(Q82799))
action filter_type
action find
entity Q16228897
relation P734
type Q82799
[ANSWER] is associated with James [ANSWER]
['Q16228897', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q16228897 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Williams
Williams is associated with James Williams
Williams
action filter_type
action find
entity James Williams
relation family name
type name
['James Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:James_Williams property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11603022
Q82799
USER
And also tell me about Takushi Tsutsui?
(Q11603022,P734,c(Q82799))
action filter_type
action find
entity Q11603022
relation P734
type Q82799
['Q11603022', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q11603022 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Takushi Tsutsui
action filter_type
action find
entity Takushi Tsutsui
relation family name
type name
['Takushi Tsutsui', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Takushi_Tsutsui property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q16975959
SYSTEM
Tsutsui
Q16975959
(Q11603022,P734,c(Q82799))
action filter_type
action find
entity Q11603022
relation P734
type Q82799
[ANSWER]
['Q11603022', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q11603022 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Tsutsui
Tsutsui
action filter_type
action find
entity Takushi Tsutsui
relation family name
type name
['Takushi Tsutsui', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Takushi_Tsutsui property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11603022
P106
Q12737077
USER
What does that person do for a living ?
(Q16975959,P106,c(Q12737077))
action filter_type
action find
entity Q11603022
relation P106
type Q12737077
['Q16975959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q11603022 property:P106 ?t }
Takushi Tsutsui
action filter_type
action find
entity Takushi Tsutsui
relation occupation
type occupation
['Tsutsui', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Takushi_Tsutsui property:occupation ?t }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q16975959,P106,c(Q12737077))
action filter_type
action find
entity Q11603022
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q16975959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q11603022 property:P106 ?t }
actor
That person does an actor for a living
actor
action filter_type
action find
entity Takushi Tsutsui
relation occupation
type occupation
['Tsutsui', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Takushi_Tsutsui property:occupation ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4716385 Q8020388
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of William Williams or Alessandro Morace ?
OR((Q8020388,P27,c(Q15617994)), (Q4716385,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8020388
relation P27
action find
entity Q4716385
relation P27
type Q15617994
{'OR': [['Q8020388', 'P27', {'concept': 'Q15617994'}], ['Q4716385', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Q8020388 ) ( resource:Q4716385 ) } . ?a property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
Alessandro Morace William Williams
action filter_type
action union
action find
entity William Williams
relation country of citizenship
action find
entity Alessandro Morace
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alessandro Morace', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:William_Williams ) ( resource:Alessandro_Morace ) } . ?a property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q38
SYSTEM
United States of America, Italy
Q30 Q38
OR((Q8020388,P27,c(Q15617994)), (Q4716385,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8020388
relation P27
action find
entity Q4716385
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of William Williams or Alessandro Morace
{'OR': [['Q8020388', 'P27', {'concept': 'Q15617994'}], ['Q4716385', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:Q8020388 ) ( resource:Q4716385 ) } . ?a property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
United States of America Italy
United States of America and Italy are the countries of citizenship of William Williams or Alessandro Morace
United States of America Italy
action filter_type
action union
action find
entity William Williams
relation country of citizenship
action find
entity Alessandro Morace
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alessandro Morace', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?a ) { ( resource:William_Williams ) ( resource:Alessandro_Morace ) } . ?a property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]