Simple Question (Direct)
Simple Question
Q11360388
P106
Q12737077
USER
Which occupations have Kōji Ueno as his/her 's career ?
(Q11360388,P106,c(Q12737077))
action filter_type
action find
entity Q11360388
relation P106
type Q12737077
['Q11360388', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q11360388 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Kōji Ueno
action filter_type
action find
entity Kōji Ueno
relation occupation
type occupation
['Kōji Ueno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Kōji_Ueno property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q822146 Q36834 Q183945
SYSTEM
lyricist, composer, record producer
Q183945 Q488205 Q1643514 Q639669 Q822146 Q36834
(Q11360388,P106,c(Q12737077))
action filter_type
action find
entity Q11360388
relation P106
type Q12737077
[ANSWERS] have Kōji Ueno as his/her 's career
['Q11360388', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q11360388 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
record producer singer-songwriter music arranger musician lyricist composer
Lyricist, composer and record producer have Kōji Ueno as his/her 's career
lyricist composer record producer
action filter_type
action find
entity Kōji Ueno
relation occupation
type occupation
['Kōji Ueno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Kōji_Ueno property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q786003
Q12737077
USER
And also tell me about Michael Ealy?
(Q786003,P106,c(Q12737077))
action filter_type
action find
entity Q786003
relation P106
type Q12737077
['Q786003', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q786003 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Michael Ealy
action filter_type
action find
entity Michael Ealy
relation occupation
type occupation
['Michael Ealy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Michael_Ealy property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999
SYSTEM
television actor, actor
Q10798782 Q33999
(Q786003,P106,c(Q12737077))
action filter_type
action find
entity Q786003
relation P106
type Q12737077
[ANSWERS]
['Q786003', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q786003 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
television actor actor
television actor actor
action filter_type
action find
entity Michael Ealy
relation occupation
type occupation
['Michael Ealy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Michael_Ealy property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786003
P1411
Q618779
USER
Which awards were that person a recipient of ?
(Q10798782,P1411,c(Q618779)) (Q33999,P1411,c(Q618779))
action filter_type
action find
entity Q786003
relation P1411
type Q618779
['Q10798782', 'P1411', {'concept': 'Q618779'}] ['Q33999', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q786003 property:P1411 ?m . ?m rdf:type ontology:Q618779 }
Michael Ealy
action filter_type
action find
entity Michael Ealy
relation nominated for
type award
['television actor', 'nominated for', {'concept': 'award'}] ['actor', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Michael_Ealy property:nominated_for ?m . ?m rdf:type ontology:award }
[]
award
Q1543426 Q1590605 Q6952053
SYSTEM
NAACP Image Award for Outstanding Actor in a Drama Series, NAACP Image Award for Outstanding Supporting Actor in a Motion Picture, NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special
Q1543426 Q1590605 Q6952053
(Q10798782,P1411,c(Q618779)) (Q33999,P1411,c(Q618779))
action filter_type
action find
entity Q786003
relation P1411
type Q618779
[ANSWERS]
['Q10798782', 'P1411', {'concept': 'Q618779'}] ['Q33999', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q786003 property:P1411 ?m . ?m rdf:type ontology:Q618779 }
NAACP Image Award for Outstanding Actor in a Drama Series NAACP Image Award for Outstanding Supporting Actor in a Motion Picture NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special
NAACP Image Award for Outstanding Actor in a Drama Series, NAACP Image Award for Outstanding supporting Actor in a Motion Picture and NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special were that person a recipient of
NAACP Image Award for Outstanding Actor in a Drama Series NAACP Image Award for Outstanding Supporting Actor in a Motion Picture NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special
action filter_type
action find
entity Michael Ealy
relation nominated for
type award
['television actor', 'nominated for', {'concept': 'award'}] ['actor', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Michael_Ealy property:nominated_for ?m . ?m rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786003
P69
Q159334
USER
Which secondary school is the alma mater of that person ?
(Q1543426,P69,c(Q159334)) (Q1590605,P69,c(Q159334)) (Q6952053,P69,c(Q159334))
action filter_type
action find
entity Q786003
relation P69
type Q159334
['Q1543426', 'P69', {'concept': 'Q159334'}] ['Q1590605', 'P69', {'concept': 'Q159334'}] ['Q6952053', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?x WHERE { resource:Q786003 property:P69 ?x . ?x rdf:type ontology:Q159334 }
Michael Ealy
action filter_type
action find
entity Michael Ealy
relation educated at
type secondary school
['NAACP Image Award for Outstanding Actor in a Drama Series', 'educated at', {'concept': 'secondary school'}] ['NAACP Image Award for Outstanding Supporting Actor in a Motion Picture', 'educated at', {'concept': 'secondary school'}] ['NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Ealy property:educated_at ?x . ?x rdf:type ontology:secondary_school }
[]
secondary school
Q7580820
SYSTEM
Springbrook High School
Q7580820
(Q1543426,P69,c(Q159334)) (Q1590605,P69,c(Q159334)) (Q6952053,P69,c(Q159334))
action filter_type
action find
entity Q786003
relation P69
type Q159334
[ANSWER] is the alma mater of that person
['Q1543426', 'P69', {'concept': 'Q159334'}] ['Q1590605', 'P69', {'concept': 'Q159334'}] ['Q6952053', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?x WHERE { resource:Q786003 property:P69 ?x . ?x rdf:type ontology:Q159334 }
Springbrook High School
Springbrook High School is the alma mater of that person
Springbrook High School
action filter_type
action find
entity Michael Ealy
relation educated at
type secondary school
['NAACP Image Award for Outstanding Actor in a Drama Series', 'educated at', {'concept': 'secondary school'}] ['NAACP Image Award for Outstanding Supporting Actor in a Motion Picture', 'educated at', {'concept': 'secondary school'}] ['NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Ealy property:educated_at ?x . ?x rdf:type ontology:secondary_school }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q15275719 Q2668072 Q618779
USER
Which awards are a component of atleast 1 recurring events and collections ?
(c(Q618779),P361,c(Q15275719)|c(Q2668072))
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q15275719
action find_tuple_counts
relation P361
type Q618779
type Q2668072
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q15275719'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:P361 ?p . ?c rdf:type ontology:Q618779 . ?p rdf:type ontology:Q15275719 } UNION { ?c property:P361 ?p . ?c rdf:type ontology:Q618779 . ?p rdf:type ontology:Q2668072 } } GROUP BY ?c } . FILTER ( ?k >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type award
type recurring event
action find_tuple_counts
relation part of
type award
type collection
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'recurring event'}, {'concept': 'collection'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:part_of ?p . ?c rdf:type ontology:award . ?p rdf:type ontology:recurring_event } UNION { ?c property:part_of ?p . ?c rdf:type ontology:award . ?p rdf:type ontology:collection } } GROUP BY ?c } . FILTER ( ?k >= 1 ) }
[]
recurring event collection award
Q3910742 Q1700510 Q674146
SYSTEM
Special Jury Prize, Golden Leopard, Leopard of Honour
Q1700510 Q674146 Q21071120 Q279820 Q1071326 Q3895781 Q3910742 Q15271575 Q21071119
(c(Q618779),P361,c(Q15275719)|c(Q2668072))
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q15275719
action find_tuple_counts
relation P361
type Q618779
type Q2668072
value 1
[ANSWERS] are a component of atleast 1 recurring events and collections
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q15275719'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:P361 ?p . ?c rdf:type ontology:Q618779 . ?p rdf:type ontology:Q15275719 } UNION { ?c property:P361 ?p . ?c rdf:type ontology:Q618779 . ?p rdf:type ontology:Q2668072 } } GROUP BY ?c } . FILTER ( ?k >= 1 ) }
Golden Leopard Leopard of Honour Toronto International Film Festival Award for Best Canadian First Feature Film Golden Calf Un Certain Regard Best Direction Award Special Jury Prize Sport Australia Hall of Fame Toronto International Film Festival Award for Best Canadian Film
Special Jury Prize, Golden Leopard and Leopard of Honour are a component of atleast 1 recurring events and collections
Special Jury Prize Golden Leopard Leopard of Honour
action atleast
action union
action find_tuple_counts
relation part of
type award
type recurring event
action find_tuple_counts
relation part of
type award
type collection
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'recurring event'}, {'concept': 'collection'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:part_of ?p . ?c rdf:type ontology:award . ?p rdf:type ontology:recurring_event } UNION { ?c property:part_of ?p . ?c rdf:type ontology:award . ?p rdf:type ontology:collection } } GROUP BY ?c } . FILTER ( ?k >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3910742 Q1700510 Q674146
P166
Q502895
USER
Which people won Special Jury Prize, Golden Leopard and Leopard of Honour ?
(c(Q502895),P166,Q3910742) (c(Q502895),P166,Q1700510) (c(Q502895),P166,Q674146)
action union
action filter_type
action find_reverse
entity Q3910742
relation P166
type Q502895
action filter_type
action find_reverse
entity Q1700510
relation P166
type Q502895
action filter_type
action find_reverse
entity Q674146
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q3910742'] [{'concept': 'Q502895'}, 'P166', 'Q1700510'] [{'concept': 'Q502895'}, 'P166', 'Q674146']
SELECT DISTINCT ?z WHERE { { ?z property:P166 resource:Q3910742 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P166 resource:Q1700510 . ?z rdf:type ontology:Q502895 } }
Special Jury Prize Golden Leopard Leopard of Honour
action union
action filter_type
action find_reverse
entity Special Jury Prize
relation award received
type common name
action filter_type
action find_reverse
entity Golden Leopard
relation award received
type common name
action filter_type
action find_reverse
entity Leopard of Honour
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Special Jury Prize'] [{'concept': 'common name'}, 'award received', 'Golden Leopard'] [{'concept': 'common name'}, 'award received', 'Leopard of Honour']
SELECT DISTINCT ?z WHERE { { ?z property:award_received resource:Special_Jury_Prize . ?z rdf:type ontology:common_name } UNION { ?z property:award_received resource:Golden_Leopard . ?z rdf:type ontology:common_name } }
[]
common name
Q53009 Q229990 Q53001
SYSTEM
Bernardo Bertolucci, Agnès Varda, Jean-Luc Godard
Q7060835 Q191755 Q31637 Q7743139 Q92313 Q2815783 Q55433 Q167475 Q114063 Q229990 Q474262 Q53009 Q53001 Q276186 Q51582 Q55411
(c(Q502895),P166,Q3910742) (c(Q502895),P166,Q1700510) (c(Q502895),P166,Q674146)
action union
action filter_type
action find_reverse
entity Q3910742
relation P166
type Q502895
action filter_type
action find_reverse
entity Q1700510
relation P166
type Q502895
action filter_type
action find_reverse
entity Q674146
relation P166
type Q502895
[ANSWERS] won Special Jury Prize, Golden Leopard and Leopard of Honour
[{'concept': 'Q502895'}, 'P166', 'Q3910742'] [{'concept': 'Q502895'}, 'P166', 'Q1700510'] [{'concept': 'Q502895'}, 'P166', 'Q674146']
SELECT DISTINCT ?z WHERE { { ?z property:P166 resource:Q3910742 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P166 resource:Q1700510 . ?z rdf:type ontology:Q502895 } }
Nadav Lapid Jim Jarmusch Jafar Panahi The Jester Angelina Maccarone The Visionaries Michelangelo Antonioni Jacques Rivette Ermanno Olmi Agnès Varda Amos Gitai Bernardo Bertolucci Jean-Luc Godard Aki Kaurismäki William Friedkin Wim Wenders
Bernardo Bertolucci, Agnès Varda and Jean-Luc Godard won Special Jury Prize, Golden Leopard and Leopard of Honour
Bernardo Bertolucci Agnès Varda Jean-Luc Godard
action union
action filter_type
action find_reverse
entity Special Jury Prize
relation award received
type common name
action filter_type
action find_reverse
entity Golden Leopard
relation award received
type common name
action filter_type
action find_reverse
entity Leopard of Honour
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Special Jury Prize'] [{'concept': 'common name'}, 'award received', 'Golden Leopard'] [{'concept': 'common name'}, 'award received', 'Leopard of Honour']
SELECT DISTINCT ?z WHERE { { ?z property:award_received resource:Special_Jury_Prize . ?z rdf:type ontology:common_name } UNION { ?z property:award_received resource:Golden_Leopard . ?z rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q53001
P344
Q838948
USER
Which work of art is that person assigned to as the director of photography ?
(c(Q838948),P344,Q53001)
action filter_type
action find_reverse
entity Q53001
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q53001']
SELECT DISTINCT ?f WHERE { ?f property:P344 resource:Q53001 . ?f rdf:type ontology:Q838948 }
Jean-Luc Godard
action filter_type
action find_reverse
entity Jean-Luc Godard
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Jean-Luc Godard']
SELECT DISTINCT ?f WHERE { ?f property:director_of_photography resource:Jean-Luc_Godard . ?f rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q53001
SYSTEM
Did you mean Jean-Luc Godard ?
Q53009 Q229990 Q53001
(c(Q838948),P344,Q53009) (c(Q838948),P344,Q229990) (c(Q838948),P344,Q53001)
[ANSWER]
[{'concept': 'Q838948'}, 'P344', 'Q53009'] [{'concept': 'Q838948'}, 'P344', 'Q229990'] [{'concept': 'Q838948'}, 'P344', 'Q53001']
SELECT DISTINCT ?f WHERE { ?f property:P344 resource:Q53001 . ?f rdf:type ontology:Q838948 }
Bernardo Bertolucci Agnès Varda Jean-Luc Godard
Did you mean Jean-Luc Godard ?
Jean-Luc Godard
[{'concept': 'work of art'}, 'director of photography', 'Bernardo Bertolucci'] [{'concept': 'work of art'}, 'director of photography', 'Agnès Varda'] [{'concept': 'work of art'}, 'director of photography', 'Jean-Luc Godard']
SELECT DISTINCT ?f WHERE { ?f property:director_of_photography resource:Jean-Luc_Godard . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P344,Q53001)
[{'concept': 'Q838948'}, 'P344', 'Q53001']
[{'concept': 'work of art'}, 'director of photography', 'Jean-Luc Godard']
[]
Q3549460
SYSTEM
Une femme coquette
Q3549460
(c(Q838948),P344,Q53001)
action filter_type
action find_reverse
entity Q53001
relation P344
type Q838948
[ANSWER] is that person assigned to as the director of photography
[{'concept': 'Q838948'}, 'P344', 'Q53001']
SELECT DISTINCT ?f WHERE { ?f property:P344 resource:Q53001 . ?f rdf:type ontology:Q838948 }
Une femme coquette
Une femme coquette is that person assigned to as the director of photography
Une femme coquette
action filter_type
action find_reverse
entity Jean-Luc Godard
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Jean-Luc Godard']
SELECT DISTINCT ?f WHERE { ?f property:director_of_photography resource:Jean-Luc_Godard . ?f rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3549460 Q177987 Q52572
P495
Q15617994
USER
Does that work of art originates at Planebruch and Francavilla in Sinni ?
(Q3549460,P495,Q177987) (Q3549460,P495,Q52572)
action is_in
entity Q3549460
action intersection
action find_reverse
entity Q177987
relation P495
action find_reverse
entity Q52572
relation P495
['Q3549460', 'P495', 'Q177987'] ['Q3549460', 'P495', 'Q52572']
ASK WHERE { resource:Q3549460 property:P495 resource:Q52572 . resource:Q3549460 property:P495 resource:Q177987 }
Une femme coquette Planebruch Francavilla in Sinni
action is_in
entity Une femme coquette
action intersection
action find_reverse
entity Planebruch
relation country of origin
action find_reverse
entity Francavilla in Sinni
relation country of origin
['Une femme coquette', 'country of origin', 'Planebruch'] ['Une femme coquette', 'country of origin', 'Francavilla in Sinni']
ASK WHERE { resource:Une_femme_coquette property:country_of_origin resource:Francavilla_in_Sinni . resource:Une_femme_coquette property:country_of_origin resource:Planebruch }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3549460,P495,Q177987) (Q3549460,P495,Q52572)
action is_in
entity Q3549460
action intersection
action find_reverse
entity Q177987
relation P495
action find_reverse
entity Q52572
relation P495
[ANSWER]
['Q3549460', 'P495', 'Q177987'] ['Q3549460', 'P495', 'Q52572']
ASK WHERE { resource:Q3549460 property:P495 resource:Q52572 . resource:Q3549460 property:P495 resource:Q177987 }
No
action is_in
entity Une femme coquette
action intersection
action find_reverse
entity Planebruch
relation country of origin
action find_reverse
entity Francavilla in Sinni
relation country of origin
['Une femme coquette', 'country of origin', 'Planebruch'] ['Une femme coquette', 'country of origin', 'Francavilla in Sinni']
ASK WHERE { resource:Une_femme_coquette property:country_of_origin resource:Francavilla_in_Sinni . resource:Une_femme_coquette property:country_of_origin resource:Planebruch }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q786003
P162 P495
Q838948
USER
Which works of art have been developed by Michael Ealy and originated in United States of America ?
AND((c(Q838948),P162,Q786003), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q786003
relation P162
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P162', 'Q786003'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?g WHERE { ?g property:P162 resource:Q786003 . ?g property:P495 resource:Q30 . ?g rdf:type ontology:Q838948 }
United States of America Michael Ealy
action filter_type
action intersection
action find_reverse
entity Michael Ealy
relation producer
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'producer', 'Michael Ealy'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?g WHERE { ?g property:producer resource:Michael_Ealy . ?g property:country_of_origin resource:United_States_of_America . ?g rdf:type ontology:work_of_art }
[]
work of art
Q727285
SYSTEM
Takers
Q727285
AND((c(Q838948),P162,Q786003), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q786003
relation P162
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWER] have been developed by Michael Ealy and originated in United States of America
{'AND': [[{'concept': 'Q838948'}, 'P162', 'Q786003'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?g WHERE { ?g property:P162 resource:Q786003 . ?g property:P495 resource:Q30 . ?g rdf:type ontology:Q838948 }
Takers
Takers have been developed by Michael Ealy and originated in United States of America
Takers
action filter_type
action intersection
action find_reverse
entity Michael Ealy
relation producer
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'producer', 'Michael Ealy'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?g WHERE { ?g property:producer resource:Michael_Ealy . ?g property:country_of_origin resource:United_States_of_America . ?g rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q727285 Q666745 Q155700
P161
Q502895
USER
Does that work of art have Gaius Charles and Chris Brown in its star cast ?
(Q727285,P161,Q666745) (Q727285,P161,Q155700)
action is_in
entity Q727285
action intersection
action find_reverse
entity Q666745
relation P161
action find_reverse
entity Q155700
relation P161
['Q727285', 'P161', 'Q666745'] ['Q727285', 'P161', 'Q155700']
ASK WHERE { resource:Q727285 property:P161 resource:Q666745 . resource:Q727285 property:P161 resource:Q155700 }
Takers Gaius Charles Chris Brown
action is_in
entity Takers
action intersection
action find_reverse
entity Gaius Charles
relation cast member
action find_reverse
entity Chris Brown
relation cast member
['Takers', 'cast member', 'Gaius Charles'] ['Takers', 'cast member', 'Chris Brown']
ASK WHERE { resource:Takers property:cast_member resource:Gaius_Charles . resource:Takers property:cast_member resource:Chris_Brown }
[]
common name
SYSTEM
YES
(Q727285,P161,Q666745) (Q727285,P161,Q155700)
action is_in
entity Q727285
action intersection
action find_reverse
entity Q666745
relation P161
action find_reverse
entity Q155700
relation P161
[ANSWER]
['Q727285', 'P161', 'Q666745'] ['Q727285', 'P161', 'Q155700']
ASK WHERE { resource:Q727285 property:P161 resource:Q666745 . resource:Q727285 property:P161 resource:Q155700 }
Yes
action is_in
entity Takers
action intersection
action find_reverse
entity Gaius Charles
relation cast member
action find_reverse
entity Chris Brown
relation cast member
['Takers', 'cast member', 'Gaius Charles'] ['Takers', 'cast member', 'Chris Brown']
ASK WHERE { resource:Takers property:cast_member resource:Gaius_Charles . resource:Takers property:cast_member resource:Chris_Brown }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q674146 Q502053
P361
Q15275719
USER
Is Leopard of Honour a portion of Locarno International Film Festival ?
(Q674146,P361,Q502053)
action is_in
entity Q502053
action find
entity Q674146
relation P361
['Q674146', 'P361', 'Q502053']
ASK WHERE { resource:Q674146 property:P361 resource:Q502053 }
Leopard of Honour Locarno International Film Festival
action is_in
entity Locarno International Film Festival
action find
entity Leopard of Honour
relation part of
['Leopard of Honour', 'part of', 'Locarno International Film Festival']
ASK WHERE { resource:Leopard_of_Honour property:part_of resource:Locarno_International_Film_Festival }
[]
recurring event
SYSTEM
YES
(Q674146,P361,Q502053)
action is_in
entity Q502053
action find
entity Q674146
relation P361
[ANSWER]
['Q674146', 'P361', 'Q502053']
ASK WHERE { resource:Q674146 property:P361 resource:Q502053 }
Yes
action is_in
entity Locarno International Film Festival
action find
entity Leopard of Honour
relation part of
['Leopard of Honour', 'part of', 'Locarno International Film Festival']
ASK WHERE { resource:Leopard_of_Honour property:part_of resource:Locarno_International_Film_Festival }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q53001
P1411
Q4220917
USER
How many film awards did Jean-Luc Godard receive ?
(Q53001,P1411,c(Q4220917))
action count
action filter_type
action find
entity Q53001
relation P1411
type Q4220917
['Q53001', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q53001 property:P1411 ?f . ?f rdf:type ontology:Q4220917 }
Jean-Luc Godard
action count
action filter_type
action find
entity Jean-Luc Godard
relation nominated for
type film award
['Jean-Luc Godard', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Jean-Luc_Godard property:nominated_for ?f . ?f rdf:type ontology:film_award }
[]
film award
SYSTEM
3
Q1377736 Q1377777 Q1315008
(Q53001,P1411,c(Q4220917))
action count
action filter_type
action find
entity Q53001
relation P1411
type Q4220917
[ANSWER]
['Q53001', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q53001 property:P1411 ?f . ?f rdf:type ontology:Q4220917 }
European Film Award for Best Composer European Film Award for Best Screenwriter National Society of Film Critics Award for Best Director
3
action count
action filter_type
action find
entity Jean-Luc Godard
relation nominated for
type film award
['Jean-Luc Godard', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Jean-Luc_Godard property:nominated_for ?f . ?f rdf:type ontology:film_award }
[]