Simple Question (Direct)
Simple Question
Q467925
P166
Q618779
USER
What was received by Desireé Cousteau ?
(Q467925,P166,c(Q618779))
action filter_type
action find
entity Q467925
relation P166
type Q618779
['Q467925', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q467925 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Desireé Cousteau
action filter_type
action find
entity Desireé Cousteau
relation award received
type award
['Desireé Cousteau', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Desireé_Cousteau property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q1509201
SYSTEM
AVN Hall of Fame
Q1509201
(Q467925,P166,c(Q618779))
action filter_type
action find
entity Q467925
relation P166
type Q618779
The [ANSWER] was received by Desireé Cousteau
['Q467925', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q467925 property:P166 ?l . ?l rdf:type ontology:Q618779 }
AVN Hall of Fame
The AVN Hall of Fame was received by Desireé Cousteau
AVN Hall of Fame
action filter_type
action find
entity Desireé Cousteau
relation award received
type award
['Desireé Cousteau', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Desireé_Cousteau property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q467925
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q1509201)
action filter_type
action find_reverse
entity Q467925
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1509201']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P161 resource:Q467925 }
Desireé Cousteau
action filter_type
action find_reverse
entity Desireé Cousteau
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'AVN Hall of Fame']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:cast_member resource:Desireé_Cousteau }
[]
work of art
Q541887
SYSTEM
Caged Heat
Q541887
(c(Q838948),P161,Q1509201)
action filter_type
action find_reverse
entity Q467925
relation P161
type Q838948
That person stars [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q1509201']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P161 resource:Q467925 }
Caged Heat
That person stars Caged Heat
Caged Heat
action filter_type
action find_reverse
entity Desireé Cousteau
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'AVN Hall of Fame']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:cast_member resource:Desireé_Cousteau }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q541887 Q30 Q6346183
P495
Q15617994
USER
Does Caged Heat have United States of America and Kafr Lam as its place of origin ?
(Q541887,P495,Q30) (Q541887,P495,Q6346183)
action is_in
entity Q541887
action intersection
action find_reverse
entity Q30
relation P495
action find_reverse
entity Q6346183
relation P495
['Q541887', 'P495', 'Q30'] ['Q541887', 'P495', 'Q6346183']
ASK WHERE { resource:Q541887 property:P495 resource:Q30 . resource:Q541887 property:P495 resource:Q6346183 }
Caged Heat United States of America Kafr Lam
action is_in
entity Caged Heat
action intersection
action find_reverse
entity United States of America
relation country of origin
action find_reverse
entity Kafr Lam
relation country of origin
['Caged Heat', 'country of origin', 'United States of America'] ['Caged Heat', 'country of origin', 'Kafr Lam']
ASK WHERE { resource:Caged_Heat property:country_of_origin resource:United_States_of_America . resource:Caged_Heat property:country_of_origin resource:Kafr_Lam }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q541887,P495,Q30) (Q541887,P495,Q6346183)
action is_in
entity Q541887
action intersection
action find_reverse
entity Q30
relation P495
action find_reverse
entity Q6346183
relation P495
[ANSWER]
['Q541887', 'P495', 'Q30'] ['Q541887', 'P495', 'Q6346183']
ASK WHERE { resource:Q541887 property:P495 resource:Q30 . resource:Q541887 property:P495 resource:Q6346183 }
YES and NO respectively
action is_in
entity Caged Heat
action intersection
action find_reverse
entity United States of America
relation country of origin
action find_reverse
entity Kafr Lam
relation country of origin
['Caged Heat', 'country of origin', 'United States of America'] ['Caged Heat', 'country of origin', 'Kafr Lam']
ASK WHERE { resource:Caged_Heat property:country_of_origin resource:United_States_of_America . resource:Caged_Heat property:country_of_origin resource:Kafr_Lam }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q502895 Q107425
USER
Which works of art are atleast 1 people or landscapes a component of ?
(c(Q502895)|c(Q107425),P361,c(Q838948))
action atleast
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
value 1
[[{'concept': 'Q502895'}, {'concept': 'Q107425'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:Q838948 . ?b rdf:type ontology:Q502895 . ?b property:P361 ?o } UNION { ?b property:P361 ?o . ?o rdf:type ontology:Q838948 . ?b rdf:type ontology:Q107425 } } GROUP BY ?o } }
action atleast
action union
action find_reverse_tuple_counts
relation part of
type work of art
type common name
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
value 1
[[{'concept': 'common name'}, {'concept': 'landscape'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:work_of_art . ?b rdf:type ontology:common_name . ?b property:part_of ?o } UNION { ?b property:part_of ?o . ?o rdf:type ontology:work_of_art . ?b rdf:type ontology:landscape } } GROUP BY ?o } }
[]
work of art common name landscape
Q213053 Q10512738 Q1762957
SYSTEM
Superman, Göta kanal eller Vem drog ur proppen?, Release the Prisoners to Spring
Q1762957 Q10550583 Q1195466 Q6519361 Q489772 Q2905386 Q213053 Q283134 Q10512738
(c(Q502895)|c(Q107425),P361,c(Q838948))
action atleast
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
value 1
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q107425'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:Q838948 . ?b rdf:type ontology:Q502895 . ?b property:P361 ?o } UNION { ?b property:P361 ?o . ?o rdf:type ontology:Q838948 . ?b rdf:type ontology:Q107425 } } GROUP BY ?o } }
Release the Prisoners to Spring Kurt Olsson – filmen om mitt liv som mig själv The Man on the Roof Leif Seven Wonders of the Ancient World Black Jack Superman Supergirl Göta kanal eller Vem drog ur proppen?
Superman, Göta kanal eller Vem drog ur proppen and Release the Prisoners to Spring are atleast 1 people or landscapes a component of
Superman Göta kanal eller Vem drog ur proppen? Release the Prisoners to Spring
action atleast
action union
action find_reverse_tuple_counts
relation part of
type work of art
type common name
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
value 1
[[{'concept': 'common name'}, {'concept': 'landscape'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:work_of_art . ?b rdf:type ontology:common_name . ?b property:part_of ?o } UNION { ?b property:part_of ?o . ?o rdf:type ontology:work_of_art . ?b rdf:type ontology:landscape } } GROUP BY ?o } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6209151
P361
Q502895
USER
Are Johan Thorén parts of those works of art ?
(Q6209151,P361,Q213053) (Q6209151,P361,Q10512738) (Q6209151,P361,Q1762957)
action is_in
entity prev_answer
action find
entity Q6209151
relation P361
['Q6209151', 'P361', 'Q213053'] ['Q6209151', 'P361', 'Q10512738'] ['Q6209151', 'P361', 'Q1762957']
ASK WHERE { resource:Q6209151 property:P361 ?n . VALUES ( ?n ) { ( resource:Q1762957 ) ( resource:Q10550583 ) ( resource:Q1195466 ) } }
Johan Thorén
action is_in
entity prev_answer
action find
entity Johan Thorén
relation part of
['Johan Thorén', 'part of', 'Superman'] ['Johan Thorén', 'part of', 'Göta kanal eller Vem drog ur proppen?'] ['Johan Thorén', 'part of', 'Release the Prisoners to Spring']
ASK WHERE { resource:Johan_Thorén property:part_of ?n . VALUES ( ?n ) { ( resource:Release_the_Prisoners_to_Spring ) ( resource:Kurt_Olsson_–_filmen_om_mitt_liv_som_mig_själv ) ( resource:The_Man_on_the_Roof ) } }
[]
common name
SYSTEM
YES
(Q6209151,P361,Q213053) (Q6209151,P361,Q10512738) (Q6209151,P361,Q1762957)
action is_in
entity prev_answer
action find
entity Q6209151
relation P361
[ANSWER]
['Q6209151', 'P361', 'Q213053'] ['Q6209151', 'P361', 'Q10512738'] ['Q6209151', 'P361', 'Q1762957']
ASK WHERE { resource:Q6209151 property:P361 ?n . VALUES ( ?n ) { ( resource:Q1762957 ) ( resource:Q10550583 ) ( resource:Q1195466 ) } }
Yes
action is_in
entity prev_answer
action find
entity Johan Thorén
relation part of
['Johan Thorén', 'part of', 'Superman'] ['Johan Thorén', 'part of', 'Göta kanal eller Vem drog ur proppen?'] ['Johan Thorén', 'part of', 'Release the Prisoners to Spring']
ASK WHERE { resource:Johan_Thorén property:part_of ?n . VALUES ( ?n ) { ( resource:Release_the_Prisoners_to_Spring ) ( resource:Kurt_Olsson_–_filmen_om_mitt_liv_som_mig_själv ) ( resource:The_Man_on_the_Roof ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q541887
P58
Q502895
USER
Who wrote the script for Caged Heat ?
(Q541887,P58,c(Q502895))
action filter_type
action find
entity Q541887
relation P58
type Q502895
['Q541887', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q541887 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Caged Heat
action filter_type
action find
entity Caged Heat
relation screenwriter
type common name
['Caged Heat', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Caged_Heat property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
common name
Q48987
SYSTEM
Jonathan Demme
Q48987
(Q541887,P58,c(Q502895))
action filter_type
action find
entity Q541887
relation P58
type Q502895
The [ANSWER] wrote the script for Caged Heat
['Q541887', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q541887 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Jonathan Demme
The Jonathan Demme wrote the script for Caged Heat
Jonathan Demme
action filter_type
action find
entity Caged Heat
relation screenwriter
type common name
['Caged Heat', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Caged_Heat property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48987
P57
Q2031291
USER
Which release did that person direct ?
(c(Q2031291),P57,Q48987)
action filter_type
action find_reverse
entity Q48987
relation P57
type Q2031291
[{'concept': 'Q2031291'}, 'P57', 'Q48987']
SELECT DISTINCT ?n WHERE { ?n property:P57 resource:Q48987 . ?n rdf:type ontology:Q2031291 }
Jonathan Demme
action filter_type
action find_reverse
entity Jonathan Demme
relation director
type release
[{'concept': 'release'}, 'director', 'Jonathan Demme']
SELECT DISTINCT ?n WHERE { ?n property:director resource:Jonathan_Demme . ?n rdf:type ontology:release }
[]
release
Q3124000
SYSTEM
The Perfect Kiss
Q3124000
(c(Q2031291),P57,Q48987)
action filter_type
action find_reverse
entity Q48987
relation P57
type Q2031291
That person directed to [ANSWER]
[{'concept': 'Q2031291'}, 'P57', 'Q48987']
SELECT DISTINCT ?n WHERE { ?n property:P57 resource:Q48987 . ?n rdf:type ontology:Q2031291 }
The Perfect Kiss
That person directed to The Perfect Kiss
The Perfect Kiss
action filter_type
action find_reverse
entity Jonathan Demme
relation director
type release
[{'concept': 'release'}, 'director', 'Jonathan Demme']
SELECT DISTINCT ?n WHERE { ?n property:director resource:Jonathan_Demme . ?n rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3124000 Q145
P495
Q15617994
USER
Is United Kingdom the origin of The Perfect Kiss ?
(Q3124000,P495,Q145)
action is_in
entity Q145
action find
entity Q3124000
relation P495
['Q3124000', 'P495', 'Q145']
ASK WHERE { resource:Q3124000 property:P495 resource:Q145 }
The Perfect Kiss United Kingdom
action is_in
entity United Kingdom
action find
entity The Perfect Kiss
relation country of origin
['The Perfect Kiss', 'country of origin', 'United Kingdom']
ASK WHERE { resource:The_Perfect_Kiss property:country_of_origin resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3124000,P495,Q145)
action is_in
entity Q145
action find
entity Q3124000
relation P495
[ANSWER]
['Q3124000', 'P495', 'Q145']
ASK WHERE { resource:Q3124000 property:P495 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity The Perfect Kiss
relation country of origin
['The Perfect Kiss', 'country of origin', 'United Kingdom']
ASK WHERE { resource:The_Perfect_Kiss property:country_of_origin resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q213053 Q521954 Q30
P495
Q15617994
USER
Did Superman originate in Ebrach and United States of America ?
(Q213053,P495,Q521954) (Q213053,P495,Q30)
action is_in
entity Q213053
action intersection
action find_reverse
entity Q521954
relation P495
action find_reverse
entity Q30
relation P495
['Q213053', 'P495', 'Q521954'] ['Q213053', 'P495', 'Q30']
ASK WHERE { resource:Q213053 property:P495 resource:Q521954 . resource:Q213053 property:P495 resource:Q30 }
Superman Ebrach United States of America
action is_in
entity Superman
action intersection
action find_reverse
entity Ebrach
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['Superman', 'country of origin', 'Ebrach'] ['Superman', 'country of origin', 'United States of America']
ASK WHERE { resource:Superman property:country_of_origin resource:Ebrach . resource:Superman property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q213053,P495,Q521954) (Q213053,P495,Q30)
action is_in
entity Q213053
action intersection
action find_reverse
entity Q521954
relation P495
action find_reverse
entity Q30
relation P495
[ANSWER]
['Q213053', 'P495', 'Q521954'] ['Q213053', 'P495', 'Q30']
ASK WHERE { resource:Q213053 property:P495 resource:Q521954 . resource:Q213053 property:P495 resource:Q30 }
NO and YES respectively
action is_in
entity Superman
action intersection
action find_reverse
entity Ebrach
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['Superman', 'country of origin', 'Ebrach'] ['Superman', 'country of origin', 'United States of America']
ASK WHERE { resource:Superman property:country_of_origin resource:Ebrach . resource:Superman property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q48987
P57
Q838948
USER
How many works of art did Jonathan Demme direct ?
(c(Q838948),P57,Q48987)
action count
action filter_type
action find_reverse
entity Q48987
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q48987']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P57 resource:Q48987 . ?c rdf:type ontology:Q838948 }
Jonathan Demme
action count
action filter_type
action find_reverse
entity Jonathan Demme
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Jonathan Demme']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:director resource:Jonathan_Demme . ?c rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
25
Q18152535 Q3201620 Q48984 Q5447915 Q2493711 Q1117613 Q644485 Q3002394 Q12126477 Q923009 Q2351784 Q7658379 Q833638 Q133654 Q5178815 Q3589 Q204057 Q541887 Q1419410 Q6989518 Q6989514 Q18342295 Q3334501 Q570780 Q250954
(c(Q838948),P57,Q48987)
action count
action filter_type
action find_reverse
entity Q48987
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q48987']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P57 resource:Q48987 . ?c rdf:type ontology:Q838948 }
A Master Builder The Agronomist Married to the Mob Fighting Mad Handle with Care Rachel Getting Married Something Wild Crazy Mama Neil Young Journeys Swing Shift Stop Making Sense Swimming to Cambodia Last Embrace The Silence of the Lambs Cousin Bobby The Manchurian Candidate Philadelphia Caged Heat Melvin and Howard Neil Young Trunk Show Neil Young: Heart of Gold Ricki and the Flash Man from Plains The Truth About Charlie Beloved
25
action count
action filter_type
action find_reverse
entity Jonathan Demme
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Jonathan Demme']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:director resource:Jonathan_Demme . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q850385
P40
Q502895
USER
Which person is an offspring of Bryan Forbes ?
(Q850385,P40,c(Q502895))
action filter_type
action find
entity Q850385
relation P40
type Q502895
['Q850385', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q850385 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Bryan Forbes
action filter_type
action find
entity Bryan Forbes
relation child
type common name
['Bryan Forbes', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bryan_Forbes property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
Q5372800
SYSTEM
Emma Forbes
Q5372800
(Q850385,P40,c(Q502895))
action filter_type
action find
entity Q850385
relation P40
type Q502895
[ANSWER] is an offspring of Bryan Forbes
['Q850385', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q850385 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Emma Forbes
Emma Forbes is an offspring of Bryan Forbes
Emma Forbes
action filter_type
action find
entity Bryan Forbes
relation child
type common name
['Bryan Forbes', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bryan_Forbes property:child ?i . ?i rdf:type ontology:common_name }
[]