Simple Question (Direct)
Simple Question
Q5959024
P57
Q502895
USER
Who was Hypnosis directed by ?
(Q5959024,P57,c(Q502895))
action filter_type
action find
entity Q5959024
relation P57
type Q502895
['Q5959024', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5959024 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Hypnosis
action filter_type
action find
entity Hypnosis
relation director
type common name
['Hypnosis', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Hypnosis property:director ?q . ?q rdf:type ontology:common_name }
[]
common name
Q70662
SYSTEM
Richard Eichberg
Q70662
(Q5959024,P57,c(Q502895))
action filter_type
action find
entity Q5959024
relation P57
type Q502895
Hypnosis was directed by Wolfgang [ANSWER]
['Q5959024', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5959024 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Richard Eichberg
Hypnosis was directed by Wolfgang Richard Eichberg
Richard Eichberg
action filter_type
action find
entity Hypnosis
relation director
type common name
['Hypnosis', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Hypnosis property:director ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5959024
P364
Q11028
USER
What is the original language of creation of that film genre ?
(Q70662,P364,c(Q11028))
action filter_type
action find
entity Q5959024
relation P364
type Q11028
['Q70662', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q11028 . resource:Q5959024 property:P364 ?q }
Hypnosis
action filter_type
action find
entity Hypnosis
relation original language of work
type information
['Richard Eichberg', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:information . resource:Hypnosis property:original_language_of_work ?q }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q70662,P364,c(Q11028))
action filter_type
action find
entity Q5959024
relation P364
type Q11028
The original language of creation of that film genre is [ANSWER]
['Q70662', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q11028 . resource:Q5959024 property:P364 ?q }
n/a (silent film)
The original language of creation of that film genre is n/a (silent film)
n/a (silent film)
action filter_type
action find
entity Hypnosis
relation original language of work
type information
['Richard Eichberg', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:information . resource:Hypnosis property:original_language_of_work ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21686005 Q7995105
P364
Q838948
USER
Does White Nights have that information as its original language of creation ?
(Q7995105,P364,Q21686005)
action is_in
entity Q21686005
action find
entity Q7995105
relation P364
['Q7995105', 'P364', 'Q21686005']
ASK WHERE { resource:Q7995105 property:P364 resource:Q21686005 }
n/a (silent film) White Nights
action is_in
entity n/a (silent film)
action find
entity White Nights
relation original language of work
['White Nights', 'original language of work', 'n/a (silent film)']
ASK WHERE { resource:White_Nights property:original_language_of_work resource:n/a_(silent_film) }
[]
work of art
SYSTEM
YES
(Q7995105,P364,Q21686005)
action is_in
entity Q21686005
action find
entity Q7995105
relation P364
[ANSWER]
['Q7995105', 'P364', 'Q21686005']
ASK WHERE { resource:Q7995105 property:P364 resource:Q21686005 }
Yes
action is_in
entity n/a (silent film)
action find
entity White Nights
relation original language of work
['White Nights', 'original language of work', 'n/a (silent film)']
ASK WHERE { resource:White_Nights property:original_language_of_work resource:n/a_(silent_film) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5959024 Q7385358 Q89432
P161
Q502895
USER
Does Hypnosis star Ryshiem Henderson and Rudolf Klein-Rhoden as actor ?
(Q5959024,P161,Q7385358) (Q5959024,P161,Q89432)
action is_in
entity Q5959024
action intersection
action find_reverse
entity Q7385358
relation P161
action find_reverse
entity Q89432
relation P161
['Q5959024', 'P161', 'Q7385358'] ['Q5959024', 'P161', 'Q89432']
ASK WHERE { resource:Q5959024 property:P161 resource:Q7385358 . resource:Q5959024 property:P161 resource:Q89432 }
Hypnosis Ryshiem Henderson Rudolf Klein-Rhoden
action is_in
entity Hypnosis
action intersection
action find_reverse
entity Ryshiem Henderson
relation cast member
action find_reverse
entity Rudolf Klein-Rhoden
relation cast member
['Hypnosis', 'cast member', 'Ryshiem Henderson'] ['Hypnosis', 'cast member', 'Rudolf Klein-Rhoden']
ASK WHERE { resource:Hypnosis property:cast_member resource:Ryshiem_Henderson . resource:Hypnosis property:cast_member resource:Rudolf_Klein-Rhoden }
[]
common name
SYSTEM
NO and YES respectively
(Q5959024,P161,Q7385358) (Q5959024,P161,Q89432)
action is_in
entity Q5959024
action intersection
action find_reverse
entity Q7385358
relation P161
action find_reverse
entity Q89432
relation P161
[ANSWER]
['Q5959024', 'P161', 'Q7385358'] ['Q5959024', 'P161', 'Q89432']
ASK WHERE { resource:Q5959024 property:P161 resource:Q7385358 . resource:Q5959024 property:P161 resource:Q89432 }
NO and YES respectively
action is_in
entity Hypnosis
action intersection
action find_reverse
entity Ryshiem Henderson
relation cast member
action find_reverse
entity Rudolf Klein-Rhoden
relation cast member
['Hypnosis', 'cast member', 'Ryshiem Henderson'] ['Hypnosis', 'cast member', 'Rudolf Klein-Rhoden']
ASK WHERE { resource:Hypnosis property:cast_member resource:Ryshiem_Henderson . resource:Hypnosis property:cast_member resource:Rudolf_Klein-Rhoden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5959024
P495
Q7275
USER
Which state is the country of origin of that film genre ?
action filter_type
action find
entity Q5959024
relation P495
type Q7275
SELECT DISTINCT ?m WHERE { resource:Q5959024 property:P495 ?m . ?m rdf:type ontology:Q7275 }
Hypnosis
action filter_type
action find
entity Hypnosis
relation country of origin
type state
SELECT DISTINCT ?m WHERE { resource:Hypnosis property:country_of_origin ?m . ?m rdf:type ontology:state }
[]
state
Q41304
SYSTEM
Weimar Republic
Q41304
action filter_type
action find
entity Q5959024
relation P495
type Q7275
[ANSWER] is the country of origin of that film genre
SELECT DISTINCT ?m WHERE { resource:Q5959024 property:P495 ?m . ?m rdf:type ontology:Q7275 }
Weimar Republic
Weimar Republic is the country of origin of that film genre
Weimar Republic
action filter_type
action find
entity Hypnosis
relation country of origin
type state
SELECT DISTINCT ?m WHERE { resource:Hypnosis property:country_of_origin ?m . ?m rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q41304 Q64
P36
Q56061
USER
Is Berlin associated to that state as the capital ?
(Q41304,P36,Q64)
action is_in
entity Q64
action find
entity Q41304
relation P36
['Q41304', 'P36', 'Q64']
ASK WHERE { resource:Q41304 property:P36 resource:Q64 }
Weimar Republic Berlin
action is_in
entity Berlin
action find
entity Weimar Republic
relation capital
['Weimar Republic', 'capital', 'Berlin']
ASK WHERE { resource:Weimar_Republic property:capital resource:Berlin }
[]
administrative territorial entity
SYSTEM
YES
(Q41304,P36,Q64)
action is_in
entity Q64
action find
entity Q41304
relation P36
[ANSWER]
['Q41304', 'P36', 'Q64']
ASK WHERE { resource:Q41304 property:P36 resource:Q64 }
Yes
action is_in
entity Berlin
action find
entity Weimar Republic
relation capital
['Weimar Republic', 'capital', 'Berlin']
ASK WHERE { resource:Weimar_Republic property:capital resource:Berlin }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18645871 Q70662
P57
Q838948
USER
Which works of art have Richard Eichberg or V. Somashekhar as their director ?
OR((c(Q838948),P57,Q70662), (c(Q838948),P57,Q18645871))
action filter_type
action union
action find_reverse
entity Q70662
relation P57
action find_reverse
entity Q18645871
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q70662'], [{'concept': 'Q838948'}, 'P57', 'Q18645871']]}
SELECT DISTINCT ?p WHERE { { ?p property:P57 ?y . VALUES ( ?y ) { ( resource:Q70662 ) ( resource:Q18645871 ) } } . ?p rdf:type ontology:Q838948 }
V. Somashekhar Richard Eichberg
action filter_type
action union
action find_reverse
entity Richard Eichberg
relation director
action find_reverse
entity V. Somashekhar
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Richard Eichberg'], [{'concept': 'work of art'}, 'director', 'V. Somashekhar']]}
SELECT DISTINCT ?p WHERE { { ?p property:director ?y . VALUES ( ?y ) { ( resource:Richard_Eichberg ) ( resource:V._Somashekhar ) } } . ?p rdf:type ontology:work_of_art }
[]
work of art
Q1197410 Q18924398 Q15719408 Q18395325 Q25171726 Q7742461 Q18348742 Q19895260 Q17082699 Q18391978
SYSTEM
Some of them are The Tiger of Eschnapur, The Flame of Love, Prathap, Verukal Thedi, The Copper, The Invisible Front, Havina Hede, A Precocious Girl, Shankar Guru, Seetharamu
Q19895260 Q15710743 Q22000377 Q18924398 Q19571874 Q15718663 Q18348742 Q19600310 Q18602907 Q7033228 Q18201768 Q15719408 Q26720579 Q26000056 Q21869547 Q13160051 Q1568975 Q22001177 Q19892686 Q17082699 Q7742461 Q6532484 Q1197410 Q13160824 Q3922120 Q18391978 Q21869375 Q21869353 Q18612518 Q18387497 Q22967545 Q17014413 Q7135917 Q22974002 Q19570720 Q1171364 Q19572330 Q21869734 Q16950202 Q18395325 Q25171726
OR((c(Q838948),P57,Q70662), (c(Q838948),P57,Q18645871))
action filter_type
action union
action find_reverse
entity Q70662
relation P57
action find_reverse
entity Q18645871
relation P57
type Q838948
[ANSWERS] have Richard Eichberg or V. Somashekhar as their director
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q70662'], [{'concept': 'Q838948'}, 'P57', 'Q18645871']]}
SELECT DISTINCT ?p WHERE { { ?p property:P57 ?y . VALUES ( ?y ) { ( resource:Q70662 ) ( resource:Q18645871 ) } } . ?p rdf:type ontology:Q838948 }
A Precocious Girl Chakravyuha The Girl from the Revue The Flame of Love Gandandre Gandu Thayige Thakka Maga Havina Hede Vijay Vikram Ee Jeeva Ninagagi Night Birds Mrugaalaya Prathap The Road to Dishonour S. P. Bhargavi Love and Trumpets Premigala Saval Hai-Tang Why Cry at Parting? Fabulous Lola Shankar Guru The Invisible Front Let's Love and Laugh The Tiger of Eschnapur Ranaranga Princess Trulala Seetharamu The Girl on the Road The Flight of Arno Jessen Chanakya Kempaiah IPS Whirl of Youth Premada Kanike Parashuram The Love Trap Aarada Gaaya The Indian Tomb Kaalinga The Prince and the Dancer Bangaarada Panjara Verukal Thedi The Copper
The Tiger of Eschnapur, The Flame of Love, Prathap, Verukal Thedi, The Copper, The Invisible Front, Havina Hede, A Precocious Girl, Shankar Guru and Seetharamu have Richard Eichberg or V. Somashekhar as their director
The Tiger of Eschnapur The Flame of Love Prathap Verukal Thedi The Copper The Invisible Front Havina Hede A Precocious Girl Shankar Guru Seetharamu
action filter_type
action union
action find_reverse
entity Richard Eichberg
relation director
action find_reverse
entity V. Somashekhar
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Richard Eichberg'], [{'concept': 'work of art'}, 'director', 'V. Somashekhar']]}
SELECT DISTINCT ?p WHERE { { ?p property:director ?y . VALUES ( ?y ) { ( resource:Richard_Eichberg ) ( resource:V._Somashekhar ) } } . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q11028 Q15850590 Q3305213
USER
How many information are around 2 theatrical genres or paintings adapted from ?
(c(Q15850590)|c(Q3305213),P144,c(Q11028))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q11028
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q11028
type Q3305213
value 2
[[{'concept': 'Q15850590'}, {'concept': 'Q3305213'}], 'P144', {'concept': 'Q11028'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { { ?f property:P144 ?v . ?v rdf:type ontology:Q11028 . ?f rdf:type ontology:Q15850590 } UNION { ?f property:P144 ?v . ?v rdf:type ontology:Q11028 . ?f rdf:type ontology:Q3305213 } } GROUP BY ?v } . FILTER ( ?b = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type information
type theatrical genre
action find_reverse_tuple_counts
relation based on
type information
type painting
value 2
[[{'concept': 'theatrical genre'}, {'concept': 'painting'}], 'based on', {'concept': 'information'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { { ?f property:based_on ?v . ?v rdf:type ontology:information . ?f rdf:type ontology:theatrical_genre } UNION { ?f property:based_on ?v . ?v rdf:type ontology:information . ?f rdf:type ontology:painting } } GROUP BY ?v } . FILTER ( ?b = 2 ) }
[]
information theatrical genre painting
SYSTEM
11
Q1821239 Q389211 Q1029715 Q9309699 Q124362 Q51633 Q488841 Q2509393 Q1029378 Q51628 Q3141419
(c(Q15850590)|c(Q3305213),P144,c(Q11028))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q11028
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q11028
type Q3305213
value 2
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q3305213'}], 'P144', {'concept': 'Q11028'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { { ?f property:P144 ?v . ?v rdf:type ontology:Q11028 . ?f rdf:type ontology:Q15850590 } UNION { ?f property:P144 ?v . ?v rdf:type ontology:Q11028 . ?f rdf:type ontology:Q3305213 } } GROUP BY ?v } . FILTER ( ?b = 2 ) }
Day of Judgment Crucifixion in the arts Adoration of the shepherds Madonna and Child Noli me tangere Last Supper Adoration of the Magi Saint George and the Dragon the continence of Scipio Nativity of Jesus Jacob wrestling with the angel
11
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type information
type theatrical genre
action find_reverse_tuple_counts
relation based on
type information
type painting
value 2
[[{'concept': 'theatrical genre'}, {'concept': 'painting'}], 'based on', {'concept': 'information'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { { ?f property:based_on ?v . ?v rdf:type ontology:information . ?f rdf:type ontology:theatrical_genre } UNION { ?f property:based_on ?v . ?v rdf:type ontology:information . ?f rdf:type ontology:painting } } GROUP BY ?v } . FILTER ( ?b = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41304
P85
Q7725634
USER
Which is the national anthem of Weimar Republic ?
(Q41304,P85,c(Q7725634))
action filter_type
action find
entity Q41304
relation P85
type Q7725634
['Q41304', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q41304 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
Weimar Republic
action filter_type
action find
entity Weimar Republic
relation anthem
type literary work
['Weimar Republic', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:Weimar_Republic property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q41304,P85,c(Q7725634))
action filter_type
action find
entity Q41304
relation P85
type Q7725634
The national anthem of Weimar Republic is [ANSWER]
['Q41304', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q41304 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
Das Lied der Deutschen
The national anthem of Weimar Republic is Das Lied der Deutschen
Das Lied der Deutschen
action filter_type
action find
entity Weimar Republic
relation anthem
type literary work
['Weimar Republic', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:Weimar_Republic property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q757
Q7725634
USER
And what about Saint Vincent and the Grenadines?
(Q757,P85,c(Q7725634))
action filter_type
action find
entity Q757
relation P85
type Q7725634
['Q757', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q757 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
Saint Vincent and the Grenadines
action filter_type
action find
entity Saint Vincent and the Grenadines
relation anthem
type literary work
['Saint Vincent and the Grenadines', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:Saint_Vincent_and_the_Grenadines property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
literary work
Q1064024
SYSTEM
Saint Vincent Land so Beautiful
Q1064024
(Q757,P85,c(Q7725634))
action filter_type
action find
entity Q757
relation P85
type Q7725634
[ANSWER]
['Q757', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q757 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
Saint Vincent Land so Beautiful
Saint Vincent Land so Beautiful
action filter_type
action find
entity Saint Vincent and the Grenadines
relation anthem
type literary work
['Saint Vincent and the Grenadines', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:Saint_Vincent_and_the_Grenadines property:anthem ?s . ?s rdf:type ontology:literary_work }
[]