Simple Question (Direct)
Simple Question
Q6790782
P106
Q12737077
USER
Which occupations have Matthew Kelly as his/her 's career ?
(Q6790782,P106,c(Q12737077))
action filter_type
action find
entity Q6790782
relation P106
type Q12737077
['Q6790782', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q6790782 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Matthew Kelly
action filter_type
action find
entity Matthew Kelly
relation occupation
type occupation
['Matthew Kelly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Matthew_Kelly property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q947873 Q2259451
SYSTEM
television presenter, stage actor
Q947873 Q2259451
(Q6790782,P106,c(Q12737077))
action filter_type
action find
entity Q6790782
relation P106
type Q12737077
The [ANSWERS] have Matthew Kelly as his/her 's career
['Q6790782', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q6790782 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
television presenter stage actor
The television presenter and stage actor have Matthew Kelly as his/her 's career
television presenter stage actor
action filter_type
action find
entity Matthew Kelly
relation occupation
type occupation
['Matthew Kelly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Matthew_Kelly property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6790782
P166
Q618779
USER
What was received by that person ?
(Q947873,P166,c(Q618779)) (Q2259451,P166,c(Q618779))
action filter_type
action find
entity Q6790782
relation P166
type Q618779
['Q947873', 'P166', {'concept': 'Q618779'}] ['Q2259451', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q6790782 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Matthew Kelly
action filter_type
action find
entity Matthew Kelly
relation award received
type award
['television presenter', 'award received', {'concept': 'award'}] ['stage actor', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Matthew_Kelly property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q28470
SYSTEM
Laurence Olivier Award
Q28470
(Q947873,P166,c(Q618779)) (Q2259451,P166,c(Q618779))
action filter_type
action find
entity Q6790782
relation P166
type Q618779
The [ANSWER] was received by that person
['Q947873', 'P166', {'concept': 'Q618779'}] ['Q2259451', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q6790782 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Laurence Olivier Award
The Laurence Olivier Award was received by that person
Laurence Olivier Award
action filter_type
action find
entity Matthew Kelly
relation award received
type award
['television presenter', 'award received', {'concept': 'award'}] ['stage actor', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Matthew_Kelly property:award_received ?r . ?r rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6790782
P161
Q15416
USER
Which television programs stars Matthew Kelly as actor ?
(c(Q15416),P161,Q6790782)
action filter_type
action find_reverse
entity Q6790782
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q6790782']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15416 . ?i property:P161 resource:Q6790782 }
Matthew Kelly
action filter_type
action find_reverse
entity Matthew Kelly
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Matthew Kelly']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:television_program . ?i property:cast_member resource:Matthew_Kelly }
[]
television program
Q5519937 Q5879790
SYSTEM
Game for a Laugh, Holding the Fort
Q5519937 Q5879790
(c(Q15416),P161,Q6790782)
action filter_type
action find_reverse
entity Q6790782
relation P161
type Q15416
Game for a Laugh and holding the Fort star Matthew Kelly as actor
[{'concept': 'Q15416'}, 'P161', 'Q6790782']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15416 . ?i property:P161 resource:Q6790782 }
Game for a Laugh Holding the Fort
Game for a Laugh and holding the Fort star Matthew Kelly as actor
Game for a Laugh Holding the Fort
action filter_type
action find_reverse
entity Matthew Kelly
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Matthew Kelly']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:television_program . ?i property:cast_member resource:Matthew_Kelly }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5519937 Q5879790
P495
Q15617994
USER
What are the origins of those television programs ?
(Q5519937,P495,c(Q15617994)) (Q5879790,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q5519937', 'P495', {'concept': 'Q15617994'}] ['Q5879790', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?c ) { ( resource:Q5519937 ) ( resource:Q5879790 ) } . ?u rdf:type ontology:Q15617994 . ?c property:P495 ?u }
Game for a Laugh Holding the Fort
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Game for a Laugh', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Holding the Fort', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?c ) { ( resource:Game_for_a_Laugh ) ( resource:Holding_the_Fort ) } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country_of_origin ?u }
[]
designation for an administrative territorial entity
Q145 Q145
SYSTEM
United Kingdom
Q145 Q145
(Q5519937,P495,c(Q15617994)) (Q5879790,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
The origins of those television programs are in [ANSWER] and [ANSWER]
['Q5519937', 'P495', {'concept': 'Q15617994'}] ['Q5879790', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?c ) { ( resource:Q5519937 ) ( resource:Q5879790 ) } . ?u rdf:type ontology:Q15617994 . ?c property:P495 ?u }
United Kingdom United Kingdom
The origins of those television programs are in United Kingdom and United Kingdom
United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Game for a Laugh', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Holding the Fort', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?c ) { ( resource:Game_for_a_Laugh ) ( resource:Holding_the_Fort ) } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country_of_origin ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q947873
P101
Q502895
USER
Which person has specialisation in television presenter ?
(c(Q502895),P101,Q947873)
action filter_type
action find_reverse
entity Q947873
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q947873']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q947873 . ?d rdf:type ontology:Q502895 }
television presenter
action filter_type
action find_reverse
entity television presenter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'television presenter']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:television_presenter . ?d rdf:type ontology:common_name }
[]
common name
Q12336296
SYSTEM
Sofie Linde Lauridsen
Q12336296
(c(Q502895),P101,Q947873)
action filter_type
action find_reverse
entity Q947873
relation P101
type Q502895
[ANSWER] has specialisation in television presenter
[{'concept': 'Q502895'}, 'P101', 'Q947873']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q947873 . ?d rdf:type ontology:Q502895 }
Sofie Linde Lauridsen
Sofie Linde Lauridsen has specialisation in television presenter
Sofie Linde Lauridsen
action filter_type
action find_reverse
entity television presenter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'television presenter']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:television_presenter . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12336296
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q12336296,P27,c(Q1048835))
action filter_type
action find
entity Q12336296
relation P27
type Q1048835
['Q12336296', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q12336296 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Sofie Linde Lauridsen
action filter_type
action find
entity Sofie Linde Lauridsen
relation country of citizenship
type political territorial entity
['Sofie Linde Lauridsen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sofie_Linde_Lauridsen property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q12336296,P27,c(Q1048835))
action filter_type
action find
entity Q12336296
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q12336296', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q12336296 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Denmark
Denmark is the native country of that person
Denmark
action filter_type
action find
entity Sofie Linde Lauridsen
relation country of citizenship
type political territorial entity
['Sofie Linde Lauridsen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sofie_Linde_Lauridsen property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16773554 Q12336296
P19
Q56061
USER
Which administrative territories are the birthplace of Sofie Linde Lauridsen or Logan Darnell ?
OR((Q12336296,P19,c(Q56061)), (Q16773554,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12336296
relation P19
action find
entity Q16773554
relation P19
type Q56061
{'OR': [['Q12336296', 'P19', {'concept': 'Q56061'}], ['Q16773554', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { VALUES ( ?g ) { ( resource:Q12336296 ) ( resource:Q16773554 ) } . ?g property:P19 ?k } }
Logan Darnell Sofie Linde Lauridsen
action filter_type
action union
action find
entity Sofie Linde Lauridsen
relation place of birth
action find
entity Logan Darnell
relation place of birth
type administrative territorial entity
{'OR': [['Sofie Linde Lauridsen', 'place of birth', {'concept': 'administrative territorial entity'}], ['Logan Darnell', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { VALUES ( ?g ) { ( resource:Sofie_Linde_Lauridsen ) ( resource:Logan_Darnell ) } . ?g property:place_of_birth ?k } }
[]
administrative territorial entity
Q25319 Q23197
SYSTEM
Aarhus, Nashville
Q25319 Q23197
OR((Q12336296,P19,c(Q56061)), (Q16773554,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12336296
relation P19
action find
entity Q16773554
relation P19
type Q56061
[ANSWERS] are the birthplace of Sofie Linde Lauridsen or Logan Darnell
{'OR': [['Q12336296', 'P19', {'concept': 'Q56061'}], ['Q16773554', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { VALUES ( ?g ) { ( resource:Q12336296 ) ( resource:Q16773554 ) } . ?g property:P19 ?k } }
Aarhus Nashville
Aarhus and Nashville are the birthplace of Sofie Linde Lauridsen or Logan Darnell
Aarhus Nashville
action filter_type
action union
action find
entity Sofie Linde Lauridsen
relation place of birth
action find
entity Logan Darnell
relation place of birth
type administrative territorial entity
{'OR': [['Sofie Linde Lauridsen', 'place of birth', {'concept': 'administrative territorial entity'}], ['Logan Darnell', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { VALUES ( ?g ) { ( resource:Sofie_Linde_Lauridsen ) ( resource:Logan_Darnell ) } . ?g property:place_of_birth ?k } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q11513337 Q947873
P106
Q502895
USER
Which people have the profession of television presenter and athletics competitor ?
AND((c(Q502895),P106,Q947873), (c(Q502895),P106,Q11513337))
action filter_type
action intersection
action find_reverse
entity Q947873
relation P106
action find_reverse
entity Q11513337
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q947873'], [{'concept': 'Q502895'}, 'P106', 'Q11513337']]}
SELECT DISTINCT ?x WHERE { ?x property:P106 resource:Q11513337 . ?x property:P106 resource:Q947873 . ?x rdf:type ontology:Q502895 }
athletics competitor television presenter
action filter_type
action intersection
action find_reverse
entity television presenter
relation occupation
action find_reverse
entity athletics competitor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'television presenter'], [{'concept': 'common name'}, 'occupation', 'athletics competitor']]}
SELECT DISTINCT ?x WHERE { ?x property:occupation resource:athletics_competitor . ?x property:occupation resource:television_presenter . ?x rdf:type ontology:common_name }
[]
common name
Q823577 Q316081 Q142733 Q1680714 Q5547741 Q573215 Q2413757 Q60970 Q5885017 Q2588479
SYSTEM
Some of them are Bernd Heller, Norbert Dobeleit, Bob Spaak, James Lofton, Miguel de la Quadra-Salcedo, Roger Black, Olga Commandeur, Sakis Rouvas, Bengt "Polo" Johanson, Wolf-Dieter Poschmann
Q336543 Q91718 Q5885017 Q5547741 Q60970 Q1680714 Q142733 Q2416851 Q124323 Q2413757 Q823577 Q268801 Q2588479 Q316081 Q573215 Q1168141
AND((c(Q502895),P106,Q947873), (c(Q502895),P106,Q11513337))
action filter_type
action intersection
action find_reverse
entity Q947873
relation P106
action find_reverse
entity Q11513337
relation P106
type Q502895
[ANSWERS] have the profession of television presenter and athletics competitor
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q947873'], [{'concept': 'Q502895'}, 'P106', 'Q11513337']]}
SELECT DISTINCT ?x WHERE { ?x property:P106 resource:Q11513337 . ?x property:P106 resource:Q947873 . ?x rdf:type ontology:Q502895 }
Tanni Grey-Thompson Heidi Schüller Bengt "Polo" Johanson Miguel de la Quadra-Salcedo Sakis Rouvas James Lofton Bob Spaak Dolf Jansen Gerhard Adolph Olga Commandeur Bernd Heller Manuela Di Centa Wolf-Dieter Poschmann Norbert Dobeleit Roger Black Nkechi Madubuko
Bernd Heller, Norbert Dobeleit, Bob Spaak, James Lofton, Miguel de la Quadra-Salcedo, Roger Black, Olga Commandeur, Sakis Rouvas, Bengt "Polo" Johanson and Wolf-Dieter Poschmann have the profession of television presenter and athletics competitor
Bernd Heller Norbert Dobeleit Bob Spaak James Lofton Miguel de la Quadra-Salcedo Roger Black Olga Commandeur Sakis Rouvas Bengt "Polo" Johanson Wolf-Dieter Poschmann
action filter_type
action intersection
action find_reverse
entity television presenter
relation occupation
action find_reverse
entity athletics competitor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'television presenter'], [{'concept': 'common name'}, 'occupation', 'athletics competitor']]}
SELECT DISTINCT ?x WHERE { ?x property:occupation resource:athletics_competitor . ?x property:occupation resource:television_presenter . ?x rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q56061
USER
How many administrative territories were that person born in ?
(Q2588479,P19,c(Q56061))
['Q2588479', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2588479 property:Q1322263 ?z . ?z rdf:type ontology:Q56061 }
['Wolf-Dieter Poschmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wolf-Dieter_Poschmann property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q142733
SYSTEM
Did you mean Bob Spaak ?
(Q823577,P19,c(Q56061)) (Q316081,P19,c(Q56061)) (Q142733,P19,c(Q56061)) (Q1680714,P19,c(Q56061)) (Q5547741,P19,c(Q56061)) (Q573215,P19,c(Q56061)) (Q2413757,P19,c(Q56061)) (Q60970,P19,c(Q56061)) (Q5885017,P19,c(Q56061)) (Q2588479,P19,c(Q56061))
[ANSWER]
['Q823577', 'P19', {'concept': 'Q56061'}] ['Q316081', 'P19', {'concept': 'Q56061'}] ['Q142733', 'P19', {'concept': 'Q56061'}] ['Q1680714', 'P19', {'concept': 'Q56061'}] ['Q5547741', 'P19', {'concept': 'Q56061'}] ['Q573215', 'P19', {'concept': 'Q56061'}] ['Q2413757', 'P19', {'concept': 'Q56061'}] ['Q60970', 'P19', {'concept': 'Q56061'}] ['Q5885017', 'P19', {'concept': 'Q56061'}] ['Q2588479', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2588479 property:Q1322263 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Bob Spaak ?
Bob Spaak
['Bernd Heller', 'place of birth', {'concept': 'administrative territorial entity'}] ['Norbert Dobeleit', 'place of birth', {'concept': 'administrative territorial entity'}] ['Bob Spaak', 'place of birth', {'concept': 'administrative territorial entity'}] ['James Lofton', 'place of birth', {'concept': 'administrative territorial entity'}] ['Miguel de la Quadra-Salcedo', 'place of birth', {'concept': 'administrative territorial entity'}] ['Roger Black', 'place of birth', {'concept': 'administrative territorial entity'}] ['Olga Commandeur', 'place of birth', {'concept': 'administrative territorial entity'}] ['Sakis Rouvas', 'place of birth', {'concept': 'administrative territorial entity'}] ['Bengt "Polo" Johanson', 'place of birth', {'concept': 'administrative territorial entity'}] ['Wolf-Dieter Poschmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wolf-Dieter_Poschmann property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Wolf-Dieter Poschmann. Could you tell me the answer for that?
(Q2588479,P19,c(Q56061))
Q2588479
['Q2588479', 'P19', {'concept': 'Q56061'}]
['Wolf-Dieter Poschmann', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q365
(Q2588479,P19,c(Q56061))
[ANSWER]
['Q2588479', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2588479 property:Q1322263 ?z . ?z rdf:type ontology:Q56061 }
Cologne
1
['Wolf-Dieter Poschmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wolf-Dieter_Poschmann property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3784876
P725
Q502895 Q6619679
USER
Which fictional humanoids had their voice dubbing done by greater number of people than Henrietta ?
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q3784876
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { ?x property:P725 ?u . ?x rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q3784876 property:P725 ?t . ?t rdf:type ontology:Q6619679 } } . FILTER ( ?l > ?i ) }
Henrietta
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Henrietta
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { ?x property:voice_actor ?u . ?x rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Henrietta property:voice_actor ?t . ?t rdf:type ontology:fictional_humanoid } } . FILTER ( ?l > ?i ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q11382982 Q18073923 Q11514862 Q931 Q15711517
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q3784876
relation P725
type Q6619679
[ANSWERS] had their voice dubbing done by greater number of people than Henrietta
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { ?x property:P725 ?u . ?x rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q3784876 property:P725 ?t . ?t rdf:type ontology:Q6619679 } } . FILTER ( ?l > ?i ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Kyoko Sakura Sunset Shimmer Homura Akemi Naruto Uzumaki Granny Smith
Granny Smith, Apple Bloom and Ezio Auditore da Firenze had their voice dubbing done by greater number of people than Henrietta
Granny Smith Apple Bloom Ezio Auditore da Firenze
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Henrietta
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { ?x property:voice_actor ?u . ?x rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Henrietta property:voice_actor ?t . ?t rdf:type ontology:fictional_humanoid } } . FILTER ( ?l > ?i ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P674
Q6619679 Q15850590
USER
How many fictional humanoids plays a role in more number of theatrical genres than that fictional humanoid ?
(c(Q15850590),P674,c(Q6619679))
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P674 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q6619679 }
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:characters ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:fictional_humanoid }
[]
fictional humanoid theatrical genre
Comparative|Count over More/Less|Single entity type|Clarification
Q15707554
SYSTEM
Did you mean Apple Bloom ?
(c(Q15850590),P674,c(Q6619679))
[ANSWER]
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P674 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q6619679 }
Did you mean Apple Bloom ?
Apple Bloom
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:characters ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Granny Smith. Could you tell me the answer for that?
(c(Q15850590),P674,c(Q6619679))
Q15711517
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q6619679'}]
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional humanoid'}]
[]
SYSTEM
16
Q20826327 Q11704223 Q917583 Q9054901 Q11687745 Q2455222 Q13685096 Q20826334 Q20826335 Q1233109 Q20823077 Q20826316 Q20826317 Q20826313 Q20826325 Q9074573
(c(Q15850590),P674,c(Q6619679))
[ANSWER]
[{'concept': 'Q15850590'}, 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P674 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q6619679 }
Stasi Tamino Snegurochka Pamina Queen of the Night Papageno Cinderella Feri von Kerekes von Rohnsdorff Falstaff Sylva Varescu Leopold Maria Anhilte Edwin Ronald Boni Káncsiánu Sarastro
16
[{'concept': 'theatrical genre'}, 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:characters ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1434
Q36649 Q386724 Q15416
USER
Which television programs have their story in atleast 1 visual artss or works ?
(c(Q15416),P1434,c(Q36649)|c(Q386724))
action atleast
action union
action find_tuple_counts
relation P1434
type Q15416
type Q36649
action find_tuple_counts
relation P1434
type Q15416
type Q386724
value 1
[{'concept': 'Q15416'}, 'P1434', [{'concept': 'Q36649'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { { ?y property:P1434 ?u . ?y rdf:type ontology:Q15416 . ?u rdf:type ontology:Q36649 } UNION { ?y rdf:type ontology:Q15416 . ?u rdf:type ontology:Q386724 . ?y property:P1434 ?u } } GROUP BY ?y } }
action atleast
action union
action find_tuple_counts
relation describes the fictional universe
type television program
type visual arts
action find_tuple_counts
relation describes the fictional universe
type television program
type work
value 1
[{'concept': 'television program'}, 'describes the fictional universe', [{'concept': 'visual arts'}, {'concept': 'work'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { { ?y property:describes_the_fictional_universe ?u . ?y rdf:type ontology:television_program . ?u rdf:type ontology:visual_arts } UNION { ?y rdf:type ontology:television_program . ?u rdf:type ontology:work . ?y property:describes_the_fictional_universe ?u } } GROUP BY ?y } }
[]
visual arts work television program
Q232737 Q16977365 Q18844725
SYSTEM
The Walking Dead, Daredevil, Fear the Walking Dead
Q16977365 Q2659351 Q837622 Q388517 Q20646602 Q27048335 Q27089570 Q3492143 Q232737 Q18844725
(c(Q15416),P1434,c(Q36649)|c(Q386724))
action atleast
action union
action find_tuple_counts
relation P1434
type Q15416
type Q36649
action find_tuple_counts
relation P1434
type Q15416
type Q386724
value 1
[ANSWERS] have their story in atleast 1 visual artss or works
[{'concept': 'Q15416'}, 'P1434', [{'concept': 'Q36649'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { { ?y property:P1434 ?u . ?y rdf:type ontology:Q15416 . ?u rdf:type ontology:Q36649 } UNION { ?y rdf:type ontology:Q15416 . ?u rdf:type ontology:Q386724 . ?y property:P1434 ?u } } GROUP BY ?y } }
Daredevil Scared Shrekless Stargate Infinity Shrek the Halls Luke Cage Operation: Aliens The Punisher Puss in Boots: The Three Diablos The Walking Dead Fear the Walking Dead
The Walking Dead, Daredevil and Fear the Walking Dead have their story in atleast 1 visual artss or works
The Walking Dead Daredevil Fear the Walking Dead
action atleast
action union
action find_tuple_counts
relation describes the fictional universe
type television program
type visual arts
action find_tuple_counts
relation describes the fictional universe
type television program
type work
value 1
[{'concept': 'television program'}, 'describes the fictional universe', [{'concept': 'visual arts'}, {'concept': 'work'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { { ?y property:describes_the_fictional_universe ?u . ?y rdf:type ontology:television_program . ?u rdf:type ontology:visual_arts } UNION { ?y rdf:type ontology:television_program . ?u rdf:type ontology:work . ?y property:describes_the_fictional_universe ?u } } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15416 Q15619164 Q3895768
USER
How many television programs feature exactly 8 abstract beings and fictional locations ?
(c(Q15619164)|c(Q3895768),P1441,c(Q15416))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q3895768
value 8
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?l WHERE { { ?o property:P1441 ?l . ?l rdf:type ontology:Q15416 . ?o rdf:type ontology:Q15619164 } UNION { ?o property:P1441 ?l . ?o rdf:type ontology:Q3895768 . ?l rdf:type ontology:Q15416 } } GROUP BY ?l } . FILTER ( ?b = 8 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation present in work
type television program
type abstract being
action find_reverse_tuple_counts
relation present in work
type television program
type fictional location
value 8
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?l WHERE { { ?o property:present_in_work ?l . ?l rdf:type ontology:television_program . ?o rdf:type ontology:abstract_being } UNION { ?o property:present_in_work ?l . ?o rdf:type ontology:fictional_location . ?l rdf:type ontology:television_program } } GROUP BY ?l } . FILTER ( ?b = 8 ) }
[]
television program abstract being fictional location
SYSTEM
4
Q624611 Q1545694 Q849627 Q537911
(c(Q15619164)|c(Q3895768),P1441,c(Q15416))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q3895768
value 8
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?l WHERE { { ?o property:P1441 ?l . ?l rdf:type ontology:Q15416 . ?o rdf:type ontology:Q15619164 } UNION { ?o property:P1441 ?l . ?o rdf:type ontology:Q3895768 . ?l rdf:type ontology:Q15416 } } GROUP BY ?l } . FILTER ( ?b = 8 ) }
One Life to Live Stromberg The Young and the Restless Agents of S.H.I.E.L.D.
4
action count
action equal
action union
action find_reverse_tuple_counts
relation present in work
type television program
type abstract being
action find_reverse_tuple_counts
relation present in work
type television program
type fictional location
value 8
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?l WHERE { { ?o property:present_in_work ?l . ?l rdf:type ontology:television_program . ?o rdf:type ontology:abstract_being } UNION { ?o property:present_in_work ?l . ?o rdf:type ontology:fictional_location . ?l rdf:type ontology:television_program } } GROUP BY ?l } . FILTER ( ?b = 8 ) }
[]