Simple Question (Direct)
Simple Question
Q2225066
P1196
Q1931388
USER
What manner did Nelly Sindayen die ?
(Q2225066,P1196,c(Q1931388))
action filter_type
action find
entity Q2225066
relation P1196
type Q1931388
['Q2225066', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?q WHERE { resource:Q2225066 property:P1196 ?q . ?q rdf:type ontology:Q1931388 }
Nelly Sindayen
action filter_type
action find
entity Nelly Sindayen
relation manner of death
type cause of death
['Nelly Sindayen', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?q WHERE { resource:Nelly_Sindayen property:manner_of_death ?q . ?q rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2225066,P1196,c(Q1931388))
action filter_type
action find
entity Q2225066
relation P1196
type Q1931388
Nelly Sindayen died of [ANSWER]
['Q2225066', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?q WHERE { resource:Q2225066 property:P1196 ?q . ?q rdf:type ontology:Q1931388 }
natural causes
Nelly Sindayen died of natural causes
natural causes
action filter_type
action find
entity Nelly Sindayen
relation manner of death
type cause of death
['Nelly Sindayen', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?q WHERE { resource:Nelly_Sindayen property:manner_of_death ?q . ?q rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3739104
P509
Q502895
USER
Who died from that cause of death ?
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P509 resource:Q3739104 }
natural causes
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:cause_of_death resource:natural_causes }
[]
common name
Q185007 Q170256 Q1057003
SYSTEM
Rita Levi-Montalcini, Chris Marker, The Rev
Q20748116 Q185007 Q316859 Q172928 Q3106793 Q1148054 Q774948 Q170256 Q5560590 Q1042915 Q168355 Q55391 Q3086496 Q381234 Q314929 Q1057003 Q3276795
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[ANSWERS] died from that cause of death
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P509 resource:Q3739104 }
Maria Cristina Villanova de Árbenz Rita Levi-Montalcini Ferdinand IV of Castile Clement IV Ginny Tyler William J. Tuttle Vesna Rožič Chris Marker Gil Perkins Carlos Franqui Don Beddoe Robert Bresson Françoise Giret Luis g berlanga Dick Francis The Rev James B. Clark
Rita Levi-Montalcini, Chris Marker and The Rev died from that cause of death
Rita Levi-Montalcini Chris Marker The Rev
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:cause_of_death resource:natural_causes }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q170256
P58
Q838948
USER
How many works of art did Chris Marker do the screenwriting for ?
(c(Q838948),P58,Q170256)
action count
action filter_type
action find_reverse
entity Q170256
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q170256']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P58 resource:Q170256 . ?b rdf:type ontology:Q838948 }
Chris Marker
action count
action filter_type
action find_reverse
entity Chris Marker
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Chris Marker']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:screenwriter resource:Chris_Marker . ?b rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
6
Q3237186 Q3258662 Q3236449 Q290796 Q3882004 Q451434
(c(Q838948),P58,Q170256)
action count
action filter_type
action find_reverse
entity Q170256
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q170256']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P58 resource:Q170256 . ?b rdf:type ontology:Q838948 }
Level Five Far from Vietnam Statues Also Die Sans Soleil Olympia 52 La Jetée
6
action count
action filter_type
action find_reverse
entity Chris Marker
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Chris Marker']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:screenwriter resource:Chris_Marker . ?b rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q495055
P58
Q838948
USER
And how about Andrea Sedláčková?
(c(Q838948),P58,Q495055)
action count
action filter_type
action find_reverse
entity Q495055
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q495055']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P58 resource:Q495055 . ?p rdf:type ontology:Q838948 }
Andrea Sedláčková
action count
action filter_type
action find_reverse
entity Andrea Sedláčková
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Andrea Sedláčková']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:screenwriter resource:Andrea_Sedláčková . ?p rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q15627005
(c(Q838948),P58,Q495055)
action count
action filter_type
action find_reverse
entity Q495055
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q495055']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P58 resource:Q495055 . ?p rdf:type ontology:Q838948 }
Fair Play
1
action count
action filter_type
action find_reverse
entity Andrea Sedláčková
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Andrea Sedláčková']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:screenwriter resource:Andrea_Sedláčková . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did min number of people do the dubbing for ?
(c(Q15961987),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?n ) WHERE { ?q property:P725 ?t . ?q rdf:type ontology:Q15961987 . ?t rdf:type ontology:Q502895 } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?u ) WHERE { ?p property:P725 ?g . ?p rdf:type ontology:Q15961987 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?u = ?b ) }
action argmin
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?n ) WHERE { ?q property:voice_actor ?t . ?q rdf:type ontology:television_genre . ?t rdf:type ontology:common_name } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?u ) WHERE { ?p property:voice_actor ?g . ?p rdf:type ontology:television_genre . ?g rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?u = ?b ) }
[]
common name television genre
Q11572 Q847219 Q917543
SYSTEM
Avatar: The Last Airbender, Pururun! Shizuku-chan, The Garfield Show
Q11572 Q847219 Q917543
(c(Q15961987),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15961987
type Q502895
Min number of people did the dubbing for the [ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?n ) WHERE { ?q property:P725 ?t . ?q rdf:type ontology:Q15961987 . ?t rdf:type ontology:Q502895 } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?u ) WHERE { ?p property:P725 ?g . ?p rdf:type ontology:Q15961987 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?u = ?b ) }
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
Min number of people did the dubbing for the Avatar: The Last Airbender, Pururun! Shizuku-chan and The Garfield Show
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
action argmin
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?n ) WHERE { ?q property:voice_actor ?t . ?q rdf:type ontology:television_genre . ?t rdf:type ontology:common_name } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?u ) WHERE { ?p property:voice_actor ?g . ?p rdf:type ontology:television_genre . ?g rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?u = ?b ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P449
Q4830453 Q2001305 Q15961987
USER
Which television genres the show that were originally telecasted on more number of business enterprises or television channels than that television genre ?
(c(Q15961987),P449,c(Q4830453)|c(Q2001305))
[{'concept': 'Q15961987'}, 'P449', [{'concept': 'Q4830453'}, {'concept': 'Q2001305'}]]
SELECT DISTINCT ?x WHERE { { { ?z property:P449 ?y } UNION { ?z property:P449 ?x } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q2001305 }
[{'concept': 'television genre'}, 'original network', [{'concept': 'business enterprise'}, {'concept': 'television channel'}]]
SELECT DISTINCT ?x WHERE { { { ?z property:original_network ?y } UNION { ?z property:original_network ?x } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:business_enterprise . ?x rdf:type ontology:television_channel }
[]
business enterprise television channel television genre
Comparative|More/Less|Mult. entity type|Clarification
Q847219
SYSTEM
Did you mean Pururun! Shizuku-chan ?
(c(Q15961987),P449,c(Q4830453)|c(Q2001305))
[ANSWER]
[{'concept': 'Q15961987'}, 'P449', [{'concept': 'Q4830453'}, {'concept': 'Q2001305'}]]
SELECT DISTINCT ?x WHERE { { { ?z property:P449 ?y } UNION { ?z property:P449 ?x } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q2001305 }
Did you mean Pururun! Shizuku-chan ?
Pururun! Shizuku-chan
[{'concept': 'television genre'}, 'original network', [{'concept': 'business enterprise'}, {'concept': 'television channel'}]]
SELECT DISTINCT ?x WHERE { { { ?z property:original_network ?y } UNION { ?z property:original_network ?x } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:business_enterprise . ?x rdf:type ontology:television_channel }
[]
Comparative Reasoning (All)
USER
No, I meant The Garfield Show. Could you tell me the answer for that?
(c(Q15961987),P449,c(Q4830453)|c(Q2001305))
Q917543
[{'concept': 'Q15961987'}, 'P449', [{'concept': 'Q4830453'}, {'concept': 'Q2001305'}]]
[{'concept': 'television genre'}, 'original network', [{'concept': 'business enterprise'}, {'concept': 'television channel'}]]
[]
SYSTEM
14
Q1488333 Q851851 Q2293145 Q6779998 Q685225 Q73622 Q586467 Q15846395 Q15846391 Q16878993 Q4018081 Q791085 Q1587023 Q2332113
(c(Q15961987),P449,c(Q4830453)|c(Q2001305))
[ANSWER]
[{'concept': 'Q15961987'}, 'P449', [{'concept': 'Q4830453'}, {'concept': 'Q2001305'}]]
SELECT DISTINCT ?x WHERE { { { ?z property:P449 ?y } UNION { ?z property:P449 ?x } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q2001305 }
The Real McCoys Spaced Out Creepy Crawlers Mary Kay and Johnny Pingu Futurama Skyland Love, Chunibyo and Other Delusions! -Heart Throb- Love, Chunibyo & Other Delusions Non Non Biyori Wander Over Yonder My Friends Tigger & Pooh Hart aber fair The Adventures of Paddington Bear
14
[{'concept': 'television genre'}, 'original network', [{'concept': 'business enterprise'}, {'concept': 'television channel'}]]
SELECT DISTINCT ?x WHERE { { { ?z property:original_network ?y } UNION { ?z property:original_network ?x } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:business_enterprise . ?x rdf:type ontology:television_channel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170256
P69
Q41176
USER
Which building was Chris Marker educated at ?
(Q170256,P69,c(Q41176))
action filter_type
action find
entity Q170256
relation P69
type Q41176
['Q170256', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?c WHERE { resource:Q170256 property:P69 ?c . ?c rdf:type ontology:Q41176 }
Chris Marker
action filter_type
action find
entity Chris Marker
relation educated at
type building
['Chris Marker', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?c WHERE { resource:Chris_Marker property:educated_at ?c . ?c rdf:type ontology:building }
[]
building
Q3268876
SYSTEM
Lycée Pasteur
Q3268876
(Q170256,P69,c(Q41176))
action filter_type
action find
entity Q170256
relation P69
type Q41176
Chris Marker was educated by [ANSWER]
['Q170256', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?c WHERE { resource:Q170256 property:P69 ?c . ?c rdf:type ontology:Q41176 }
Lycée Pasteur
Chris Marker was educated by Lycée Pasteur
Lycée Pasteur
action filter_type
action find
entity Chris Marker
relation educated at
type building
['Chris Marker', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?c WHERE { resource:Chris_Marker property:educated_at ?c . ?c rdf:type ontology:building }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3705214
P1441
Q15961987 Q15619164 Q15707583
USER
How many television genres feature more number of abstract beings and fictional taxons than Delta ?
(c(Q15619164)|c(Q15707583),P1441,c(Q15961987))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q3705214
relation P1441
type Q15619164
type Q15707583
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P1441 ?v . ?v rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q15707583 } UNION { ?d property:P1441 ?v . ?v rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q15619164 } } GROUP BY ?v } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P1441 resource:Q3705214 . { { ?t rdf:type ontology:Q15619164 } UNION { ?t rdf:type ontology:Q15707583 } } } } }
Delta
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television genre
type abstract being
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional taxon
action count
action filter_multi_types
action find_reverse
entity Delta
relation present in work
type abstract being
type fictional taxon
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:present_in_work ?v . ?v rdf:type ontology:television_genre . ?d rdf:type ontology:fictional_taxon } UNION { ?d property:present_in_work ?v . ?v rdf:type ontology:television_genre . ?d rdf:type ontology:abstract_being } } GROUP BY ?v } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:present_in_work resource:Delta . { { ?t rdf:type ontology:abstract_being } UNION { ?t rdf:type ontology:fictional_taxon } } } } }
[]
television genre abstract being fictional taxon
SYSTEM
21
Q39037 Q83279 Q116195 Q18577650 Q11572 Q82617 Q18790 Q622435 Q5415 Q249056 Q205683 Q216843 Q7615342 Q73622 Q28787 Q5930 Q288085 Q602883 Q16538 Q886 Q2750339
(c(Q15619164)|c(Q15707583),P1441,c(Q15961987))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q3705214
relation P1441
type Q15619164
type Q15707583
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P1441 ?v . ?v rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q15707583 } UNION { ?d property:P1441 ?v . ?v rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q15619164 } } GROUP BY ?v } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P1441 resource:Q3705214 . { { ?t rdf:type ontology:Q15619164 } UNION { ?t rdf:type ontology:Q15707583 } } } } }
The Fairly OddParents SpongeBob SquarePants Total Drama Darker than Black: Gaiden Avatar: The Last Airbender Regular Show The Legend of Korra Looney Tunes My Little Pony: Friendship Is Magic Teenage Mutant Ninja Turtles Scooby Doo Oggy and the Cockroaches Steven Universe Futurama Star Wars Rebels Family Guy Thunderbirds The Transformers South Park The Simpsons Hellsing Ultimate
21
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television genre
type abstract being
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional taxon
action count
action filter_multi_types
action find_reverse
entity Delta
relation present in work
type abstract being
type fictional taxon
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:present_in_work ?v . ?v rdf:type ontology:television_genre . ?d rdf:type ontology:fictional_taxon } UNION { ?d property:present_in_work ?v . ?v rdf:type ontology:television_genre . ?d rdf:type ontology:abstract_being } } GROUP BY ?v } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:present_in_work resource:Delta . { { ?t rdf:type ontology:abstract_being } UNION { ?t rdf:type ontology:fictional_taxon } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q210311
P1441
Q15961987 Q15619164 Q15707583
USER
And how about American Dad!?
(c(Q15619164)|c(Q15707583),P1441,c(Q15961987))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q210311
relation P1441
type Q15619164
type Q15707583
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } . ?b rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P1441 resource:Q210311 . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?u > ?f ) }
American Dad!
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television genre
type abstract being
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional taxon
action count
action filter_multi_types
action find_reverse
entity American Dad!
relation present in work
type abstract being
type fictional taxon
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } . ?b rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:present_in_work resource:American_Dad! . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } } } } . FILTER ( ?u > ?f ) }
[]
television genre abstract being fictional taxon
SYSTEM
21
Q39037 Q83279 Q116195 Q18577650 Q11572 Q82617 Q18790 Q622435 Q5415 Q249056 Q205683 Q216843 Q7615342 Q73622 Q28787 Q5930 Q288085 Q602883 Q16538 Q886 Q2750339
(c(Q15619164)|c(Q15707583),P1441,c(Q15961987))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q210311
relation P1441
type Q15619164
type Q15707583
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } . ?b rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P1441 resource:Q210311 . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?u > ?f ) }
The Fairly OddParents SpongeBob SquarePants Total Drama Darker than Black: Gaiden Avatar: The Last Airbender Regular Show The Legend of Korra Looney Tunes My Little Pony: Friendship Is Magic Teenage Mutant Ninja Turtles Scooby Doo Oggy and the Cockroaches Steven Universe Futurama Star Wars Rebels Family Guy Thunderbirds The Transformers South Park The Simpsons Hellsing Ultimate
21
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type television genre
type abstract being
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional taxon
action count
action filter_multi_types
action find_reverse
entity American Dad!
relation present in work
type abstract being
type fictional taxon
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } . ?b rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:present_in_work resource:American_Dad! . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } } } } . FILTER ( ?u > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8070360
P169
Q502895 Q1269299 Q28640
USER
Which people are the CEOs of approximately the same number of business organizations or professions as Zhang Xin ?
(c(Q1269299)|c(Q28640),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1269299
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q8070360
relation P169
type Q1269299
type Q28640
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P169 resource:Q8070360 . { VALUES ( ?j ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?c rdf:type ?j } } } . FILTER ( ?u = ?g ) }
Zhang Xin
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action count
action filter_multi_types
action find_reverse
entity Zhang Xin
relation chief executive officer
type type of business entity
type profession
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:chief_executive_officer resource:Zhang_Xin . { VALUES ( ?j ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?c rdf:type ?j } } } . FILTER ( ?u = ?g ) }
[]
common name type of business entity profession
Q317521 Q313915 Q8070360
SYSTEM
Elon Musk, Sergey Kiriyenko, Zhang Xin
Q7279392 Q6180981 Q3170168 Q729842 Q5300803 Q782805 Q2622748 Q5211708 Q7024365 Q2745626 Q23664152 Q5677222 Q6131851 Q9097127 Q7426870 Q435716 Q49971 Q450628 Q3658951 Q7668816 Q4699676 Q20726318 Q711976 Q16733044 Q17508950 Q46000 Q4228233 Q6956802 Q1666888 Q4934 Q181162 Q7329143 Q1443067 Q912811 Q7804077 Q1173809 Q1363852 Q1701260 Q1700049 Q1344392 Q709063 Q6181992 Q4760775 Q8070360 Q10297071 Q7285954 Q3218882 Q7306657 Q7176651 Q4090816 Q1376418 Q9631179 Q4191933 Q317521 Q4805143 Q16910059 Q2800420 Q4245 Q107797 Q516550 Q6708744 Q313915 Q4716022
(c(Q1269299)|c(Q28640),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1269299
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q8070360
relation P169
type Q1269299
type Q28640
[ANSWERS] are the CEOs of approximately the same number of business organizations or professions as Zhang Xin
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P169 resource:Q8070360 . { VALUES ( ?j ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?c rdf:type ?j } } } . FILTER ( ?u = ?g ) }
Rachel Schofield Jeremiah Slaczka Jean-Yves Le Gall Mark Pincus Doug Parker Samuel J. Palmisano Shantanu Narayen Dalton Philips Nicandro Durante Bruce Chizen Andrew Conrad Harvey Golub James Cracchiolo Yoichi Erikawa Satya Nadella Thomas J. Watson Ginni Rometty Safra A. Catz Sergey Gaplikov T. Vincent Learson Ajaypal Singh Banga Maximo Cavazzani Mark Hurd James Murren Emmanuel Roman Thomas Watson Viktor Kolodyazhny Nabeel Gareeb Stuart Gulliver Larry Page Steve Ballmer Richard Solomons Frank T. Cary Brian Moynihan Tim O'Toole David Braben Louis V. Gerstner John R. Opel John Fellows Akers John Warnock Arthur D. Levinson Jeremy Vine Andy Harrison Zhang Xin Jeremy Darroch Rajeev Suri Laurence D. Fink Reed Hastings Peter Rogers Taymuraz Bolloyev Jeffrey Bewkes Zhou Jiping Dmitry Zimin Elon Musk Paul E. Jacobs Domenico Casalino Semyon Vaynshtok Jean-Michel Aulas Mathias Döpfner Kenneth Chenault Lyndon Rive Sergey Kiriyenko Aleksi Bardy
Elon Musk, Sergey Kiriyenko and Zhang Xin are the CEOs of approximately the same number of business organizations or professions as Zhang Xin
Elon Musk Sergey Kiriyenko Zhang Xin
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action count
action filter_multi_types
action find_reverse
entity Zhang Xin
relation chief executive officer
type type of business entity
type profession
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:chief_executive_officer resource:Zhang_Xin . { VALUES ( ?j ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?c rdf:type ?j } } } . FILTER ( ?u = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317521
P103
Q34770
USER
What is the mother tongue of Elon Musk ?
(Q317521,P103,c(Q34770))
action filter_type
action find
entity Q317521
relation P103
type Q34770
['Q317521', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q317521 property:P103 ?p . ?p rdf:type ontology:Q34770 }
Elon Musk
action filter_type
action find
entity Elon Musk
relation native language
type language
['Elon Musk', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Elon_Musk property:native_language ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q317521,P103,c(Q34770))
action filter_type
action find
entity Q317521
relation P103
type Q34770
The mother tongue of Elon Musk is the [ANSWER]
['Q317521', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q317521 property:P103 ?p . ?p rdf:type ontology:Q34770 }
English
The mother tongue of Elon Musk is the English
English
action filter_type
action find
entity Elon Musk
relation native language
type language
['Elon Musk', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Elon_Musk property:native_language ?p . ?p rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6867782 Q317521
P103 P407
Q34770
USER
Which languages are the mother tongues of Elon Musk and are the languages of work for Mink, Rat or Rabbit ?
AND((Q317521,P103,c(Q34770)), (Q6867782,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q317521
relation P103
action find
entity Q6867782
relation P407
type Q34770
{'AND': [['Q317521', 'P103', {'concept': 'Q34770'}], ['Q6867782', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q317521 property:P103 ?k . resource:Q6867782 property:P407 ?k }
Mink, Rat or Rabbit Elon Musk
action filter_type
action intersection
action find
entity Elon Musk
relation native language
action find
entity Mink, Rat or Rabbit
relation language of work or name
type language
{'AND': [['Elon Musk', 'native language', {'concept': 'language'}], ['Mink, Rat or Rabbit', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Elon_Musk property:native_language ?k . resource:Mink,_Rat_or_Rabbit property:language_of_work_or_name ?k }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q317521,P103,c(Q34770)), (Q6867782,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q317521
relation P103
action find
entity Q6867782
relation P407
type Q34770
[ANSWER] is the mother tongues of Elon Musk and is the languages of work for Mink, Rat or Rabbit
{'AND': [['Q317521', 'P103', {'concept': 'Q34770'}], ['Q6867782', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q317521 property:P103 ?k . resource:Q6867782 property:P407 ?k }
English
English is the mother tongues of Elon Musk and is the languages of work for Mink, Rat or Rabbit
English
action filter_type
action intersection
action find
entity Elon Musk
relation native language
action find
entity Mink, Rat or Rabbit
relation language of work or name
type language
{'AND': [['Elon Musk', 'native language', {'concept': 'language'}], ['Mink, Rat or Rabbit', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Elon_Musk property:native_language ?k . resource:Mink,_Rat_or_Rabbit property:language_of_work_or_name ?k }
[]