Simple Question (Direct)
Simple Question
Q1604997
P364
Q34770
USER
Which language was used originally for the creation of Paganini Horror ?
(Q1604997,P364,c(Q34770))
action filter_type
action find
entity Q1604997
relation P364
type Q34770
['Q1604997', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1604997 property:P364 ?k . ?k rdf:type ontology:Q34770 }
Paganini Horror
action filter_type
action find
entity Paganini Horror
relation original language of work
type language
['Paganini Horror', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Paganini_Horror property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1604997,P364,c(Q34770))
action filter_type
action find
entity Q1604997
relation P364
type Q34770
[ANSWER] was used originally for the creation of Paganini Horror
['Q1604997', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1604997 property:P364 ?k . ?k rdf:type ontology:Q34770 }
Italian
Italian was used originally for the creation of Paganini Horror
Italian
action filter_type
action find
entity Paganini Horror
relation original language of work
type language
['Paganini Horror', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Paganini_Horror property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1604997
P161
Q502895
USER
Which people starred in that work of art ?
(Q652,P161,c(Q502895))
action filter_type
action find
entity Q1604997
relation P161
type Q502895
['Q652', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1604997 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Paganini Horror
action filter_type
action find
entity Paganini Horror
relation cast member
type common name
['Italian', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Paganini_Horror property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Q314914 Q696306 Q3807381
SYSTEM
Donald Pleasence, Daria Nicolodi, Jasmine Maimone
Q3837947 Q3807381 Q314914 Q696306 Q3896927
(Q652,P161,c(Q502895))
action filter_type
action find
entity Q1604997
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q652', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1604997 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Luana Ravegnini Jasmine Maimone Donald Pleasence Daria Nicolodi Pascal Persiano
Donald Pleasence, Daria Nicolodi and Jasmine Maimone starred in that work of art
Donald Pleasence Daria Nicolodi Jasmine Maimone
action filter_type
action find
entity Paganini Horror
relation cast member
type common name
['Italian', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Paganini_Horror property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q314914 Q1237963
P1346
Q13406554
USER
How many sport competitions were Donald Pleasence or ETuF Essen decalred as a champion of ?
(c(Q13406554),P1346,Q314914) (c(Q13406554),P1346,Q1237963)
action count
action union
action filter_type
action find_reverse
entity Q314914
relation P1346
type Q13406554
action filter_type
action find_reverse
entity Q1237963
relation P1346
type Q13406554
[{'concept': 'Q13406554'}, 'P1346', 'Q314914'] [{'concept': 'Q13406554'}, 'P1346', 'Q1237963']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { VALUES ( ?i ) { ( resource:Q314914 ) ( resource:Q1237963 ) } . ?p property:P1346 ?i }
Donald Pleasence ETuF Essen
action count
action union
action filter_type
action find_reverse
entity Donald Pleasence
relation winner
type sport competition
action filter_type
action find_reverse
entity ETuF Essen
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Donald Pleasence'] [{'concept': 'sport competition'}, 'winner', 'ETuF Essen']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { VALUES ( ?i ) { ( resource:Donald_Pleasence ) ( resource:ETuF_Essen ) } . ?p property:winner ?i }
[]
sport competition
SYSTEM
3
Q163626 Q163630 Q163624
(c(Q13406554),P1346,Q314914) (c(Q13406554),P1346,Q1237963)
action count
action union
action filter_type
action find_reverse
entity Q314914
relation P1346
type Q13406554
action filter_type
action find_reverse
entity Q1237963
relation P1346
type Q13406554
[ANSWER]
[{'concept': 'Q13406554'}, 'P1346', 'Q314914'] [{'concept': 'Q13406554'}, 'P1346', 'Q1237963']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { VALUES ( ?i ) { ( resource:Q314914 ) ( resource:Q1237963 ) } . ?p property:P1346 ?i }
Tennis-Bundesliga 2000 (Men) Tennis-Bundesliga 2002 (Men) Tennis-Bundesliga 1999 (Men)
3
action count
action union
action filter_type
action find_reverse
entity Donald Pleasence
relation winner
type sport competition
action filter_type
action find_reverse
entity ETuF Essen
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Donald Pleasence'] [{'concept': 'sport competition'}, 'winner', 'ETuF Essen']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { VALUES ( ?i ) { ( resource:Donald_Pleasence ) ( resource:ETuF_Essen ) } . ?p property:winner ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q909740
P725
Q502895 Q11424
USER
Which films did lesser number of people do the dubbing for than Krabat – The Sorcerer's Apprentice ?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q909740
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q11424 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q909740 property:P725 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?h < ?c ) }
Krabat – The Sorcerer's Apprentice
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Krabat – The Sorcerer's Apprentice
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:film . ?k rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Krabat_–_The_Sorcerer's_Apprentice property:voice_actor ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?h < ?c ) }
[]
common name film
Q943192 Q785363 Q1361113
SYSTEM
Fantasia, The Time Masters, Pooh's Heffalump Movie
Q1138751 Q2918397 Q785363 Q1656435 Q943192 Q1361113 Q2299779 Q1195096
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q909740
relation P725
type Q502895
Lesser number of people did the dubbing for than Krabat – in [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q11424 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q909740 property:P725 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?h < ?c ) }
The Plague Dogs The Bugs Bunny/Road Runner Movie The Time Masters Ico, the Brave Horse Fantasia Pooh's Heffalump Movie Animal Farms Havoc in Heaven
Lesser number of people did the dubbing for than Krabat – in Fantasia, The Time Masters and Pooh's Heffalump Movie
Fantasia The Time Masters Pooh's Heffalump Movie
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Krabat – The Sorcerer's Apprentice
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:film . ?k rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Krabat_–_The_Sorcerer's_Apprentice property:voice_actor ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?h < ?c ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1361113
P1441
Q95074
USER
Which fictional character is from the works of that film ?
(c(Q95074),P1441,Q1361113)
action filter_type
action find_reverse
entity Q1361113
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q1361113']
SELECT DISTINCT ?m WHERE { ?m property:P1441 resource:Q1361113 . ?m rdf:type ontology:Q95074 }
Pooh's Heffalump Movie
action filter_type
action find_reverse
entity Pooh's Heffalump Movie
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', "Pooh's Heffalump Movie"]
SELECT DISTINCT ?m WHERE { ?m property:present_in_work resource:Pooh's_Heffalump_Movie . ?m rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q785363
SYSTEM
Did you mean The Time Masters ?
Q943192 Q785363 Q1361113
(c(Q95074),P1441,Q943192) (c(Q95074),P1441,Q785363) (c(Q95074),P1441,Q1361113)
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q943192'] [{'concept': 'Q95074'}, 'P1441', 'Q785363'] [{'concept': 'Q95074'}, 'P1441', 'Q1361113']
SELECT DISTINCT ?m WHERE { ?m property:P1441 resource:Q1361113 . ?m rdf:type ontology:Q95074 }
Fantasia The Time Masters Pooh's Heffalump Movie
Did you mean The Time Masters ?
The Time Masters
[{'concept': 'fictional character'}, 'present in work', 'Fantasia'] [{'concept': 'fictional character'}, 'present in work', 'The Time Masters'] [{'concept': 'fictional character'}, 'present in work', "Pooh's Heffalump Movie"]
SELECT DISTINCT ?m WHERE { ?m property:present_in_work resource:Pooh's_Heffalump_Movie . ?m rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Pooh's Heffalump Movie. Could you tell me the answer for that?
(c(Q95074),P1441,Q1361113)
Q1361113
[{'concept': 'Q95074'}, 'P1441', 'Q1361113']
[{'concept': 'fictional character'}, 'present in work', "Pooh's Heffalump Movie"]
[]
Q27303912
SYSTEM
I-Aah
Q27303912
(c(Q95074),P1441,Q1361113)
action filter_type
action find_reverse
entity Q1361113
relation P1441
type Q95074
[ANSWER] is from the works of that film
[{'concept': 'Q95074'}, 'P1441', 'Q1361113']
SELECT DISTINCT ?m WHERE { ?m property:P1441 resource:Q1361113 . ?m rdf:type ontology:Q95074 }
I-Aah
I-Aah is from the works of that film
I-Aah
action filter_type
action find_reverse
entity Pooh's Heffalump Movie
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', "Pooh's Heffalump Movie"]
SELECT DISTINCT ?m WHERE { ?m property:present_in_work resource:Pooh's_Heffalump_Movie . ?m rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314914
P19
Q180673
USER
Which ceremonial county of England was Donald Pleasence born in ?
(Q314914,P19,c(Q180673))
action filter_type
action find
entity Q314914
relation P19
type Q180673
['Q314914', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?c WHERE { resource:Q314914 property:P19 ?c . ?c rdf:type ontology:Q180673 }
Donald Pleasence
action filter_type
action find
entity Donald Pleasence
relation place of birth
type ceremonial county of England
['Donald Pleasence', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?c WHERE { resource:Donald_Pleasence property:place_of_birth ?c . ?c rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q23092
SYSTEM
Nottinghamshire
Q23092
(Q314914,P19,c(Q180673))
action filter_type
action find
entity Q314914
relation P19
type Q180673
Which ceremonial county of England was Donald Pleasence born in
['Q314914', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?c WHERE { resource:Q314914 property:P19 ?c . ?c rdf:type ontology:Q180673 }
Nottinghamshire
Which ceremonial county of England was Donald Pleasence born in
Nottinghamshire
action filter_type
action find
entity Donald Pleasence
relation place of birth
type ceremonial county of England
['Donald Pleasence', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?c WHERE { resource:Donald_Pleasence property:place_of_birth ?c . ?c rdf:type ontology:ceremonial_county_of_England }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q337437
Q180673
USER
And also tell me about John Pym?
(Q337437,P19,c(Q180673))
action filter_type
action find
entity Q337437
relation P19
type Q180673
['Q337437', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?x WHERE { resource:Q337437 property:P19 ?x . ?x rdf:type ontology:Q180673 }
John Pym
action filter_type
action find
entity John Pym
relation place of birth
type ceremonial county of England
['John Pym', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?x WHERE { resource:John_Pym property:place_of_birth ?x . ?x rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q23157
SYSTEM
Somerset
Q23157
(Q337437,P19,c(Q180673))
action filter_type
action find
entity Q337437
relation P19
type Q180673
[ANSWER]
['Q337437', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?x WHERE { resource:Q337437 property:P19 ?x . ?x rdf:type ontology:Q180673 }
Somerset
Somerset
action filter_type
action find
entity John Pym
relation place of birth
type ceremonial county of England
['John Pym', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?x WHERE { resource:John_Pym property:place_of_birth ?x . ?x rdf:type ontology:ceremonial_county_of_England }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q141688
P710
Q500834
USER
What event was Anorthosis Famagusta FC a participant of ?
(c(Q500834),P710,Q141688)
action filter_type
action find_reverse
entity Q141688
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q141688']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q141688 . ?b rdf:type ontology:Q500834 }
Anorthosis Famagusta FC
action filter_type
action find_reverse
entity Anorthosis Famagusta FC
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Anorthosis Famagusta FC']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Anorthosis_Famagusta_FC . ?b rdf:type ontology:tournament }
[]
tournament
Q22026422
SYSTEM
Palingenesis Cup
Q22026422
(c(Q500834),P710,Q141688)
action filter_type
action find_reverse
entity Q141688
relation P710
type Q500834
Anorthosis Famagusta FC was the [ANSWER]
[{'concept': 'Q500834'}, 'P710', 'Q141688']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q141688 . ?b rdf:type ontology:Q500834 }
Palingenesis Cup
Anorthosis Famagusta FC was the Palingenesis Cup
Palingenesis Cup
action filter_type
action find_reverse
entity Anorthosis Famagusta FC
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Anorthosis Famagusta FC']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Anorthosis_Famagusta_FC . ?b rdf:type ontology:tournament }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23157
P937
Q502895
USER
Which person have Somerset as their work location ?
(c(Q502895),P937,Q23157)
action filter_type
action find_reverse
entity Q23157
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q23157']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q23157 }
Somerset
action filter_type
action find_reverse
entity Somerset
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Somerset']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Somerset }
[]
common name
Q6265476
SYSTEM
John de Bayeux
Q6265476
(c(Q502895),P937,Q23157)
action filter_type
action find_reverse
entity Q23157
relation P937
type Q502895
[ANSWER] have Somerset as their work location
[{'concept': 'Q502895'}, 'P937', 'Q23157']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q23157 }
John de Bayeux
John de Bayeux have Somerset as their work location
John de Bayeux
action filter_type
action find_reverse
entity Somerset
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Somerset']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Somerset }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23157
P17
Q15617994
USER
Which administrative territory is Somerset present in ?
(Q23157,P17,c(Q15617994))
action filter_type
action find
entity Q23157
relation P17
type Q15617994
['Q23157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q23157 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Somerset
action filter_type
action find
entity Somerset
relation country
type designation for an administrative territorial entity
['Somerset', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Somerset property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q23157,P17,c(Q15617994))
action filter_type
action find
entity Q23157
relation P17
type Q15617994
Which administrative territory is Somerset present in
['Q23157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q23157 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Somerset present in
United Kingdom
action filter_type
action find
entity Somerset
relation country
type designation for an administrative territorial entity
['Somerset', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Somerset property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q2712338 Q27303912
P1441
Q11424
USER
Which films are I-Aah but not Gopher present in ?
AND((Q27303912,P1441,c(Q11424)), NOT((Q2712338,P1441,c(Q11424))))
action filter_type
action difference
action find
entity Q27303912
relation P1441
action find
entity Q2712338
relation P1441
type Q11424
{'AND': [['Q27303912', 'P1441', {'concept': 'Q11424'}], {'NOT': [['Q2712338', 'P1441', {'concept': 'Q11424'}]]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q11424 . resource:Q27303912 property:P1441 ?a . FILTER NOT EXISTS { resource:Q2712338 property:P1441 ?a } }
Gopher I-Aah
action filter_type
action difference
action find
entity I-Aah
relation present in work
action find
entity Gopher
relation present in work
type film
{'AND': [['I-Aah', 'present in work', {'concept': 'film'}], {'NOT': [['Gopher', 'present in work', {'concept': 'film'}]]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:film . resource:I-Aah property:present_in_work ?a . FILTER NOT EXISTS { resource:Gopher property:present_in_work ?a } }
[]
film
Q1406374 Q374431 Q1361113
SYSTEM
Piglet's Big Movie, The Tigger Movie, Pooh's Heffalump Movie
Q1406374 Q374431 Q1361113
AND((Q27303912,P1441,c(Q11424)), NOT((Q2712338,P1441,c(Q11424))))
action filter_type
action difference
action find
entity Q27303912
relation P1441
action find
entity Q2712338
relation P1441
type Q11424
I-Aah but not Gopher are The [ANSWERS]
{'AND': [['Q27303912', 'P1441', {'concept': 'Q11424'}], {'NOT': [['Q2712338', 'P1441', {'concept': 'Q11424'}]]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q11424 . resource:Q27303912 property:P1441 ?a . FILTER NOT EXISTS { resource:Q2712338 property:P1441 ?a } }
Piglet's Big Movie The Tigger Movie Pooh's Heffalump Movie
I-Aah but not Gopher are The Piglet's Big Movie, The Tigger Movie and Pooh's Heffalump Movie
Piglet's Big Movie The Tigger Movie Pooh's Heffalump Movie
action filter_type
action difference
action find
entity I-Aah
relation present in work
action find
entity Gopher
relation present in work
type film
{'AND': [['I-Aah', 'present in work', {'concept': 'film'}], {'NOT': [['Gopher', 'present in work', {'concept': 'film'}]]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:film . resource:I-Aah property:present_in_work ?a . FILTER NOT EXISTS { resource:Gopher property:present_in_work ?a } }
[]