Simple Question (Direct)
Simple Question
Q6789156
P27
Q15617994
USER
Which administrative territory is the native country of Matt Othick ?
(Q6789156,P27,c(Q15617994))
action filter_type
action find
entity Q6789156
relation P27
type Q15617994
['Q6789156', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q6789156 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Matt Othick
action filter_type
action find
entity Matt Othick
relation country of citizenship
type designation for an administrative territorial entity
['Matt Othick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Matt_Othick property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6789156,P27,c(Q15617994))
action filter_type
action find
entity Q6789156
relation P27
type Q15617994
[ANSWER] is the native country of Matt Othick
['Q6789156', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q6789156 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Matt Othick
United States of America
action filter_type
action find
entity Matt Othick
relation country of citizenship
type designation for an administrative territorial entity
['Matt Othick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Matt_Othick property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P101
Q502895
USER
Who works in the domain of that administrative territory ?
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P101 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:field_of_work resource:United_States_of_America }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] works in the domain of that administrative territory
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P101 resource:Q30 }
David Janssen
David Janssen works in the domain of that administrative territory
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:field_of_work resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q498840
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q498840)
action filter_type
action find
entity Q498840
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q498840']
SELECT DISTINCT ?f WHERE { resource:Q498840 property:P26 ?f . ?f rdf:type ontology:Q502895 }
David Janssen
action filter_type
action find
entity David Janssen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'David Janssen']
SELECT DISTINCT ?f WHERE { resource:David_Janssen property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q26133900
SYSTEM
Dani Crayne
Q26133900
(c(Q502895),P26,Q498840)
action filter_type
action find
entity Q498840
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q498840']
SELECT DISTINCT ?f WHERE { resource:Q498840 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Dani Crayne
Dani Crayne is married to that one
Dani Crayne
action filter_type
action find
entity David Janssen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'David Janssen']
SELECT DISTINCT ?f WHERE { resource:David_Janssen property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1154920
P725
Q502895 Q6619679
USER
Which fictional humanoids have been dubbed by more number of people than Father Grigori ?
(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 Q1154920
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?t ) WHERE { ?l property:P725 ?e . ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q6619679 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:Q6619679 . resource:Q1154920 property:P725 ?y } } . FILTER ( ?t > ?x ) }
Father Grigori
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Father Grigori
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?t ) WHERE { ?l property:voice_actor ?e . ?e rdf:type ontology:common_name . ?l rdf:type ontology:fictional_humanoid } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:fictional_humanoid . resource:Father_Grigori property:voice_actor ?y } } . FILTER ( ?t > ?x ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(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 Q1154920
relation P725
type Q6619679
[ANSWERS] have been dubbed by more number of people than Father Grigori
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?t ) WHERE { ?l property:P725 ?e . ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q6619679 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:Q6619679 . resource:Q1154920 property:P725 ?y } } . FILTER ( ?t > ?x ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
Granny Smith, Apple Bloom and Ezio Auditore da Firenze have been dubbed by more number of people than Father Grigori
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 Father Grigori
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?t ) WHERE { ?l property:voice_actor ?e . ?e rdf:type ontology:common_name . ?l rdf:type ontology:fictional_humanoid } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:fictional_humanoid . resource:Father_Grigori property:voice_actor ?y } } . FILTER ( ?t > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q250221
P725
Q502895 Q6619679
USER
And also tell me about Alyx Vance?
(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 Q250221
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?z ) WHERE { ?k property:P725 ?m . ?m rdf:type ontology:Q502895 . ?k rdf:type ontology:Q6619679 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q250221 property:P725 ?q . ?q rdf:type ontology:Q6619679 } } . FILTER ( ?z > ?b ) }
Alyx Vance
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Alyx Vance
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?z ) WHERE { ?k property:voice_actor ?m . ?m rdf:type ontology:common_name . ?k rdf:type ontology:fictional_humanoid } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Alyx_Vance property:voice_actor ?q . ?q rdf:type ontology:fictional_humanoid } } . FILTER ( ?z > ?b ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(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 Q250221
relation P725
type Q6619679
[ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?z ) WHERE { ?k property:P725 ?m . ?m rdf:type ontology:Q502895 . ?k rdf:type ontology:Q6619679 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q250221 property:P725 ?q . ?q rdf:type ontology:Q6619679 } } . FILTER ( ?z > ?b ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
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 Alyx Vance
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?z ) WHERE { ?k property:voice_actor ?m . ?m rdf:type ontology:common_name . ?k rdf:type ontology:fictional_humanoid } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Alyx_Vance property:voice_actor ?q . ?q rdf:type ontology:fictional_humanoid } } . FILTER ( ?z > ?b ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P725
Q502895
USER
How many people did the dubbing for that fictional humanoid ?
(Q15707554,P725,c(Q502895))
['Q15707554', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15707554 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
['Apple Bloom', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Apple_Bloom property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q994344
SYSTEM
Did you mean Ezio Auditore da Firenze ?
(Q15711517,P725,c(Q502895)) (Q15707554,P725,c(Q502895)) (Q994344,P725,c(Q502895))
[ANSWER]
['Q15711517', 'P725', {'concept': 'Q502895'}] ['Q15707554', 'P725', {'concept': 'Q502895'}] ['Q994344', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15707554 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Ezio Auditore da Firenze ?
Ezio Auditore da Firenze
['Granny Smith', 'voice actor', {'concept': 'common name'}] ['Apple Bloom', 'voice actor', {'concept': 'common name'}] ['Ezio Auditore da Firenze', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Apple_Bloom property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Apple Bloom. Could you tell me the answer for that?
(Q15707554,P725,c(Q502895))
Q15707554
['Q15707554', 'P725', {'concept': 'Q502895'}]
['Apple Bloom', 'voice actor', {'concept': 'common name'}]
[]
SYSTEM
4
Q6418579 Q3856870 Q233380 Q551242
(Q15707554,P725,c(Q502895))
[ANSWER]
['Q15707554', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15707554 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
Kitty Kántor Michelle Creber Ikue Ōtani Anja Rybiczka
4
['Apple Bloom', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Apple_Bloom property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15707554
P9
Q15619164
USER
Who is the sibling of Apple Bloom ?
(Q15707554,P9,c(Q15619164))
action filter_type
action find
entity Q15707554
relation P9
type Q15619164
['Q15707554', 'P9', {'concept': 'Q15619164'}]
SELECT DISTINCT ?u WHERE { resource:Q15707554 property:P9 ?u . ?u rdf:type ontology:Q15619164 }
Apple Bloom
action filter_type
action find
entity Apple Bloom
relation sister
type abstract being
['Apple Bloom', 'sister', {'concept': 'abstract being'}]
SELECT DISTINCT ?u WHERE { resource:Apple_Bloom property:sister ?u . ?u rdf:type ontology:abstract_being }
[]
abstract being
Q7468973
SYSTEM
Applejack
Q7468973
(Q15707554,P9,c(Q15619164))
action filter_type
action find
entity Q15707554
relation P9
type Q15619164
The sibling of Apple Bloom is the [ANSWER]
['Q15707554', 'P9', {'concept': 'Q15619164'}]
SELECT DISTINCT ?u WHERE { resource:Q15707554 property:P9 ?u . ?u rdf:type ontology:Q15619164 }
Applejack
The sibling of Apple Bloom is the Applejack
Applejack
action filter_type
action find
entity Apple Bloom
relation sister
type abstract being
['Apple Bloom', 'sister', {'concept': 'abstract being'}]
SELECT DISTINCT ?u WHERE { resource:Apple_Bloom property:sister ?u . ?u rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15707554
P674
Q36649
USER
Which visual artss have the character that fictional humanoid ?
(c(Q36649),P674,Q7468973)
action filter_type
action find_reverse
entity Q15707554
relation P674
type Q36649
[{'concept': 'Q36649'}, 'P674', 'Q7468973']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q36649 . ?w property:P674 resource:Q15707554 }
Apple Bloom
action filter_type
action find_reverse
entity Apple Bloom
relation characters
type visual arts
[{'concept': 'visual arts'}, 'characters', 'Applejack']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:visual_arts . ?w property:characters resource:Apple_Bloom }
[]
visual arts
Q15720633 Q15723614 Q15711669
SYSTEM
Ponyville Confidential, Magic Duel, The Cutie Pox
Q15723584 Q15720754 Q15720633 Q15708432 Q15726695 Q15711669 Q15724448 Q15710682 Q15723614 Q15719200 Q15719418 Q15889942 Q15723549 Q15889950 Q15723673 Q5692983 Q15711645 Q15720788
(c(Q36649),P674,Q7468973)
action filter_type
action find_reverse
entity Q15707554
relation P674
type Q36649
[ANSWERS] have the character that fictional humanoid
[{'concept': 'Q36649'}, 'P674', 'Q7468973']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q36649 . ?w property:P674 resource:Q15707554 }
Sleepless in Ponyville Pinkie Apple Pie Ponyville Confidential Friendship is Magic, part 1 Somepony to Watch Over Me The Cutie Pox Twilight Time Lesson Zero Magic Duel Family Appreciation Day The Last Roundup For Whom the Sweetie Belle Toils Apple Family Reunion Leap of Faith One Bad Apple Hearts and Hooves Day Sisterhooves Social Flight to the Finish
Ponyville Confidential, Magic Duel and The Cutie Pox have the character that fictional humanoid
Ponyville Confidential Magic Duel The Cutie Pox
action filter_type
action find_reverse
entity Apple Bloom
relation characters
type visual arts
[{'concept': 'visual arts'}, 'characters', 'Applejack']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:visual_arts . ?w property:characters resource:Apple_Bloom }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3870091
P157
Q636497 Q15619164 Q6619679
USER
Which fictional humanoids were murdered by greater number of stock characters or abstract beings than Nancy ?
(c(Q6619679),P157,c(Q636497)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action find_tuple_counts
relation P157
type Q6619679
type Q15619164
action count
action filter_multi_types
action find
entity Q3870091
relation P157
type Q636497
type Q15619164
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q636497'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?o WHERE { VALUES ( ?m ) { ( ontology:Q636497 ) ( ontology:Q15619164 ) } . ?v rdf:type ?m } GROUP BY ?o } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q636497 ) ( ontology:Q15619164 ) } } . resource:Q3870091 property:P157 ?j } } }
Nancy
action greater
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action find_tuple_counts
relation killed by
type fictional humanoid
type abstract being
action count
action filter_multi_types
action find
entity Nancy
relation killed by
type stock character
type abstract being
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'stock character'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?o WHERE { VALUES ( ?m ) { ( ontology:stock_character ) ( ontology:abstract_being ) } . ?v rdf:type ?m } GROUP BY ?o } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:stock_character ) ( ontology:abstract_being ) } } . resource:Nancy property:killed_by ?j } } }
[]
stock character abstract being fictional humanoid
Q51293 Q21501356 Q2536239
SYSTEM
Jack Shephard, Alma Coin, Jenny Calendar
Q21501356 Q384436 Q2536239 Q51293 Q15733721 Q21282852
(c(Q6619679),P157,c(Q636497)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action find_tuple_counts
relation P157
type Q6619679
type Q15619164
action count
action filter_multi_types
action find
entity Q3870091
relation P157
type Q636497
type Q15619164
[ANSWERS] were murdered by greater number of stock characters or abstract beings than Nancy
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q636497'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?o WHERE { VALUES ( ?m ) { ( ontology:Q636497 ) ( ontology:Q15619164 ) } . ?v rdf:type ?m } GROUP BY ?o } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q636497 ) ( ontology:Q15619164 ) } } . resource:Q3870091 property:P157 ?j } } }
Alma Coin Silas Jenny Calendar Jack Shephard Achilles de Flandres Rachel Banks
Jack Shephard, Alma Coin and Jenny Calendar were murdered by greater number of stock characters or abstract beings than Nancy
Jack Shephard Alma Coin Jenny Calendar
action greater
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action find_tuple_counts
relation killed by
type fictional humanoid
type abstract being
action count
action filter_multi_types
action find
entity Nancy
relation killed by
type stock character
type abstract being
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'stock character'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?o WHERE { VALUES ( ?m ) { ( ontology:stock_character ) ( ontology:abstract_being ) } . ?v rdf:type ?m } GROUP BY ?o } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:stock_character ) ( ontology:abstract_being ) } } . resource:Nancy property:killed_by ?j } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q14920993
P157
Q636497 Q15619164 Q6619679
USER
And also tell me about Kevin Carroll?
(c(Q6619679),P157,c(Q636497)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action find_tuple_counts
relation P157
type Q6619679
type Q15619164
action count
action filter_multi_types
action find
entity Q14920993
relation P157
type Q636497
type Q15619164
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q636497'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?f WHERE { { ?f property:P157 ?z . ?f rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q636497 } UNION { ?f property:P157 ?z . ?f rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q15619164 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q14920993 property:P157 ?c . { { ?c rdf:type ontology:Q636497 } UNION { ?c rdf:type ontology:Q15619164 } } } } . FILTER ( ?h > ?x ) }
Kevin Carroll
action greater
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action find_tuple_counts
relation killed by
type fictional humanoid
type abstract being
action count
action filter_multi_types
action find
entity Kevin Carroll
relation killed by
type stock character
type abstract being
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'stock character'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?f WHERE { { ?f property:killed_by ?z . ?f rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:stock_character } UNION { ?f property:killed_by ?z . ?f rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:abstract_being } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Kevin_Carroll property:killed_by ?c . { { ?c rdf:type ontology:stock_character } UNION { ?c rdf:type ontology:abstract_being } } } } . FILTER ( ?h > ?x ) }
[]
stock character abstract being fictional humanoid
Q51293 Q21501356 Q2536239
SYSTEM
Jack Shephard, Alma Coin, Jenny Calendar
Q21501356 Q384436 Q2536239 Q51293 Q15733721 Q21282852
(c(Q6619679),P157,c(Q636497)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action find_tuple_counts
relation P157
type Q6619679
type Q15619164
action count
action filter_multi_types
action find
entity Q14920993
relation P157
type Q636497
type Q15619164
[ANSWERS]
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q636497'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?f WHERE { { ?f property:P157 ?z . ?f rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q636497 } UNION { ?f property:P157 ?z . ?f rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q15619164 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q14920993 property:P157 ?c . { { ?c rdf:type ontology:Q636497 } UNION { ?c rdf:type ontology:Q15619164 } } } } . FILTER ( ?h > ?x ) }
Alma Coin Silas Jenny Calendar Jack Shephard Achilles de Flandres Rachel Banks
Jack Shephard Alma Coin Jenny Calendar
action greater
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action find_tuple_counts
relation killed by
type fictional humanoid
type abstract being
action count
action filter_multi_types
action find
entity Kevin Carroll
relation killed by
type stock character
type abstract being
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'stock character'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?f WHERE { { ?f property:killed_by ?z . ?f rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:stock_character } UNION { ?f property:killed_by ?z . ?f rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:abstract_being } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Kevin_Carroll property:killed_by ?c . { { ?c rdf:type ontology:stock_character } UNION { ?c rdf:type ontology:abstract_being } } } } . FILTER ( ?h > ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21501356
P106
Q12737077
USER
Which occupation is the profession of that fictional humanoid ?
(Q21501356,P106,c(Q12737077))
action filter_type
action find
entity Q21501356
relation P106
type Q12737077
['Q21501356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q21501356 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Alma Coin
action filter_type
action find
entity Alma Coin
relation occupation
type occupation
['Alma Coin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Alma_Coin property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q51293
SYSTEM
Did you mean Jack Shephard ?
Q51293 Q21501356 Q2536239
(Q51293,P106,c(Q12737077)) (Q21501356,P106,c(Q12737077)) (Q2536239,P106,c(Q12737077))
[ANSWER]
['Q51293', 'P106', {'concept': 'Q12737077'}] ['Q21501356', 'P106', {'concept': 'Q12737077'}] ['Q2536239', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q21501356 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Jack Shephard Alma Coin Jenny Calendar
Did you mean Jack Shephard ?
Jack Shephard
['Jack Shephard', 'occupation', {'concept': 'occupation'}] ['Alma Coin', 'occupation', {'concept': 'occupation'}] ['Jenny Calendar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Alma_Coin property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Alma Coin. Could you tell me the answer for that?
(Q21501356,P106,c(Q12737077))
Q21501356
['Q21501356', 'P106', {'concept': 'Q12737077'}]
['Alma Coin', 'occupation', {'concept': 'occupation'}]
[]
Q82955
SYSTEM
politician
Q82955
(Q21501356,P106,c(Q12737077))
action filter_type
action find
entity Q21501356
relation P106
type Q12737077
[ANSWER] is the profession of that fictional humanoid
['Q21501356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q21501356 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
Politician is the profession of that fictional humanoid
politician
action filter_type
action find
entity Alma Coin
relation occupation
type occupation
['Alma Coin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Alma_Coin property:occupation ?d . ?d rdf:type ontology:occupation }
[]