Simple Question (Direct)
Simple Question
Q1056792
P344
Q502895
USER
Which person serves as the director of photography for Born to the West ?
(Q1056792,P344,c(Q502895))
action filter_type
action find
entity Q1056792
relation P344
type Q502895
['Q1056792', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1056792 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Born to the West
action filter_type
action find
entity Born to the West
relation director of photography
type common name
['Born to the West', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Born_to_the_West property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
common name
Q13461808
SYSTEM
Devereux Jennings
Q13461808
(Q1056792,P344,c(Q502895))
action filter_type
action find
entity Q1056792
relation P344
type Q502895
[ANSWER] serves as the director of photography for Born to the West
['Q1056792', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1056792 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Devereux Jennings
Devereux Jennings serves as the director of photography for Born to the West
Devereux Jennings
action filter_type
action find
entity Born to the West
relation director of photography
type common name
['Born to the West', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Born_to_the_West property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13461808
P19
Q56061
USER
Where was that person born ?
(Q13461808,P19,c(Q56061))
action filter_type
action find
entity Q13461808
relation P19
type Q56061
['Q13461808', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q13461808 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Devereux Jennings
action filter_type
action find
entity Devereux Jennings
relation place of birth
type administrative territorial entity
['Devereux Jennings', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Devereux_Jennings property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23337
SYSTEM
Salt Lake City
Q23337
(Q13461808,P19,c(Q56061))
action filter_type
action find
entity Q13461808
relation P19
type Q56061
That person was born in [ANSWER]
['Q13461808', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q13461808 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Salt Lake City
That person was born in Salt Lake City
Salt Lake City
action filter_type
action find
entity Devereux Jennings
relation place of birth
type administrative territorial entity
['Devereux Jennings', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Devereux_Jennings property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23337
P36
Q852446
USER
Which US administrative territory has that administrative territory as its administrative centre ?
(c(Q852446),P36,Q23337)
action filter_type
action find_reverse
entity Q23337
relation P36
type Q852446
[{'concept': 'Q852446'}, 'P36', 'Q23337']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q23337 . ?u rdf:type ontology:Q852446 }
Salt Lake City
action filter_type
action find_reverse
entity Salt Lake City
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Salt Lake City']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Salt_Lake_City . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q829
SYSTEM
Utah
Q829
(c(Q852446),P36,Q23337)
action filter_type
action find_reverse
entity Q23337
relation P36
type Q852446
[ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q852446'}, 'P36', 'Q23337']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q23337 . ?u rdf:type ontology:Q852446 }
Utah
Utah has that administrative territory as its administrative centre
Utah
action filter_type
action find_reverse
entity Salt Lake City
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Salt Lake City']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Salt_Lake_City . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q829
P194
Q11204
USER
Which legislature is the legislative body for that US administrative territory ?
(Q829,P194,c(Q11204))
action filter_type
action find
entity Q829
relation P194
type Q11204
['Q829', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?x WHERE { resource:Q829 property:P194 ?x . ?x rdf:type ontology:Q11204 }
Utah
action filter_type
action find
entity Utah
relation legislative body
type legislature
['Utah', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?x WHERE { resource:Utah property:legislative_body ?x . ?x rdf:type ontology:legislature }
[]
legislature
Q2384499
SYSTEM
Utah State Legislature
Q2384499
(Q829,P194,c(Q11204))
action filter_type
action find
entity Q829
relation P194
type Q11204
[ANSWER] is the legislative body for that US administrative territory
['Q829', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?x WHERE { resource:Q829 property:P194 ?x . ?x rdf:type ontology:Q11204 }
Utah State Legislature
Utah State Legislature is the legislative body for that US administrative territory
Utah State Legislature
action filter_type
action find
entity Utah
relation legislative body
type legislature
['Utah', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?x WHERE { resource:Utah property:legislative_body ?x . ?x rdf:type ontology:legislature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q838948 Q15619164 Q95074
USER
Which works of art are max number of abstract beings and fictional characters shown in ?
(c(Q15619164)|c(Q95074),P1441,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
[[{'concept': 'Q15619164'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?x WHERE { { ?h property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?h rdf:type ontology:Q15619164 } UNION { ?h property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?h rdf:type ontology:Q95074 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?a WHERE { { ?d property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?d rdf:type ontology:Q15619164 } UNION { ?d property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?d rdf:type ontology:Q95074 } } GROUP BY ?a } . FILTER ( ?e = ?m ) }
action argmax
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
[[{'concept': 'abstract being'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?x WHERE { { ?h property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?h rdf:type ontology:abstract_being } UNION { ?h property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?h rdf:type ontology:fictional_character } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?a WHERE { { ?d property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?d rdf:type ontology:abstract_being } UNION { ?d property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?d rdf:type ontology:fictional_character } } GROUP BY ?a } . FILTER ( ?e = ?m ) }
[]
work of art abstract being fictional character
Q15624215
SYSTEM
Lucy
Q15624215
(c(Q15619164)|c(Q95074),P1441,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
[ANSWER] is max number of abstract beings and fictional characters shown in
[[{'concept': 'Q15619164'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?x WHERE { { ?h property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?h rdf:type ontology:Q15619164 } UNION { ?h property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?h rdf:type ontology:Q95074 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?a WHERE { { ?d property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?d rdf:type ontology:Q15619164 } UNION { ?d property:P1441 ?a . ?a rdf:type ontology:Q838948 . ?d rdf:type ontology:Q95074 } } GROUP BY ?a } . FILTER ( ?e = ?m ) }
Lucy
Lucy is max number of abstract beings and fictional characters shown in
Lucy
action argmax
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
[[{'concept': 'abstract being'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?x WHERE { { ?h property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?h rdf:type ontology:abstract_being } UNION { ?h property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?h rdf:type ontology:fictional_character } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?a WHERE { { ?d property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?d rdf:type ontology:abstract_being } UNION { ?d property:present_in_work ?a . ?a rdf:type ontology:work_of_art . ?d rdf:type ontology:fictional_character } } GROUP BY ?a } . FILTER ( ?e = ?m ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15624215
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q15624215,P364,c(Q34770))
action filter_type
action find
entity Q15624215
relation P364
type Q34770
['Q15624215', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q15624215 property:P364 ?g . ?g rdf:type ontology:Q34770 }
Lucy
action filter_type
action find
entity Lucy
relation original language of work
type language
['Lucy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Lucy property:original_language_of_work ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q15624215,P364,c(Q34770))
action filter_type
action find
entity Q15624215
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q15624215', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q15624215 property:P364 ?g . ?g rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Lucy
relation original language of work
type language
['Lucy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Lucy property:original_language_of_work ?g . ?g rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15624215
P1040
Q502895
USER
Which person is the editor of that work of art ?
(Q1860,P1040,c(Q502895))
action filter_type
action find
entity Q15624215
relation P1040
type Q502895
['Q1860', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15624215 property:P1040 ?o . ?o rdf:type ontology:Q502895 }
Lucy
action filter_type
action find
entity Lucy
relation film editor
type common name
['English', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Lucy property:film_editor ?o . ?o rdf:type ontology:common_name }
[]
common name
Q484779
SYSTEM
Luc Besson
Q484779
(Q1860,P1040,c(Q502895))
action filter_type
action find
entity Q15624215
relation P1040
type Q502895
[ANSWER] is the editor of that work of art
['Q1860', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15624215 property:P1040 ?o . ?o rdf:type ontology:Q502895 }
Luc Besson
Luc Besson is the editor of that work of art
Luc Besson
action filter_type
action find
entity Lucy
relation film editor
type common name
['English', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Lucy property:film_editor ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q484779 Q90 Q6806994
P19
Q56061
USER
Does that person have location of birth at Paris and Medipally ?
(Q484779,P19,Q90) (Q484779,P19,Q6806994)
action is_in
entity Q484779
action intersection
action find_reverse
entity Q90
relation P19
action find_reverse
entity Q6806994
relation P19
['Q484779', 'P19', 'Q90'] ['Q484779', 'P19', 'Q6806994']
ASK WHERE { resource:Q484779 property:P19 resource:Q90 . resource:Q484779 property:P19 resource:Q6806994 }
Luc Besson Paris Medipally
action is_in
entity Luc Besson
action intersection
action find_reverse
entity Paris
relation place of birth
action find_reverse
entity Medipally
relation place of birth
['Luc Besson', 'place of birth', 'Paris'] ['Luc Besson', 'place of birth', 'Medipally']
ASK WHERE { resource:Luc_Besson property:place_of_birth resource:Paris . resource:Luc_Besson property:place_of_birth resource:Medipally }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q484779,P19,Q90) (Q484779,P19,Q6806994)
action is_in
entity Q484779
action intersection
action find_reverse
entity Q90
relation P19
action find_reverse
entity Q6806994
relation P19
[ANSWER]
['Q484779', 'P19', 'Q90'] ['Q484779', 'P19', 'Q6806994']
ASK WHERE { resource:Q484779 property:P19 resource:Q90 . resource:Q484779 property:P19 resource:Q6806994 }
YES and NO respectively
action is_in
entity Luc Besson
action intersection
action find_reverse
entity Paris
relation place of birth
action find_reverse
entity Medipally
relation place of birth
['Luc Besson', 'place of birth', 'Paris'] ['Luc Besson', 'place of birth', 'Medipally']
ASK WHERE { resource:Luc_Besson property:place_of_birth resource:Paris . resource:Luc_Besson property:place_of_birth resource:Medipally }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1056792 Q16730687
P161
Q502895
USER
Is Hugh Keevins in Born to the West ?
(Q1056792,P161,Q16730687)
action is_in
entity Q16730687
action find
entity Q1056792
relation P161
['Q1056792', 'P161', 'Q16730687']
ASK WHERE { resource:Q1056792 property:P161 resource:Q16730687 }
Born to the West Hugh Keevins
action is_in
entity Hugh Keevins
action find
entity Born to the West
relation cast member
['Born to the West', 'cast member', 'Hugh Keevins']
ASK WHERE { resource:Born_to_the_West property:cast_member resource:Hugh_Keevins }
[]
common name
SYSTEM
NO
(Q1056792,P161,Q16730687)
action is_in
entity Q16730687
action find
entity Q1056792
relation P161
[ANSWER]
['Q1056792', 'P161', 'Q16730687']
ASK WHERE { resource:Q1056792 property:P161 resource:Q16730687 }
No
action is_in
entity Hugh Keevins
action find
entity Born to the West
relation cast member
['Born to the West', 'cast member', 'Hugh Keevins']
ASK WHERE { resource:Born_to_the_West property:cast_member resource:Hugh_Keevins }
[]