Simple Question (Direct)
Simple Question
Q3415515
P915
Q1048835
USER
Where was Warlords of the 21st Century filmed ?
(Q3415515,P915,c(Q1048835))
action filter_type
action find
entity Q3415515
relation P915
type Q1048835
['Q3415515', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q3415515 property:P915 ?f . ?f rdf:type ontology:Q1048835 }
Warlords of the 21st Century
action filter_type
action find
entity Warlords of the 21st Century
relation filming location
type political territorial entity
['Warlords of the 21st Century', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Warlords_of_the_21st_Century property:filming_location ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q3415515,P915,c(Q1048835))
action filter_type
action find
entity Q3415515
relation P915
type Q1048835
Warlords of the 21st Century was filmed in [ANSWER]
['Q3415515', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q3415515 property:P915 ?f . ?f rdf:type ontology:Q1048835 }
New Zealand
Warlords of the 21st Century was filmed in New Zealand
New Zealand
action filter_type
action find
entity Warlords of the 21st Century
relation filming location
type political territorial entity
['Warlords of the 21st Century', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Warlords_of_the_21st_Century property:filming_location ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3415515
P161
Q502895
USER
Which people starred in that work of art ?
(Q664,P161,c(Q502895))
action filter_type
action find
entity Q3415515
relation P161
type Q502895
['Q664', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3415515 property:P161 ?s . ?s rdf:type ontology:Q502895 }
Warlords of the 21st Century
action filter_type
action find
entity Warlords of the 21st Century
relation cast member
type common name
['New Zealand', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Warlords_of_the_21st_Century property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
common name
Q268118 Q374093 Q993459
SYSTEM
Kelly Johnson, John Ratzenberger, Bruno Lawrence
Q724812 Q374093 Q268118 Q1900087 Q993459 Q2851685 Q7292376 Q3418834 Q780432
(Q664,P161,c(Q502895))
action filter_type
action find
entity Q3415515
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q664', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3415515 property:P161 ?s . ?s rdf:type ontology:Q502895 }
Michael Beck John Ratzenberger Kelly Johnson Mark Hadlow Bruno Lawrence Annie McEnroe Randy Powell Randolph Powell John Bach
Kelly Johnson, John Ratzenberger and Bruno Lawrence starred in that work of art
Kelly Johnson John Ratzenberger Bruno Lawrence
action filter_type
action find
entity Warlords of the 21st Century
relation cast member
type common name
['New Zealand', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Warlords_of_the_21st_Century property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3415515
P161
Q838948
USER
Does Warlords of the 21st Century star those people as actor ?
(Q3415515,P161,Q268118) (Q3415515,P161,Q374093) (Q3415515,P161,Q993459)
action is_in
entity prev_answer
action find
entity Q3415515
relation P161
['Q3415515', 'P161', 'Q268118'] ['Q3415515', 'P161', 'Q374093'] ['Q3415515', 'P161', 'Q993459']
ASK WHERE { resource:Q3415515 property:P161 ?w . VALUES ( ?w ) { ( resource:Q724812 ) ( resource:Q374093 ) ( resource:Q268118 ) } }
Warlords of the 21st Century
action is_in
entity prev_answer
action find
entity Warlords of the 21st Century
relation cast member
['Warlords of the 21st Century', 'cast member', 'Kelly Johnson'] ['Warlords of the 21st Century', 'cast member', 'John Ratzenberger'] ['Warlords of the 21st Century', 'cast member', 'Bruno Lawrence']
ASK WHERE { resource:Warlords_of_the_21st_Century property:cast_member ?w . VALUES ( ?w ) { ( resource:Michael_Beck ) ( resource:John_Ratzenberger ) ( resource:Kelly_Johnson ) } }
[]
work of art
SYSTEM
YES
(Q3415515,P161,Q268118) (Q3415515,P161,Q374093) (Q3415515,P161,Q993459)
action is_in
entity prev_answer
action find
entity Q3415515
relation P161
[ANSWER]
['Q3415515', 'P161', 'Q268118'] ['Q3415515', 'P161', 'Q374093'] ['Q3415515', 'P161', 'Q993459']
ASK WHERE { resource:Q3415515 property:P161 ?w . VALUES ( ?w ) { ( resource:Q724812 ) ( resource:Q374093 ) ( resource:Q268118 ) } }
Yes
action is_in
entity prev_answer
action find
entity Warlords of the 21st Century
relation cast member
['Warlords of the 21st Century', 'cast member', 'Kelly Johnson'] ['Warlords of the 21st Century', 'cast member', 'John Ratzenberger'] ['Warlords of the 21st Century', 'cast member', 'Bruno Lawrence']
ASK WHERE { resource:Warlords_of_the_21st_Century property:cast_member ?w . VALUES ( ?w ) { ( resource:Michael_Beck ) ( resource:John_Ratzenberger ) ( resource:Kelly_Johnson ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q374093
P725
Q1001378
USER
Which cinematic techniques did John Ratzenberger do the dubbing for ?
(c(Q1001378),P725,Q374093)
action filter_type
action find_reverse
entity Q374093
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', 'Q374093']
SELECT DISTINCT ?g WHERE { ?g property:P725 resource:Q374093 . ?g rdf:type ontology:Q1001378 }
John Ratzenberger
action filter_type
action find_reverse
entity John Ratzenberger
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', 'John Ratzenberger']
SELECT DISTINCT ?g WHERE { ?g property:voice_actor resource:John_Ratzenberger . ?g rdf:type ontology:cinematic_technique }
[]
cinematic technique
Q6144664 Q9321426
SYSTEM
Inside Out, Finding Dory
Q6144664 Q9321426
(c(Q1001378),P725,Q374093)
action filter_type
action find_reverse
entity Q374093
relation P725
type Q1001378
John Ratzenberger did the dubbing for [ANSWERS]
[{'concept': 'Q1001378'}, 'P725', 'Q374093']
SELECT DISTINCT ?g WHERE { ?g property:P725 resource:Q374093 . ?g rdf:type ontology:Q1001378 }
Inside Out Finding Dory
John Ratzenberger did the dubbing for Inside Out and Finding Dory
Inside Out Finding Dory
action filter_type
action find_reverse
entity John Ratzenberger
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', 'John Ratzenberger']
SELECT DISTINCT ?g WHERE { ?g property:voice_actor resource:John_Ratzenberger . ?g rdf:type ontology:cinematic_technique }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6144664 Q9321426
P57
Q502895
USER
Who were the director of Inside Out and Finding Dory ?
(Q6144664,P57,c(Q502895)) (Q9321426,P57,c(Q502895))
action union
action filter_type
action find
entity Q6144664
relation P57
type Q502895
action filter_type
action find
entity Q9321426
relation P57
type Q502895
['Q6144664', 'P57', {'concept': 'Q502895'}] ['Q9321426', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?t ) { ( resource:Q6144664 ) ( resource:Q9321426 ) } . ?t property:P57 ?y }
Inside Out Finding Dory
action union
action filter_type
action find
entity Inside Out
relation director
type common name
action filter_type
action find
entity Finding Dory
relation director
type common name
['Inside Out', 'director', {'concept': 'common name'}] ['Finding Dory', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?t ) { ( resource:Inside_Out ) ( resource:Finding_Dory ) } . ?t property:director ?y }
[]
common name
Q357627 Q328723 Q17386294
SYSTEM
Pete Docter, Andrew Stanton, Angus MacLane
Q357627 Q7366035 Q328723 Q17386294
(Q6144664,P57,c(Q502895)) (Q9321426,P57,c(Q502895))
action union
action filter_type
action find
entity Q6144664
relation P57
type Q502895
action filter_type
action find
entity Q9321426
relation P57
type Q502895
The director of Inside Out and Finding Dory were named [ANSWERS]
['Q6144664', 'P57', {'concept': 'Q502895'}] ['Q9321426', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?t ) { ( resource:Q6144664 ) ( resource:Q9321426 ) } . ?t property:P57 ?y }
Pete Docter Ronnie del Carmen Andrew Stanton Angus MacLane
The director of Inside Out and Finding Dory were named Pete Docter, Andrew Stanton and Angus MacLane
Pete Docter Andrew Stanton Angus MacLane
action union
action filter_type
action find
entity Inside Out
relation director
type common name
action filter_type
action find
entity Finding Dory
relation director
type common name
['Inside Out', 'director', {'concept': 'common name'}] ['Finding Dory', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?t ) { ( resource:Inside_Out ) ( resource:Finding_Dory ) } . ?t property:director ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q374093
P69
Q163740
USER
Which nonprofit organization was John Ratzenberger educated at ?
(Q374093,P69,c(Q163740))
action filter_type
action find
entity Q374093
relation P69
type Q163740
['Q374093', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q163740 . resource:Q374093 property:P69 ?w }
John Ratzenberger
action filter_type
action find
entity John Ratzenberger
relation educated at
type nonprofit organization
['John Ratzenberger', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nonprofit_organization . resource:John_Ratzenberger property:educated_at ?w }
[]
nonprofit organization
Q1276963
SYSTEM
Sacred Heart University
Q1276963
(Q374093,P69,c(Q163740))
action filter_type
action find
entity Q374093
relation P69
type Q163740
John Ratzenberger was educated at [ANSWER]
['Q374093', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q163740 . resource:Q374093 property:P69 ?w }
Sacred Heart University
John Ratzenberger was educated at Sacred Heart University
Sacred Heart University
action filter_type
action find
entity John Ratzenberger
relation educated at
type nonprofit organization
['John Ratzenberger', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nonprofit_organization . resource:John_Ratzenberger property:educated_at ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1276963
P140
Q879146
USER
Which Christian denomination does that nonprofit organization relate to ?
(Q1276963,P140,c(Q879146))
action filter_type
action find
entity Q1276963
relation P140
type Q879146
['Q1276963', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?j WHERE { resource:Q1276963 property:P140 ?j . ?j rdf:type ontology:Q879146 }
Sacred Heart University
action filter_type
action find
entity Sacred Heart University
relation religion
type Christian denomination
['Sacred Heart University', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?j WHERE { resource:Sacred_Heart_University property:religion ?j . ?j rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1276963,P140,c(Q879146))
action filter_type
action find
entity Q1276963
relation P140
type Q879146
That nonprofit organization relates to [ANSWER]
['Q1276963', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?j WHERE { resource:Q1276963 property:P140 ?j . ?j rdf:type ontology:Q879146 }
Roman Catholic Church
That nonprofit organization relates to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Sacred Heart University
relation religion
type Christian denomination
['Sacred Heart University', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?j WHERE { resource:Sacred_Heart_University property:religion ?j . ?j rdf:type ontology:Christian_denomination }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q838948 Q340169
USER
Which works of art are depicted in max number of works of art or medias ?
(c(Q838948)|c(Q340169),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?u WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?i WHERE { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?q rdf:type ?w } GROUP BY ?i } . FILTER ( ?g = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?u WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?i WHERE { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:media ) } . ?q rdf:type ?w } GROUP BY ?i } . FILTER ( ?g = ?l ) }
[]
work of art work of art media
Q3575260
SYSTEM
bijou
Q3575260
(c(Q838948)|c(Q340169),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
[ANSWER] is depicted in max number of works of art or medias
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?u WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?i WHERE { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?q rdf:type ?w } GROUP BY ?i } . FILTER ( ?g = ?l ) }
bijou
Bijou is depicted in max number of works of art or medias
bijou
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?u WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?i WHERE { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:media ) } . ?q rdf:type ?w } GROUP BY ?i } . FILTER ( ?g = ?l ) }
[]