Simple Question (Direct)
Simple Question
Q7833003
P161
Q502895
USER
Who were casted in Trains of Winnipeg ?
(Q7833003,P161,c(Q502895))
action filter_type
action find
entity Q7833003
relation P161
type Q502895
['Q7833003', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q7833003 property:P161 ?o . ?o rdf:type ontology:Q502895 }
Trains of Winnipeg
action filter_type
action find
entity Trains of Winnipeg
relation cast member
type common name
['Trains of Winnipeg', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Trains_of_Winnipeg property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
common name
Q6163590 Q5111015
SYSTEM
Jason Tait, Christine Fellows
Q6163590 Q5111015
(Q7833003,P161,c(Q502895))
action filter_type
action find
entity Q7833003
relation P161
type Q502895
[ANSWERS] were casted in Trains of Winnipeg
['Q7833003', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q7833003 property:P161 ?o . ?o rdf:type ontology:Q502895 }
Jason Tait Christine Fellows
Jason Tait and Christine Fellows were casted in Trains of Winnipeg
Jason Tait Christine Fellows
action filter_type
action find
entity Trains of Winnipeg
relation cast member
type common name
['Trains of Winnipeg', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Trains_of_Winnipeg property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6163590 Q5111015
P161
Q838948
USER
Which works of art stars those people as actor ?
(c(Q838948),P161,Q6163590) (c(Q838948),P161,Q5111015)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6163590'] [{'concept': 'Q838948'}, 'P161', 'Q5111015']
SELECT DISTINCT ?o WHERE { ?o property:P161 ?b . ?o rdf:type ontology:Q838948 . VALUES ( ?b ) { ( resource:Q6163590 ) ( resource:Q5111015 ) } }
Jason Tait Christine Fellows
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jason Tait'] [{'concept': 'work of art'}, 'cast member', 'Christine Fellows']
SELECT DISTINCT ?o WHERE { ?o property:cast_member ?b . ?o rdf:type ontology:work_of_art . VALUES ( ?b ) { ( resource:Jason_Tait ) ( resource:Christine_Fellows ) } }
[]
work of art
Q7833003
SYSTEM
Trains of Winnipeg
Q7833003
(c(Q838948),P161,Q6163590) (c(Q838948),P161,Q5111015)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[ANSWER] stars those people as actor
[{'concept': 'Q838948'}, 'P161', 'Q6163590'] [{'concept': 'Q838948'}, 'P161', 'Q5111015']
SELECT DISTINCT ?o WHERE { ?o property:P161 ?b . ?o rdf:type ontology:Q838948 . VALUES ( ?b ) { ( resource:Q6163590 ) ( resource:Q5111015 ) } }
Trains of Winnipeg
Trains of Winnipeg stars those people as actor
Trains of Winnipeg
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jason Tait'] [{'concept': 'work of art'}, 'cast member', 'Christine Fellows']
SELECT DISTINCT ?o WHERE { ?o property:cast_member ?b . ?o rdf:type ontology:work_of_art . VALUES ( ?b ) { ( resource:Jason_Tait ) ( resource:Christine_Fellows ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6163590
P162
Q838948
USER
Which work of art has been produced by Jason Tait ?
(c(Q838948),P162,Q7833003)
action filter_type
action find_reverse
entity Q6163590
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q7833003']
SELECT DISTINCT ?j WHERE { ?j property:P162 resource:Q6163590 . ?j rdf:type ontology:Q838948 }
Jason Tait
action filter_type
action find_reverse
entity Jason Tait
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Trains of Winnipeg']
SELECT DISTINCT ?j WHERE { ?j property:producer resource:Jason_Tait . ?j rdf:type ontology:work_of_art }
[]
work of art
Q7833003
SYSTEM
Trains of Winnipeg
Q7833003
(c(Q838948),P162,Q7833003)
action filter_type
action find_reverse
entity Q6163590
relation P162
type Q838948
The [ANSWER] has been produced by Jason Tait
[{'concept': 'Q838948'}, 'P162', 'Q7833003']
SELECT DISTINCT ?j WHERE { ?j property:P162 resource:Q6163590 . ?j rdf:type ontology:Q838948 }
Trains of Winnipeg
The Trains of Winnipeg has been produced by Jason Tait
Trains of Winnipeg
action filter_type
action find_reverse
entity Jason Tait
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Trains of Winnipeg']
SELECT DISTINCT ?j WHERE { ?j property:producer resource:Jason_Tait . ?j rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7833003 Q739272
P495
Q1048835
USER
Is Muqui, Espírito Santo the origin of that work of art ?
(Q7833003,P495,Q739272)
action is_in
entity Q739272
action find
entity Q7833003
relation P495
['Q7833003', 'P495', 'Q739272']
ASK WHERE { resource:Q7833003 property:P495 resource:Q739272 }
Trains of Winnipeg Muqui, Espírito Santo
action is_in
entity Muqui, Espírito Santo
action find
entity Trains of Winnipeg
relation country of origin
['Trains of Winnipeg', 'country of origin', 'Muqui, Espírito Santo']
ASK WHERE { resource:Trains_of_Winnipeg property:country_of_origin resource:Muqui,_Espírito_Santo }
[]
political territorial entity
SYSTEM
NO
(Q7833003,P495,Q739272)
action is_in
entity Q739272
action find
entity Q7833003
relation P495
[ANSWER]
['Q7833003', 'P495', 'Q739272']
ASK WHERE { resource:Q7833003 property:P495 resource:Q739272 }
No
action is_in
entity Muqui, Espírito Santo
action find
entity Trains of Winnipeg
relation country of origin
['Trains of Winnipeg', 'country of origin', 'Muqui, Espírito Santo']
ASK WHERE { resource:Trains_of_Winnipeg property:country_of_origin resource:Muqui,_Espírito_Santo }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7833003
P58
Q502895
USER
Who wrote the script for that work of art ?
action filter_type
action find
entity Q7833003
relation P58
type Q502895
SELECT DISTINCT ?e WHERE { resource:Q7833003 property:P58 ?e . ?e rdf:type ontology:Q502895 }
Trains of Winnipeg
action filter_type
action find
entity Trains of Winnipeg
relation screenwriter
type common name
SELECT DISTINCT ?e WHERE { resource:Trains_of_Winnipeg property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5134599
SYSTEM
Clive Holden
Q5134599
action filter_type
action find
entity Q7833003
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
SELECT DISTINCT ?e WHERE { resource:Q7833003 property:P58 ?e . ?e rdf:type ontology:Q502895 }
Clive Holden
Clive Holden wrote the script for that work of art
Clive Holden
action filter_type
action find
entity Trains of Winnipeg
relation screenwriter
type common name
SELECT DISTINCT ?e WHERE { resource:Trains_of_Winnipeg property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5134599 Q7758790
P57
Q838948
USER
Is that person a director of The Purifiers ?
(Q7758790,P57,Q5134599)
action is_in
entity Q7758790
action find
entity Q5134599
relation P57
['Q7758790', 'P57', 'Q5134599']
ASK WHERE { resource:Q5134599 property:P57 resource:Q7758790 }
Clive Holden The Purifiers
action is_in
entity The Purifiers
action find
entity Clive Holden
relation director
['The Purifiers', 'director', 'Clive Holden']
ASK WHERE { resource:Clive_Holden property:director resource:The_Purifiers }
[]
work of art
SYSTEM
NO
(Q7758790,P57,Q5134599)
action is_in
entity Q7758790
action find
entity Q5134599
relation P57
[ANSWER]
['Q7758790', 'P57', 'Q5134599']
ASK WHERE { resource:Q5134599 property:P57 resource:Q7758790 }
No
action is_in
entity The Purifiers
action find
entity Clive Holden
relation director
['The Purifiers', 'director', 'Clive Holden']
ASK WHERE { resource:Clive_Holden property:director resource:The_Purifiers }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
Which applications have been dubbed by atleast 23 people ?
(c(Q166142),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 23
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u property:P725 ?j . ?u rdf:type ontology:Q166142 . ?j rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?g >= 23 ) }
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 23
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u property:voice_actor ?j . ?u rdf:type ontology:application . ?j rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?g >= 23 ) }
[]
common name application
Q843131 Q1371603 Q2666042
SYSTEM
Super Smash Bros. Brawl, Star Fox 64 3D, Star Fox: Assault
Q843131 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 23
[ANSWERS] have been dubbed by atleast 23 people
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u property:P725 ?j . ?u rdf:type ontology:Q166142 . ?j rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?g >= 23 ) }
Super Smash Bros. Brawl Star Fox 64 3D Star Fox: Assault
Super Smash Bros. Brawl, Star Fox 64 3D and Star Fox: Assault have been dubbed by atleast 23 people
Super Smash Bros. Brawl Star Fox 64 3D Star Fox: Assault
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 23
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u property:voice_actor ?j . ?u rdf:type ontology:application . ?j rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?g >= 23 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q166142 Q386724
USER
Which works represents a fictional universe described in min number of applications ?
(c(Q386724),P1445,c(Q166142))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q166142
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?q ) WHERE { ?y property:P1445 ?g . ?y rdf:type ontology:Q386724 . ?g rdf:type ontology:Q166142 } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?w ) WHERE { ?k property:P1445 ?n . ?k rdf:type ontology:Q386724 . ?n rdf:type ontology:Q166142 } GROUP BY ?k } . FILTER ( ?w = ?m ) }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?q ) WHERE { ?y property:fictional_universe_described_in ?g . ?y rdf:type ontology:work . ?g rdf:type ontology:application } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?w ) WHERE { ?k property:fictional_universe_described_in ?n . ?k rdf:type ontology:work . ?n rdf:type ontology:application } GROUP BY ?k } . FILTER ( ?w = ?m ) }
[]
application work
Q15731902 Q11927 Q3177580
SYSTEM
Aladdin media franchise, Stargate, The Walking Dead
Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q166142))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q166142
[ANSWERS] represent a fictional universe described in min number of applications
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?q ) WHERE { ?y property:P1445 ?g . ?y rdf:type ontology:Q386724 . ?g rdf:type ontology:Q166142 } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?w ) WHERE { ?k property:P1445 ?n . ?k rdf:type ontology:Q386724 . ?n rdf:type ontology:Q166142 } GROUP BY ?k } . FILTER ( ?w = ?m ) }
Aladdin media franchise Stargate The Walking Dead
Aladdin media franchise, Stargate and The Walking Dead represent a fictional universe described in min number of applications
Aladdin media franchise Stargate The Walking Dead
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?q ) WHERE { ?y property:fictional_universe_described_in ?g . ?y rdf:type ontology:work . ?g rdf:type ontology:application } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?w ) WHERE { ?k property:fictional_universe_described_in ?n . ?k rdf:type ontology:work . ?n rdf:type ontology:application } GROUP BY ?k } . FILTER ( ?w = ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6203057 Q739272
P17
Q15617994
USER
Which administrative territories are Muqui, Espírito Santo or Jirighat located in ?
OR((Q739272,P17,c(Q15617994)), (Q6203057,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q739272
relation P17
action find
entity Q6203057
relation P17
type Q15617994
{'OR': [['Q739272', 'P17', {'concept': 'Q15617994'}], ['Q6203057', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q739272 property:P17 ?d } UNION { resource:Q6203057 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Jirighat Muqui, Espírito Santo
action filter_type
action union
action find
entity Muqui, Espírito Santo
relation country
action find
entity Jirighat
relation country
type designation for an administrative territorial entity
{'OR': [['Muqui, Espírito Santo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jirighat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Muqui,_Espírito_Santo property:country ?d } UNION { resource:Jirighat property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q668
SYSTEM
Brazil, India
Q155 Q668
OR((Q739272,P17,c(Q15617994)), (Q6203057,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q739272
relation P17
action find
entity Q6203057
relation P17
type Q15617994
[ANSWERS] are Muqui, Espírito Santo or Jirighat located in
{'OR': [['Q739272', 'P17', {'concept': 'Q15617994'}], ['Q6203057', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q739272 property:P17 ?d } UNION { resource:Q6203057 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Brazil India
Brazil and India are Muqui, Espírito Santo or Jirighat located in
Brazil India
action filter_type
action union
action find
entity Muqui, Espírito Santo
relation country
action find
entity Jirighat
relation country
type designation for an administrative territorial entity
{'OR': [['Muqui, Espírito Santo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jirighat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Muqui,_Espírito_Santo property:country ?d } UNION { resource:Jirighat property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have diplomatic associations with those ones ?
(Q184,P530,Q155) (Q184,P530,Q668)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q668']
ASK WHERE { resource:Q184 property:P530 ?h . VALUES ( ?h ) { ( resource:Q155 ) ( resource:Q668 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'India']
ASK WHERE { resource:Belarus property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Brazil ) ( resource:India ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q155) (Q184,P530,Q668)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q668']
ASK WHERE { resource:Q184 property:P530 ?h . VALUES ( ?h ) { ( resource:Q155 ) ( resource:Q668 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'India']
ASK WHERE { resource:Belarus property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Brazil ) ( resource:India ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3227523 Q6203057
P17
Q15617994
USER
Which administrative territories are Jirighat or Le Tanet present in ?
OR((Q6203057,P17,c(Q15617994)), (Q3227523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6203057
relation P17
action find
entity Q3227523
relation P17
type Q15617994
{'OR': [['Q6203057', 'P17', {'concept': 'Q15617994'}], ['Q3227523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:P17 ?o . VALUES ( ?u ) { ( resource:Q6203057 ) ( resource:Q3227523 ) } } . ?o rdf:type ontology:Q15617994 }
Le Tanet Jirighat
action filter_type
action union
action find
entity Jirighat
relation country
action find
entity Le Tanet
relation country
type designation for an administrative territorial entity
{'OR': [['Jirighat', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Le Tanet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:country ?o . VALUES ( ?u ) { ( resource:Jirighat ) ( resource:Le_Tanet ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q668
SYSTEM
France, India
Q142 Q668
OR((Q6203057,P17,c(Q15617994)), (Q3227523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6203057
relation P17
action find
entity Q3227523
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q6203057', 'P17', {'concept': 'Q15617994'}], ['Q3227523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:P17 ?o . VALUES ( ?u ) { ( resource:Q6203057 ) ( resource:Q3227523 ) } } . ?o rdf:type ontology:Q15617994 }
France India
Which administrative territories are Jirighat or Le Tanet present in
France India
action filter_type
action union
action find
entity Jirighat
relation country
action find
entity Le Tanet
relation country
type designation for an administrative territorial entity
{'OR': [['Jirighat', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Le Tanet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:country ?o . VALUES ( ?u ) { ( resource:Jirighat ) ( resource:Le_Tanet ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]