Simple Question (Direct)
Simple Question
Q14866824
P937
Q56061
USER
What is the work location of Ute Eiling-Hütig ?
(Q14866824,P937,c(Q56061))
action filter_type
action find
entity Q14866824
relation P937
type Q56061
['Q14866824', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q14866824 property:P937 ?q }
Ute Eiling-Hütig
action filter_type
action find
entity Ute Eiling-Hütig
relation work location
type administrative territorial entity
['Ute Eiling-Hütig', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Ute_Eiling-Hütig property:work_location ?q }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q14866824,P937,c(Q56061))
action filter_type
action find
entity Q14866824
relation P937
type Q56061
The work location of Ute Eiling-Hütig is in [ANSWER]
['Q14866824', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q14866824 property:P937 ?q }
Munich
The work location of Ute Eiling-Hütig is in Munich
Munich
action filter_type
action find
entity Ute Eiling-Hütig
relation work location
type administrative territorial entity
['Ute Eiling-Hütig', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Ute_Eiling-Hütig property:work_location ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1726
P915
Q838948
USER
What were filmed at that administrative territory ?
(c(Q838948),P915,Q1726)
action filter_type
action find_reverse
entity Q1726
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1726']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q1726 . ?i rdf:type ontology:Q838948 }
Munich
action filter_type
action find_reverse
entity Munich
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Munich']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:Munich . ?i rdf:type ontology:work_of_art }
[]
work of art
Q309248 Q166696 Q694781
SYSTEM
The Three Musketeers, The Baader Meinhof Complex, The American Friend
Q488316 Q1768311 Q573953 Q694781 Q700765 Q160306 Q560800 Q627209 Q22000000 Q166696 Q828725 Q309248 Q2052950 Q704732 Q2025112 Q870973 Q19315473 Q2175638
(c(Q838948),P915,Q1726)
action filter_type
action find_reverse
entity Q1726
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q1726']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q1726 . ?i rdf:type ontology:Q838948 }
Anatomy Bloodline Artists Under the Big Top: Perplexed The American Friend Ludwig Das Wilde Leben Ace of Aces Rollerball Circus of Love The Baader Meinhof Complex The Passenger The Three Musketeers L'ultimo treno della notte The NeverEnding Story II: The Next Chapter 3096 Days Ach du lieber Harry Snowden Carnival Story
The Three Musketeers, The Baader Meinhof Complex and The American Friend were filmed at that administrative territory
The Three Musketeers The Baader Meinhof Complex The American Friend
action filter_type
action find_reverse
entity Munich
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Munich']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:Munich . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q309248 Q166696 Q694781
P136
Q1792379
USER
What can be considered as category for those works of art ?
(Q309248,P136,c(Q1792379)) (Q166696,P136,c(Q1792379)) (Q694781,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q309248', 'P136', {'concept': 'Q1792379'}] ['Q166696', 'P136', {'concept': 'Q1792379'}] ['Q694781', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?w property:P136 ?f . ?f rdf:type ontology:Q1792379 . VALUES ( ?w ) { ( resource:Q488316 ) ( resource:Q1768311 ) ( resource:Q573953 ) } }
The Three Musketeers The Baader Meinhof Complex The American Friend
action filter_type
action find
entity prev_answer
relation genre
type art genre
['The Three Musketeers', 'genre', {'concept': 'art genre'}] ['The Baader Meinhof Complex', 'genre', {'concept': 'art genre'}] ['The American Friend', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?w property:genre ?f . ?f rdf:type ontology:art_genre . VALUES ( ?w ) { ( resource:Anatomy ) ( resource:Bloodline ) ( resource:Artists_Under_the_Big_Top:_Perplexed ) } }
[]
art genre
Q1257444 Q20656352 Q319221
SYSTEM
film adaptation, alternate history film, adventure film
Q1257444 Q20656352 Q319221 Q188473 Q1257444 Q622291 Q130232 Q959790 Q2421031 Q130232
(Q309248,P136,c(Q1792379)) (Q166696,P136,c(Q1792379)) (Q694781,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWERS] can be considered as category for those works of art
['Q309248', 'P136', {'concept': 'Q1792379'}] ['Q166696', 'P136', {'concept': 'Q1792379'}] ['Q694781', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?w property:P136 ?f . ?f rdf:type ontology:Q1792379 . VALUES ( ?w ) { ( resource:Q488316 ) ( resource:Q1768311 ) ( resource:Q573953 ) } }
film adaptation alternate history film adventure film action film film adaptation political thriller drama film crime film neo-noir drama film
Film adaptation, alternate history film and adventure film can be considered as category for those works of art
film adaptation alternate history film adventure film
action filter_type
action find
entity prev_answer
relation genre
type art genre
['The Three Musketeers', 'genre', {'concept': 'art genre'}] ['The Baader Meinhof Complex', 'genre', {'concept': 'art genre'}] ['The American Friend', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?w property:genre ?f . ?f rdf:type ontology:art_genre . VALUES ( ?w ) { ( resource:Anatomy ) ( resource:Bloodline ) ( resource:Artists_Under_the_Big_Top:_Perplexed ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309248
P86
Q502895
USER
Who did the compostion for The Three Musketeers?
(Q1257444,P86,c(Q502895)) (Q20656352,P86,c(Q502895)) (Q319221,P86,c(Q502895))
action filter_type
action find
entity Q309248
relation P86
type Q502895
['Q1257444', 'P86', {'concept': 'Q502895'}] ['Q20656352', 'P86', {'concept': 'Q502895'}] ['Q319221', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q309248 property:P86 ?i . ?i rdf:type ontology:Q502895 }
The Three Musketeers
action filter_type
action find
entity The Three Musketeers
relation composer
type common name
['film adaptation', 'composer', {'concept': 'common name'}] ['alternate history film', 'composer', {'concept': 'common name'}] ['adventure film', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_Three_Musketeers property:composer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q78957
SYSTEM
Paul Haslinger
Q78957
(Q1257444,P86,c(Q502895)) (Q20656352,P86,c(Q502895)) (Q319221,P86,c(Q502895))
action filter_type
action find
entity Q309248
relation P86
type Q502895
[ANSWER] did the compostion for The Three Musketeers
['Q1257444', 'P86', {'concept': 'Q502895'}] ['Q20656352', 'P86', {'concept': 'Q502895'}] ['Q319221', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q309248 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Paul Haslinger
Paul Haslinger did the compostion for The Three Musketeers
Paul Haslinger
action filter_type
action find
entity The Three Musketeers
relation composer
type common name
['film adaptation', 'composer', {'concept': 'common name'}] ['alternate history film', 'composer', {'concept': 'common name'}] ['adventure film', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_Three_Musketeers property:composer ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 2012 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2012
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?x = 2012 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2012
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?x = 2012 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2012
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?x = 2012 ) }
bass guitar double bass trumpet cello organ drum kit
6
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2012
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?x = 2012 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters had their voice dubbing done by atleast 4 people ?
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?j ) WHERE { ?m property:P725 ?a . ?m rdf:type ontology:Q95074 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?j >= 4 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?j ) WHERE { ?m property:voice_actor ?a . ?m rdf:type ontology:fictional_character . ?a rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?j >= 4 ) }
[]
common name fictional character
SYSTEM
3
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 4
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?j ) WHERE { ?m property:P725 ?a . ?m rdf:type ontology:Q95074 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?j >= 4 ) }
Samurai Goroh Samus Aran Captain Falcon
3
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 4
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?j ) WHERE { ?m property:voice_actor ?a . ?m rdf:type ontology:fictional_character . ?a rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?j >= 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques had around 42 people as the dubbing artist ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 42
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?f = 42 ) . { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?f ) WHERE { ?q rdf:type ontology:Q1001378 . ?t rdf:type ontology:Q502895 . ?q property:P725 ?t } GROUP BY ?q } }
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 42
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?f = 42 ) . { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?f ) WHERE { ?q rdf:type ontology:cinematic_technique . ?t rdf:type ontology:common_name . ?q property:voice_actor ?t } GROUP BY ?q } }
[]
common name cinematic technique
SYSTEM
1
Q15270647
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 42
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?f = 42 ) . { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?f ) WHERE { ?q rdf:type ontology:Q1001378 . ?t rdf:type ontology:Q502895 . ?q property:P725 ?t } GROUP BY ?q } }
Zootopia
1
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 42
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?f = 42 ) . { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?f ) WHERE { ?q rdf:type ontology:cinematic_technique . ?t rdf:type ontology:common_name . ?q property:voice_actor ?t } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309248
P1040
Q502895
USER
Who is the editor of The Three Musketeers ?
(Q309248,P1040,c(Q502895))
action filter_type
action find
entity Q309248
relation P1040
type Q502895
['Q309248', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q309248 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
The Three Musketeers
action filter_type
action find
entity The Three Musketeers
relation film editor
type common name
['The Three Musketeers', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Three_Musketeers property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
common name
Q2641821
SYSTEM
Alexander Berner
Q2641821
(Q309248,P1040,c(Q502895))
action filter_type
action find
entity Q309248
relation P1040
type Q502895
The editor of The Three Musketeers is Sir [ANSWER]
['Q309248', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q309248 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
Alexander Berner
The editor of The Three Musketeers is Sir Alexander Berner
Alexander Berner
action filter_type
action find
entity The Three Musketeers
relation film editor
type common name
['The Three Musketeers', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Three_Musketeers property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1077160
Q502895
USER
And also tell me about Gallipoli?
(Q1077160,P1040,c(Q502895))
action filter_type
action find
entity Q1077160
relation P1040
type Q502895
['Q1077160', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1077160 property:P1040 ?s . ?s rdf:type ontology:Q502895 }
Gallipoli
action filter_type
action find
entity Gallipoli
relation film editor
type common name
['Gallipoli', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Gallipoli property:film_editor ?s . ?s rdf:type ontology:common_name }
[]
common name
Q2577230
SYSTEM
William M. Anderson
Q2577230
(Q1077160,P1040,c(Q502895))
action filter_type
action find
entity Q1077160
relation P1040
type Q502895
[ANSWER]
['Q1077160', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1077160 property:P1040 ?s . ?s rdf:type ontology:Q502895 }
William M. Anderson
William M. Anderson
action filter_type
action find
entity Gallipoli
relation film editor
type common name
['Gallipoli', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Gallipoli property:film_editor ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18811149 Q78957
P27
Q1048835
USER
Which political territories are the native countriesof Paul Haslinger or James Greig ?
OR((Q78957,P27,c(Q1048835)), (Q18811149,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q78957
relation P27
action find
entity Q18811149
relation P27
type Q1048835
{'OR': [['Q78957', 'P27', {'concept': 'Q1048835'}], ['Q18811149', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q78957 property:P27 ?y } UNION { resource:Q18811149 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
James Greig Paul Haslinger
action filter_type
action union
action find
entity Paul Haslinger
relation country of citizenship
action find
entity James Greig
relation country of citizenship
type political territorial entity
{'OR': [['Paul Haslinger', 'country of citizenship', {'concept': 'political territorial entity'}], ['James Greig', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Paul_Haslinger property:country_of_citizenship ?y } UNION { resource:James_Greig property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q40
SYSTEM
New Zealand, Austria
Q664 Q40
OR((Q78957,P27,c(Q1048835)), (Q18811149,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q78957
relation P27
action find
entity Q18811149
relation P27
type Q1048835
[ANSWERS] are the native countriesof Paul Haslinger or James Greig
{'OR': [['Q78957', 'P27', {'concept': 'Q1048835'}], ['Q18811149', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q78957 property:P27 ?y } UNION { resource:Q18811149 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
New Zealand Austria
New Zealand and Austria are the native countriesof Paul Haslinger or James Greig
New Zealand Austria
action filter_type
action union
action find
entity Paul Haslinger
relation country of citizenship
action find
entity James Greig
relation country of citizenship
type political territorial entity
{'OR': [['Paul Haslinger', 'country of citizenship', {'concept': 'political territorial entity'}], ['James Greig', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Paul_Haslinger property:country_of_citizenship ?y } UNION { resource:James_Greig property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]