Simple Question (Direct)
Simple Question
Q728916
P21
Q290
USER
Which sex does Željko Gavrilović possess ?
(Q728916,P21,c(Q290))
action filter_type
action find
entity Q728916
relation P21
type Q290
['Q728916', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q728916 property:P21 ?t . ?t rdf:type ontology:Q290 }
Željko Gavrilović
action filter_type
action find
entity Željko Gavrilović
relation gender
type sex
['Željko Gavrilović', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Željko_Gavrilović property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q728916,P21,c(Q290))
action filter_type
action find
entity Q728916
relation P21
type Q290
Željko Gavrilović possesses de [ANSWER]
['Q728916', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q728916 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Željko Gavrilović possesses de male
male
action filter_type
action find
entity Željko Gavrilović
relation gender
type sex
['Željko Gavrilović', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Željko_Gavrilović property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q728916
P27
Q15617994
USER
Which administrative territories are Željko Gavrilović a civilian of ?
(Q728916,P27,c(Q15617994))
action filter_type
action find
entity Q728916
relation P27
type Q15617994
['Q728916', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q728916 property:P27 ?j }
Željko Gavrilović
action filter_type
action find
entity Željko Gavrilović
relation country of citizenship
type designation for an administrative territorial entity
['Željko Gavrilović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Željko_Gavrilović property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q403 Q225
SYSTEM
Serbia, Bosnia and Herzegovina
Q403 Q225
(Q728916,P27,c(Q15617994))
action filter_type
action find
entity Q728916
relation P27
type Q15617994
[ANSWERS]
['Q728916', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q728916 property:P27 ?j }
Serbia Bosnia and Herzegovina
Serbia Bosnia and Herzegovina
action filter_type
action find
entity Željko Gavrilović
relation country of citizenship
type designation for an administrative territorial entity
['Željko Gavrilović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Željko_Gavrilović property:country_of_citizenship ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q728916
P19
Q56061
USER
Where was Željko Gavrilović born ?
(Q728916,P19,c(Q56061))
action filter_type
action find
entity Q728916
relation P19
type Q56061
['Q728916', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q728916 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Željko Gavrilović
action filter_type
action find
entity Željko Gavrilović
relation place of birth
type administrative territorial entity
['Željko Gavrilović', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Željko_Gavrilović property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q59473
SYSTEM
Užice
Q59473
(Q728916,P19,c(Q56061))
action filter_type
action find
entity Q728916
relation P19
type Q56061
Željko Gavrilović was born in [ANSWER]
['Q728916', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q728916 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Užice
Željko Gavrilović was born in Užice
Užice
action filter_type
action find
entity Željko Gavrilović
relation place of birth
type administrative territorial entity
['Željko Gavrilović', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Željko_Gavrilović property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7308865
Q56061
USER
And what about Reginald Shepherd?
(Q7308865,P19,c(Q56061))
action filter_type
action find
entity Q7308865
relation P19
type Q56061
['Q7308865', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7308865 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Reginald Shepherd
action filter_type
action find
entity Reginald Shepherd
relation place of birth
type administrative territorial entity
['Reginald Shepherd', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Reginald_Shepherd property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q7308865,P19,c(Q56061))
action filter_type
action find
entity Q7308865
relation P19
type Q56061
[ANSWER]
['Q7308865', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7308865 property:P19 ?u . ?u rdf:type ontology:Q56061 }
New York City
New York City
action filter_type
action find
entity Reginald Shepherd
relation place of birth
type administrative territorial entity
['Reginald Shepherd', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Reginald_Shepherd property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7308865
P734
Q82799
USER
Who is associated with that person ?
(Q60,P734,c(Q82799))
action filter_type
action find
entity Q7308865
relation P734
type Q82799
['Q60', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q7308865 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Reginald Shepherd
action filter_type
action find
entity Reginald Shepherd
relation family name
type name
['New York City', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Reginald_Shepherd property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q18987420
SYSTEM
Shepherd
Q18987420
(Q60,P734,c(Q82799))
action filter_type
action find
entity Q7308865
relation P734
type Q82799
Person [ANSWER] is associated with that person
['Q60', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q7308865 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Shepherd
Person Shepherd is associated with that person
Shepherd
action filter_type
action find
entity Reginald Shepherd
relation family name
type name
['New York City', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Reginald_Shepherd property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7308865
P69
Q163740
USER
Which nonprofit organization is that person an alumni of ?
(Q18987420,P69,c(Q163740))
action filter_type
action find
entity Q7308865
relation P69
type Q163740
['Q18987420', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q7308865 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Reginald Shepherd
action filter_type
action find
entity Reginald Shepherd
relation educated at
type nonprofit organization
['Shepherd', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:Reginald_Shepherd property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q817902
SYSTEM
Bennington College
Q817902
(Q18987420,P69,c(Q163740))
action filter_type
action find
entity Q7308865
relation P69
type Q163740
[ANSWER] is that person an alumni of
['Q18987420', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q7308865 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Bennington College
Bennington College is that person an alumni of
Bennington College
action filter_type
action find
entity Reginald Shepherd
relation educated at
type nonprofit organization
['Shepherd', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:Reginald_Shepherd property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q817902 Q1475020 Q655683
P69
Q163740
USER
Is that nonprofit organization an alumni of Furman University and World Federation of United Nations Associations ?
(Q817902,P69,Q1475020) (Q817902,P69,Q655683)
action is_in
entity Q817902
action intersection
action find_reverse
entity Q1475020
relation P69
action find_reverse
entity Q655683
relation P69
['Q817902', 'P69', 'Q1475020'] ['Q817902', 'P69', 'Q655683']
ASK WHERE { resource:Q817902 property:P69 resource:Q1475020 . resource:Q817902 property:P69 resource:Q655683 }
Bennington College Furman University World Federation of United Nations Associations
action is_in
entity Bennington College
action intersection
action find_reverse
entity Furman University
relation educated at
action find_reverse
entity World Federation of United Nations Associations
relation educated at
['Bennington College', 'educated at', 'Furman University'] ['Bennington College', 'educated at', 'World Federation of United Nations Associations']
ASK WHERE { resource:Bennington_College property:educated_at resource:Furman_University . resource:Bennington_College property:educated_at resource:World_Federation_of_United_Nations_Associations }
[]
nonprofit organization
SYSTEM
NO
(Q817902,P69,Q1475020) (Q817902,P69,Q655683)
action is_in
entity Q817902
action intersection
action find_reverse
entity Q1475020
relation P69
action find_reverse
entity Q655683
relation P69
[ANSWER]
['Q817902', 'P69', 'Q1475020'] ['Q817902', 'P69', 'Q655683']
ASK WHERE { resource:Q817902 property:P69 resource:Q1475020 . resource:Q817902 property:P69 resource:Q655683 }
No
action is_in
entity Bennington College
action intersection
action find_reverse
entity Furman University
relation educated at
action find_reverse
entity World Federation of United Nations Associations
relation educated at
['Bennington College', 'educated at', 'Furman University'] ['Bennington College', 'educated at', 'World Federation of United Nations Associations']
ASK WHERE { resource:Bennington_College property:educated_at resource:Furman_University . resource:Bennington_College property:educated_at resource:World_Federation_of_United_Nations_Associations }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q28389 Q817902
P69 P106
Q502895
USER
Which people are an alumni of Bennington College and have career as screenwriter ?
AND((c(Q502895),P69,Q817902), (c(Q502895),P106,Q28389))
action filter_type
action intersection
action find_reverse
entity Q817902
relation P69
action find_reverse
entity Q28389
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q817902'], [{'concept': 'Q502895'}, 'P106', 'Q28389']]}
SELECT DISTINCT ?c WHERE { ?c property:P69 resource:Q817902 . ?c property:P106 resource:Q28389 . ?c rdf:type ontology:Q502895 }
screenwriter Bennington College
action filter_type
action intersection
action find_reverse
entity Bennington College
relation educated at
action find_reverse
entity screenwriter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Bennington College'], [{'concept': 'common name'}, 'occupation', 'screenwriter']]}
SELECT DISTINCT ?c WHERE { ?c property:educated_at resource:Bennington_College . ?c property:occupation resource:screenwriter . ?c rdf:type ontology:common_name }
[]
common name
Q3859421 Q5105667 Q746520 Q5271174 Q248719 Q108283 Q3317079 Q316596 Q7427848 Q241583
SYSTEM
Mitchell Lichtenstein, Chris Abbott, Barry Primus, Diana Gould, Melissa Rosenberg, Alan Arkin, Mitchell Kriegman, Justin Theroux, Savannah Dooley, Bret Easton Ellis
Q3859421 Q5105667 Q746520 Q5271174 Q248719 Q108283 Q3317079 Q316596 Q7427848 Q241583
AND((c(Q502895),P69,Q817902), (c(Q502895),P106,Q28389))
action filter_type
action intersection
action find_reverse
entity Q817902
relation P69
action find_reverse
entity Q28389
relation P106
type Q502895
[ANSWERS] are an alumni of Bennington College and have career as screenwriter
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q817902'], [{'concept': 'Q502895'}, 'P106', 'Q28389']]}
SELECT DISTINCT ?c WHERE { ?c property:P69 resource:Q817902 . ?c property:P106 resource:Q28389 . ?c rdf:type ontology:Q502895 }
Mitchell Lichtenstein Chris Abbott Barry Primus Diana Gould Melissa Rosenberg Alan Arkin Mitchell Kriegman Justin Theroux Savannah Dooley Bret Easton Ellis
Mitchell Lichtenstein, Chris Abbott, Barry Primus, Diana Gould, Melissa Rosenberg, Alan Arkin, Mitchell Kriegman, Justin Theroux, Savannah Dooley and Bret Easton Ellis are an alumni of Bennington College and have career as screenwriter
Mitchell Lichtenstein Chris Abbott Barry Primus Diana Gould Melissa Rosenberg Alan Arkin Mitchell Kriegman Justin Theroux Savannah Dooley Bret Easton Ellis
action filter_type
action intersection
action find_reverse
entity Bennington College
relation educated at
action find_reverse
entity screenwriter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Bennington College'], [{'concept': 'common name'}, 'occupation', 'screenwriter']]}
SELECT DISTINCT ?c WHERE { ?c property:educated_at resource:Bennington_College . ?c property:occupation resource:screenwriter . ?c rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1346
Q618779 Q4220917
USER
How many awards or film awards were won by that person ?
(c(Q618779),P1346,Q108283) (c(Q4220917),P1346,Q108283) (c(Q618779),P1346,Q3859421) (c(Q4220917),P1346,Q3859421) (c(Q618779),P1346,Q5105667) (c(Q4220917),P1346,Q5105667) (c(Q618779),P1346,Q746520) (c(Q4220917),P1346,Q746520) (c(Q618779),P1346,Q5271174) (c(Q4220917),P1346,Q5271174) (c(Q618779),P1346,Q248719) (c(Q4220917),P1346,Q248719) (c(Q618779),P1346,Q108283) (c(Q4220917),P1346,Q108283) (c(Q618779),P1346,Q3317079) (c(Q4220917),P1346,Q3317079) (c(Q618779),P1346,Q316596) (c(Q4220917),P1346,Q316596) (c(Q618779),P1346,Q7427848) (c(Q4220917),P1346,Q7427848) (c(Q618779),P1346,Q241583) (c(Q4220917),P1346,Q241583)
[{'concept': 'Q618779'}, 'P1346', 'Q108283'] [{'concept': 'Q4220917'}, 'P1346', 'Q108283'] [{'concept': 'Q618779'}, 'P1346', 'Q3859421'] [{'concept': 'Q4220917'}, 'P1346', 'Q3859421'] [{'concept': 'Q618779'}, 'P1346', 'Q5105667'] [{'concept': 'Q4220917'}, 'P1346', 'Q5105667'] [{'concept': 'Q618779'}, 'P1346', 'Q746520'] [{'concept': 'Q4220917'}, 'P1346', 'Q746520'] [{'concept': 'Q618779'}, 'P1346', 'Q5271174'] [{'concept': 'Q4220917'}, 'P1346', 'Q5271174'] [{'concept': 'Q618779'}, 'P1346', 'Q248719'] [{'concept': 'Q4220917'}, 'P1346', 'Q248719'] [{'concept': 'Q618779'}, 'P1346', 'Q108283'] [{'concept': 'Q4220917'}, 'P1346', 'Q108283'] [{'concept': 'Q618779'}, 'P1346', 'Q3317079'] [{'concept': 'Q4220917'}, 'P1346', 'Q3317079'] [{'concept': 'Q618779'}, 'P1346', 'Q316596'] [{'concept': 'Q4220917'}, 'P1346', 'Q316596'] [{'concept': 'Q618779'}, 'P1346', 'Q7427848'] [{'concept': 'Q4220917'}, 'P1346', 'Q7427848'] [{'concept': 'Q618779'}, 'P1346', 'Q241583'] [{'concept': 'Q4220917'}, 'P1346', 'Q241583']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q18560095 resource:Q108283 } UNION { ?y property:Q18560095 resource:Q108283 } UNION { ?z property:Q18560095 resource:Q3859421 } UNION { ?y property:Q18560095 resource:Q3859421 } UNION { ?z property:Q18560095 resource:Q5105667 } UNION { ?y property:Q18560095 resource:Q5105667 } UNION { ?z property:Q18560095 resource:Q746520 } UNION { ?y property:Q18560095 resource:Q746520 } UNION { ?z property:Q18560095 resource:Q5271174 } UNION { ?y property:Q18560095 resource:Q5271174 } UNION { ?z property:Q18560095 resource:Q248719 } UNION { ?y property:Q18560095 resource:Q248719 } UNION { ?z property:Q18560095 resource:Q108283 } UNION { ?y property:Q18560095 resource:Q108283 } UNION { ?z property:Q18560095 resource:Q3317079 } UNION { ?y property:Q18560095 resource:Q3317079 } UNION { ?z property:Q18560095 resource:Q316596 } UNION { ?y property:Q18560095 resource:Q316596 } UNION { ?z property:Q18560095 resource:Q7427848 } UNION { ?y property:Q18560095 resource:Q7427848 } UNION { ?z property:Q18560095 resource:Q241583 } UNION { ?y property:Q18560095 resource:Q241583 } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q4220917 }
[{'concept': 'award'}, 'winner', 'Alan Arkin'] [{'concept': 'film award'}, 'winner', 'Alan Arkin'] [{'concept': 'award'}, 'winner', 'Mitchell Lichtenstein'] [{'concept': 'film award'}, 'winner', 'Mitchell Lichtenstein'] [{'concept': 'award'}, 'winner', 'Chris Abbott'] [{'concept': 'film award'}, 'winner', 'Chris Abbott'] [{'concept': 'award'}, 'winner', 'Barry Primus'] [{'concept': 'film award'}, 'winner', 'Barry Primus'] [{'concept': 'award'}, 'winner', 'Diana Gould'] [{'concept': 'film award'}, 'winner', 'Diana Gould'] [{'concept': 'award'}, 'winner', 'Melissa Rosenberg'] [{'concept': 'film award'}, 'winner', 'Melissa Rosenberg'] [{'concept': 'award'}, 'winner', 'Alan Arkin'] [{'concept': 'film award'}, 'winner', 'Alan Arkin'] [{'concept': 'award'}, 'winner', 'Mitchell Kriegman'] [{'concept': 'film award'}, 'winner', 'Mitchell Kriegman'] [{'concept': 'award'}, 'winner', 'Justin Theroux'] [{'concept': 'film award'}, 'winner', 'Justin Theroux'] [{'concept': 'award'}, 'winner', 'Savannah Dooley'] [{'concept': 'film award'}, 'winner', 'Savannah Dooley'] [{'concept': 'award'}, 'winner', 'Bret Easton Ellis'] [{'concept': 'film award'}, 'winner', 'Bret Easton Ellis']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:winner resource:Alan_Arkin } UNION { ?y property:winner resource:Alan_Arkin } UNION { ?z property:winner resource:Mitchell_Lichtenstein } UNION { ?y property:winner resource:Mitchell_Lichtenstein } UNION { ?z property:winner resource:Chris_Abbott } UNION { ?y property:winner resource:Chris_Abbott } UNION { ?z property:winner resource:Barry_Primus } UNION { ?y property:winner resource:Barry_Primus } UNION { ?z property:winner resource:Diana_Gould } UNION { ?y property:winner resource:Diana_Gould } UNION { ?z property:winner resource:Melissa_Rosenberg } UNION { ?y property:winner resource:Melissa_Rosenberg } UNION { ?z property:winner resource:Alan_Arkin } UNION { ?y property:winner resource:Alan_Arkin } UNION { ?z property:winner resource:Mitchell_Kriegman } UNION { ?y property:winner resource:Mitchell_Kriegman } UNION { ?z property:winner resource:Justin_Theroux } UNION { ?y property:winner resource:Justin_Theroux } UNION { ?z property:winner resource:Savannah_Dooley } UNION { ?y property:winner resource:Savannah_Dooley } UNION { ?z property:winner resource:Bret_Easton_Ellis } UNION { ?y property:winner resource:Bret_Easton_Ellis } } . ?z rdf:type ontology:award . ?y rdf:type ontology:film_award }
[]
award film award
Quantitative|Count|Mult. entity type|Clarification
Q5105667
SYSTEM
Did you mean Chris Abbott ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q18560095 resource:Q108283 } UNION { ?y property:Q18560095 resource:Q108283 } UNION { ?z property:Q18560095 resource:Q3859421 } UNION { ?y property:Q18560095 resource:Q3859421 } UNION { ?z property:Q18560095 resource:Q5105667 } UNION { ?y property:Q18560095 resource:Q5105667 } UNION { ?z property:Q18560095 resource:Q746520 } UNION { ?y property:Q18560095 resource:Q746520 } UNION { ?z property:Q18560095 resource:Q5271174 } UNION { ?y property:Q18560095 resource:Q5271174 } UNION { ?z property:Q18560095 resource:Q248719 } UNION { ?y property:Q18560095 resource:Q248719 } UNION { ?z property:Q18560095 resource:Q108283 } UNION { ?y property:Q18560095 resource:Q108283 } UNION { ?z property:Q18560095 resource:Q3317079 } UNION { ?y property:Q18560095 resource:Q3317079 } UNION { ?z property:Q18560095 resource:Q316596 } UNION { ?y property:Q18560095 resource:Q316596 } UNION { ?z property:Q18560095 resource:Q7427848 } UNION { ?y property:Q18560095 resource:Q7427848 } UNION { ?z property:Q18560095 resource:Q241583 } UNION { ?y property:Q18560095 resource:Q241583 } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q4220917 }
Did you mean Chris Abbott ?
Chris Abbott
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:winner resource:Alan_Arkin } UNION { ?y property:winner resource:Alan_Arkin } UNION { ?z property:winner resource:Mitchell_Lichtenstein } UNION { ?y property:winner resource:Mitchell_Lichtenstein } UNION { ?z property:winner resource:Chris_Abbott } UNION { ?y property:winner resource:Chris_Abbott } UNION { ?z property:winner resource:Barry_Primus } UNION { ?y property:winner resource:Barry_Primus } UNION { ?z property:winner resource:Diana_Gould } UNION { ?y property:winner resource:Diana_Gould } UNION { ?z property:winner resource:Melissa_Rosenberg } UNION { ?y property:winner resource:Melissa_Rosenberg } UNION { ?z property:winner resource:Alan_Arkin } UNION { ?y property:winner resource:Alan_Arkin } UNION { ?z property:winner resource:Mitchell_Kriegman } UNION { ?y property:winner resource:Mitchell_Kriegman } UNION { ?z property:winner resource:Justin_Theroux } UNION { ?y property:winner resource:Justin_Theroux } UNION { ?z property:winner resource:Savannah_Dooley } UNION { ?y property:winner resource:Savannah_Dooley } UNION { ?z property:winner resource:Bret_Easton_Ellis } UNION { ?y property:winner resource:Bret_Easton_Ellis } } . ?z rdf:type ontology:award . ?y rdf:type ontology:film_award }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Alan Arkin. Could you tell me the answer for that?
(c(Q618779),P1346,Q108283) (c(Q4220917),P1346,Q108283) (c(Q618779),P1346,Q3859421) (c(Q4220917),P1346,Q3859421) (c(Q618779),P1346,Q5105667) (c(Q4220917),P1346,Q5105667) (c(Q618779),P1346,Q746520) (c(Q4220917),P1346,Q746520) (c(Q618779),P1346,Q5271174) (c(Q4220917),P1346,Q5271174) (c(Q618779),P1346,Q248719) (c(Q4220917),P1346,Q248719) (c(Q618779),P1346,Q108283) (c(Q4220917),P1346,Q108283) (c(Q618779),P1346,Q3317079) (c(Q4220917),P1346,Q3317079) (c(Q618779),P1346,Q316596) (c(Q4220917),P1346,Q316596) (c(Q618779),P1346,Q7427848) (c(Q4220917),P1346,Q7427848) (c(Q618779),P1346,Q241583) (c(Q4220917),P1346,Q241583)
Q108283
[{'concept': 'Q618779'}, 'P1346', 'Q108283'] [{'concept': 'Q4220917'}, 'P1346', 'Q108283'] [{'concept': 'Q618779'}, 'P1346', 'Q3859421'] [{'concept': 'Q4220917'}, 'P1346', 'Q3859421'] [{'concept': 'Q618779'}, 'P1346', 'Q5105667'] [{'concept': 'Q4220917'}, 'P1346', 'Q5105667'] [{'concept': 'Q618779'}, 'P1346', 'Q746520'] [{'concept': 'Q4220917'}, 'P1346', 'Q746520'] [{'concept': 'Q618779'}, 'P1346', 'Q5271174'] [{'concept': 'Q4220917'}, 'P1346', 'Q5271174'] [{'concept': 'Q618779'}, 'P1346', 'Q248719'] [{'concept': 'Q4220917'}, 'P1346', 'Q248719'] [{'concept': 'Q618779'}, 'P1346', 'Q108283'] [{'concept': 'Q4220917'}, 'P1346', 'Q108283'] [{'concept': 'Q618779'}, 'P1346', 'Q3317079'] [{'concept': 'Q4220917'}, 'P1346', 'Q3317079'] [{'concept': 'Q618779'}, 'P1346', 'Q316596'] [{'concept': 'Q4220917'}, 'P1346', 'Q316596'] [{'concept': 'Q618779'}, 'P1346', 'Q7427848'] [{'concept': 'Q4220917'}, 'P1346', 'Q7427848'] [{'concept': 'Q618779'}, 'P1346', 'Q241583'] [{'concept': 'Q4220917'}, 'P1346', 'Q241583']
[{'concept': 'award'}, 'winner', 'Alan Arkin'] [{'concept': 'film award'}, 'winner', 'Alan Arkin'] [{'concept': 'award'}, 'winner', 'Mitchell Lichtenstein'] [{'concept': 'film award'}, 'winner', 'Mitchell Lichtenstein'] [{'concept': 'award'}, 'winner', 'Chris Abbott'] [{'concept': 'film award'}, 'winner', 'Chris Abbott'] [{'concept': 'award'}, 'winner', 'Barry Primus'] [{'concept': 'film award'}, 'winner', 'Barry Primus'] [{'concept': 'award'}, 'winner', 'Diana Gould'] [{'concept': 'film award'}, 'winner', 'Diana Gould'] [{'concept': 'award'}, 'winner', 'Melissa Rosenberg'] [{'concept': 'film award'}, 'winner', 'Melissa Rosenberg'] [{'concept': 'award'}, 'winner', 'Alan Arkin'] [{'concept': 'film award'}, 'winner', 'Alan Arkin'] [{'concept': 'award'}, 'winner', 'Mitchell Kriegman'] [{'concept': 'film award'}, 'winner', 'Mitchell Kriegman'] [{'concept': 'award'}, 'winner', 'Justin Theroux'] [{'concept': 'film award'}, 'winner', 'Justin Theroux'] [{'concept': 'award'}, 'winner', 'Savannah Dooley'] [{'concept': 'film award'}, 'winner', 'Savannah Dooley'] [{'concept': 'award'}, 'winner', 'Bret Easton Ellis'] [{'concept': 'film award'}, 'winner', 'Bret Easton Ellis']
[]
SYSTEM
5
Q106291 Q518675 Q548389 Q1075361 Q181883
(c(Q618779),P1346,Q108283) (c(Q4220917),P1346,Q108283) (c(Q618779),P1346,Q3859421) (c(Q4220917),P1346,Q3859421) (c(Q618779),P1346,Q5105667) (c(Q4220917),P1346,Q5105667) (c(Q618779),P1346,Q746520) (c(Q4220917),P1346,Q746520) (c(Q618779),P1346,Q5271174) (c(Q4220917),P1346,Q5271174) (c(Q618779),P1346,Q248719) (c(Q4220917),P1346,Q248719) (c(Q618779),P1346,Q108283) (c(Q4220917),P1346,Q108283) (c(Q618779),P1346,Q3317079) (c(Q4220917),P1346,Q3317079) (c(Q618779),P1346,Q316596) (c(Q4220917),P1346,Q316596) (c(Q618779),P1346,Q7427848) (c(Q4220917),P1346,Q7427848) (c(Q618779),P1346,Q241583) (c(Q4220917),P1346,Q241583)
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q108283'] [{'concept': 'Q4220917'}, 'P1346', 'Q108283'] [{'concept': 'Q618779'}, 'P1346', 'Q3859421'] [{'concept': 'Q4220917'}, 'P1346', 'Q3859421'] [{'concept': 'Q618779'}, 'P1346', 'Q5105667'] [{'concept': 'Q4220917'}, 'P1346', 'Q5105667'] [{'concept': 'Q618779'}, 'P1346', 'Q746520'] [{'concept': 'Q4220917'}, 'P1346', 'Q746520'] [{'concept': 'Q618779'}, 'P1346', 'Q5271174'] [{'concept': 'Q4220917'}, 'P1346', 'Q5271174'] [{'concept': 'Q618779'}, 'P1346', 'Q248719'] [{'concept': 'Q4220917'}, 'P1346', 'Q248719'] [{'concept': 'Q618779'}, 'P1346', 'Q108283'] [{'concept': 'Q4220917'}, 'P1346', 'Q108283'] [{'concept': 'Q618779'}, 'P1346', 'Q3317079'] [{'concept': 'Q4220917'}, 'P1346', 'Q3317079'] [{'concept': 'Q618779'}, 'P1346', 'Q316596'] [{'concept': 'Q4220917'}, 'P1346', 'Q316596'] [{'concept': 'Q618779'}, 'P1346', 'Q7427848'] [{'concept': 'Q4220917'}, 'P1346', 'Q7427848'] [{'concept': 'Q618779'}, 'P1346', 'Q241583'] [{'concept': 'Q4220917'}, 'P1346', 'Q241583']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q18560095 resource:Q108283 } UNION { ?y property:Q18560095 resource:Q108283 } UNION { ?z property:Q18560095 resource:Q3859421 } UNION { ?y property:Q18560095 resource:Q3859421 } UNION { ?z property:Q18560095 resource:Q5105667 } UNION { ?y property:Q18560095 resource:Q5105667 } UNION { ?z property:Q18560095 resource:Q746520 } UNION { ?y property:Q18560095 resource:Q746520 } UNION { ?z property:Q18560095 resource:Q5271174 } UNION { ?y property:Q18560095 resource:Q5271174 } UNION { ?z property:Q18560095 resource:Q248719 } UNION { ?y property:Q18560095 resource:Q248719 } UNION { ?z property:Q18560095 resource:Q108283 } UNION { ?y property:Q18560095 resource:Q108283 } UNION { ?z property:Q18560095 resource:Q3317079 } UNION { ?y property:Q18560095 resource:Q3317079 } UNION { ?z property:Q18560095 resource:Q316596 } UNION { ?y property:Q18560095 resource:Q316596 } UNION { ?z property:Q18560095 resource:Q7427848 } UNION { ?y property:Q18560095 resource:Q7427848 } UNION { ?z property:Q18560095 resource:Q241583 } UNION { ?y property:Q18560095 resource:Q241583 } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q4220917 }
Academy Award for Best Supporting Actor Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture BAFTA Award for Best Actor in a Supporting Role Chlotrudis Award for Best Supporting Actor Golden Globe Award for Best Actor – Motion Picture Musical or Comedy
5
[{'concept': 'award'}, 'winner', 'Alan Arkin'] [{'concept': 'film award'}, 'winner', 'Alan Arkin'] [{'concept': 'award'}, 'winner', 'Mitchell Lichtenstein'] [{'concept': 'film award'}, 'winner', 'Mitchell Lichtenstein'] [{'concept': 'award'}, 'winner', 'Chris Abbott'] [{'concept': 'film award'}, 'winner', 'Chris Abbott'] [{'concept': 'award'}, 'winner', 'Barry Primus'] [{'concept': 'film award'}, 'winner', 'Barry Primus'] [{'concept': 'award'}, 'winner', 'Diana Gould'] [{'concept': 'film award'}, 'winner', 'Diana Gould'] [{'concept': 'award'}, 'winner', 'Melissa Rosenberg'] [{'concept': 'film award'}, 'winner', 'Melissa Rosenberg'] [{'concept': 'award'}, 'winner', 'Alan Arkin'] [{'concept': 'film award'}, 'winner', 'Alan Arkin'] [{'concept': 'award'}, 'winner', 'Mitchell Kriegman'] [{'concept': 'film award'}, 'winner', 'Mitchell Kriegman'] [{'concept': 'award'}, 'winner', 'Justin Theroux'] [{'concept': 'film award'}, 'winner', 'Justin Theroux'] [{'concept': 'award'}, 'winner', 'Savannah Dooley'] [{'concept': 'film award'}, 'winner', 'Savannah Dooley'] [{'concept': 'award'}, 'winner', 'Bret Easton Ellis'] [{'concept': 'film award'}, 'winner', 'Bret Easton Ellis']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:winner resource:Alan_Arkin } UNION { ?y property:winner resource:Alan_Arkin } UNION { ?z property:winner resource:Mitchell_Lichtenstein } UNION { ?y property:winner resource:Mitchell_Lichtenstein } UNION { ?z property:winner resource:Chris_Abbott } UNION { ?y property:winner resource:Chris_Abbott } UNION { ?z property:winner resource:Barry_Primus } UNION { ?y property:winner resource:Barry_Primus } UNION { ?z property:winner resource:Diana_Gould } UNION { ?y property:winner resource:Diana_Gould } UNION { ?z property:winner resource:Melissa_Rosenberg } UNION { ?y property:winner resource:Melissa_Rosenberg } UNION { ?z property:winner resource:Alan_Arkin } UNION { ?y property:winner resource:Alan_Arkin } UNION { ?z property:winner resource:Mitchell_Kriegman } UNION { ?y property:winner resource:Mitchell_Kriegman } UNION { ?z property:winner resource:Justin_Theroux } UNION { ?y property:winner resource:Justin_Theroux } UNION { ?z property:winner resource:Savannah_Dooley } UNION { ?y property:winner resource:Savannah_Dooley } UNION { ?z property:winner resource:Bret_Easton_Ellis } UNION { ?y property:winner resource:Bret_Easton_Ellis } } . ?z rdf:type ontology:award . ?y rdf:type ontology:film_award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q960230 Q108283
P1411 P166
Q4220917
USER
Which film awards were received by Alan Arkin or were Joseph Walker nominated for ?
OR((Q108283,P166,c(Q4220917)), (Q960230,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q108283
relation P166
action find
entity Q960230
relation P1411
type Q4220917
{'OR': [['Q108283', 'P166', {'concept': 'Q4220917'}], ['Q960230', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q4220917 . { { resource:Q108283 property:P166 ?p } UNION { resource:Q960230 property:P1411 ?p } } }
Joseph Walker Alan Arkin
action filter_type
action union
action find
entity Alan Arkin
relation award received
action find
entity Joseph Walker
relation nominated for
type film award
{'OR': [['Alan Arkin', 'award received', {'concept': 'film award'}], ['Joseph Walker', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:film_award . { { resource:Alan_Arkin property:award_received ?p } UNION { resource:Joseph_Walker property:nominated_for ?p } } }
[]
film award
Q548389 Q181883 Q106291 Q21995139 Q21995136 Q131520
SYSTEM
BAFTA Award for Best Actor in a Supporting Role, Golden Globe Award for Best Actor – Motion Picture Musical or Comedy, Academy Award for Best Supporting Actor, Academy Award for Best Cinematography, Black-and-White, Academy Award for Best Cinematography, Color, Academy Award for Best Cinematography
Q548389 Q181883 Q106291 Q21995139 Q21995136 Q131520
OR((Q108283,P166,c(Q4220917)), (Q960230,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q108283
relation P166
action find
entity Q960230
relation P1411
type Q4220917
[ANSWERS] were received by Alan Arkin or were Joseph Walker nominated for
{'OR': [['Q108283', 'P166', {'concept': 'Q4220917'}], ['Q960230', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q4220917 . { { resource:Q108283 property:P166 ?p } UNION { resource:Q960230 property:P1411 ?p } } }
BAFTA Award for Best Actor in a Supporting Role Golden Globe Award for Best Actor – Motion Picture Musical or Comedy Academy Award for Best Supporting Actor Academy Award for Best Cinematography, Black-and-White Academy Award for Best Cinematography, Color Academy Award for Best Cinematography
BAFTA Award for Best Actor in a Supporting Role, Golden Globe Award for Best Actor – Motion Picture Musical or Comedy, Academy Award for Best Supporting Actor, Academy Award for Best Cinematography, Black-and-White, Academy Award for Best Cinematography, Color and Academy Award for Best Cinematography were received by Alan Arkin or were Joseph Walker nominated for
BAFTA Award for Best Actor in a Supporting Role Golden Globe Award for Best Actor – Motion Picture Musical or Comedy Academy Award for Best Supporting Actor Academy Award for Best Cinematography, Black-and-White Academy Award for Best Cinematography, Color Academy Award for Best Cinematography
action filter_type
action union
action find
entity Alan Arkin
relation award received
action find
entity Joseph Walker
relation nominated for
type film award
{'OR': [['Alan Arkin', 'award received', {'concept': 'film award'}], ['Joseph Walker', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:film_award . { { resource:Alan_Arkin property:award_received ?p } UNION { resource:Joseph_Walker property:nominated_for ?p } } }
[]