Simple Question (Direct)
Simple Question
Q7736676
P161
Q502895
USER
Who were casted in The Gladiator ?
(Q7736676,P161,c(Q502895))
action filter_type
action find
entity Q7736676
relation P161
type Q502895
['Q7736676', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q7736676 property:P161 ?a . ?a rdf:type ontology:Q502895 }
The Gladiator
action filter_type
action find
entity The Gladiator
relation cast member
type common name
['The Gladiator', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Gladiator property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q727112 Q1210022 Q275799
SYSTEM
Joe E. Brown, Dickie Moore, June Travis
Q11341650 Q727112 Q1210022 Q7346324 Q275799
(Q7736676,P161,c(Q502895))
action filter_type
action find
entity Q7736676
relation P161
type Q502895
As [ANSWERS] were casted in The Gladiator
['Q7736676', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q7736676 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Man Mountain Dean Joe E. Brown Dickie Moore Robert Kent June Travis
As Joe E. Brown, Dickie Moore and June Travis were casted in The Gladiator
Joe E. Brown Dickie Moore June Travis
action filter_type
action find
entity The Gladiator
relation cast member
type common name
['The Gladiator', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Gladiator property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7736676
P364
Q34770
USER
Which language was used originally for the creation of The Gladiator ?
(Q7736676,P364,c(Q34770))
action filter_type
action find
entity Q7736676
relation P364
type Q34770
['Q7736676', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q7736676 property:P364 ?t . ?t rdf:type ontology:Q34770 }
The Gladiator
action filter_type
action find
entity The Gladiator
relation original language of work
type language
['The Gladiator', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:The_Gladiator property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7736676,P364,c(Q34770))
action filter_type
action find
entity Q7736676
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Gladiator
['Q7736676', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q7736676 property:P364 ?t . ?t rdf:type ontology:Q34770 }
English
English was used originally for the creation of The Gladiator
English
action filter_type
action find
entity The Gladiator
relation original language of work
type language
['The Gladiator', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:The_Gladiator property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7736676
P57
Q502895
USER
Which person served as the directed of The Gladiator ?
(Q7736676,P57,c(Q502895))
action filter_type
action find
entity Q7736676
relation P57
type Q502895
['Q7736676', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7736676 property:P57 ?f . ?f rdf:type ontology:Q502895 }
The Gladiator
action filter_type
action find
entity The Gladiator
relation director
type common name
['The Gladiator', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Gladiator property:director ?f . ?f rdf:type ontology:common_name }
[]
common name
Q555691
SYSTEM
Edward Sedgwick
Q555691
(Q7736676,P57,c(Q502895))
action filter_type
action find
entity Q7736676
relation P57
type Q502895
[ANSWER] served as the directed of The Gladiator
['Q7736676', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7736676 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Edward Sedgwick
Edward Sedgwick served as the directed of The Gladiator
Edward Sedgwick
action filter_type
action find
entity The Gladiator
relation director
type common name
['The Gladiator', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Gladiator property:director ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7736676
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q555691,P495,c(Q15617994))
action filter_type
action find
entity Q7736676
relation P495
type Q15617994
['Q555691', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q7736676 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
The Gladiator
action filter_type
action find
entity The Gladiator
relation country of origin
type designation for an administrative territorial entity
['Edward Sedgwick', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:The_Gladiator property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q555691,P495,c(Q15617994))
action filter_type
action find
entity Q7736676
relation P495
type Q15617994
The country of origin of that work of art is the [ANSWER]
['Q555691', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q7736676 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
The country of origin of that work of art is the United States of America
United States of America
action filter_type
action find
entity The Gladiator
relation country of origin
type designation for an administrative territorial entity
['Edward Sedgwick', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:The_Gladiator property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with atleast 64 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 64
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?p ) WHERE { ?g property:P530 ?o . ?g rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?p >= 64 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?p ) WHERE { ?g property:diplomatic_relation ?o . ?g rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?p >= 64 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 64
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?p ) WHERE { ?g property:P530 ?o . ?g rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?p >= 64 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?p ) WHERE { ?g property:diplomatic_relation ?o . ?g rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?p >= 64 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727112
P1196
Q1931388
USER
What situation did Joe E. Brown die in ?
(Q727112,P1196,c(Q1931388))
action filter_type
action find
entity Q727112
relation P1196
type Q1931388
['Q727112', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q727112 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
Joe E. Brown
action filter_type
action find
entity Joe E. Brown
relation manner of death
type cause of death
['Joe E. Brown', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Joe_E._Brown property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q727112,P1196,c(Q1931388))
action filter_type
action find
entity Q727112
relation P1196
type Q1931388
Joe E. Brown died of [ANSWER]
['Q727112', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q727112 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
natural causes
Joe E. Brown died of natural causes
natural causes
action filter_type
action find
entity Joe E. Brown
relation manner of death
type cause of death
['Joe E. Brown', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Joe_E._Brown property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1196
Q11424 Q95074
USER
How many films or fictional characters have that cause of death as death circumstances ?
(c(Q11424),P1196,Q3739104) (c(Q95074),P1196,Q3739104) (c(Q11424),P1196,Q3739104) (c(Q95074),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q11424
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q95074
[{'concept': 'Q11424'}, 'P1196', 'Q3739104'] [{'concept': 'Q95074'}, 'P1196', 'Q3739104'] [{'concept': 'Q11424'}, 'P1196', 'Q3739104'] [{'concept': 'Q95074'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:P1196 resource:Q3739104 . ?n rdf:type ontology:Q11424 } UNION { ?n property:P1196 resource:Q3739104 . ?n rdf:type ontology:Q95074 } }
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type film
action filter_type
action find_reverse
entity natural causes
relation manner of death
type fictional character
[{'concept': 'film'}, 'manner of death', 'natural causes'] [{'concept': 'fictional character'}, 'manner of death', 'natural causes'] [{'concept': 'film'}, 'manner of death', 'natural causes'] [{'concept': 'fictional character'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:manner_of_death resource:natural_causes . ?n rdf:type ontology:film } UNION { ?n property:manner_of_death resource:natural_causes . ?n rdf:type ontology:fictional_character } }
[]
film fictional character
SYSTEM
6
Q7581488 Q200661 Q6377093 Q6876352 Q1992307 Q1750634
(c(Q11424),P1196,Q3739104) (c(Q95074),P1196,Q3739104) (c(Q11424),P1196,Q3739104) (c(Q95074),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q11424
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q95074
[ANSWER]
[{'concept': 'Q11424'}, 'P1196', 'Q3739104'] [{'concept': 'Q95074'}, 'P1196', 'Q3739104'] [{'concept': 'Q11424'}, 'P1196', 'Q3739104'] [{'concept': 'Q95074'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:P1196 resource:Q3739104 . ?n rdf:type ontology:Q11424 } UNION { ?n property:P1196 resource:Q3739104 . ?n rdf:type ontology:Q95074 } }
Spuds MacKenzie Juan Rulfo Kathryn Minner Miss Cleo Madman Muntz Quasimodo
6
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type film
action filter_type
action find_reverse
entity natural causes
relation manner of death
type fictional character
[{'concept': 'film'}, 'manner of death', 'natural causes'] [{'concept': 'fictional character'}, 'manner of death', 'natural causes'] [{'concept': 'film'}, 'manner of death', 'natural causes'] [{'concept': 'fictional character'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:manner_of_death resource:natural_causes . ?n rdf:type ontology:film } UNION { ?n property:manner_of_death resource:natural_causes . ?n rdf:type ontology:fictional_character } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5345126 Q275799
P27
Q15617994
USER
Which administrative territories do June Travis or Edward Roworth belong to ?
OR((Q275799,P27,c(Q15617994)), (Q5345126,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q275799
relation P27
action find
entity Q5345126
relation P27
type Q15617994
{'OR': [['Q275799', 'P27', {'concept': 'Q15617994'}], ['Q5345126', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q275799 property:P27 ?r } UNION { resource:Q5345126 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Edward Roworth June Travis
action filter_type
action union
action find
entity June Travis
relation country of citizenship
action find
entity Edward Roworth
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['June Travis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edward Roworth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:June_Travis property:country_of_citizenship ?r } UNION { resource:Edward_Roworth property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q258
SYSTEM
United States of America, South Africa
Q30 Q258
OR((Q275799,P27,c(Q15617994)), (Q5345126,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q275799
relation P27
action find
entity Q5345126
relation P27
type Q15617994
June Travis or Edward Roworth belong to the [ANSWERS]
{'OR': [['Q275799', 'P27', {'concept': 'Q15617994'}], ['Q5345126', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q275799 property:P27 ?r } UNION { resource:Q5345126 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
United States of America South Africa
June Travis or Edward Roworth belong to the United States of America and South Africa
United States of America South Africa
action filter_type
action union
action find
entity June Travis
relation country of citizenship
action find
entity Edward Roworth
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['June Travis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edward Roworth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:June_Travis property:country_of_citizenship ?r } UNION { resource:Edward_Roworth property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]