Simple Question (Direct)
Simple Question
Q3122558
P734
Q82799
USER
Which name is associated with Gwennole Le Menn ?
(Q3122558,P734,c(Q82799))
action filter_type
action find
entity Q3122558
relation P734
type Q82799
['Q3122558', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q3122558 property:P734 ?c }
Gwennole Le Menn
action filter_type
action find
entity Gwennole Le Menn
relation family name
type name
['Gwennole Le Menn', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Gwennole_Le_Menn property:family_name ?c }
[]
name
Q24744248
SYSTEM
Le Menn
Q24744248
(Q3122558,P734,c(Q82799))
action filter_type
action find
entity Q3122558
relation P734
type Q82799
[ANSWER]
['Q3122558', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q3122558 property:P734 ?c }
Le Menn
Le Menn
action filter_type
action find
entity Gwennole Le Menn
relation family name
type name
['Gwennole Le Menn', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Gwennole_Le_Menn property:family_name ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3122558
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q24744248)
action filter_type
action find
entity Q3122558
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q24744248']
SELECT DISTINCT ?j WHERE { resource:Q3122558 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Gwennole Le Menn
action filter_type
action find
entity Gwennole Le Menn
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Le Menn']
SELECT DISTINCT ?j WHERE { resource:Gwennole_Le_Menn property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q16945170
SYSTEM
Garmenig Ihuellou
Q16945170
(c(Q502895),P26,Q24744248)
action filter_type
action find
entity Q3122558
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q24744248']
SELECT DISTINCT ?j WHERE { resource:Q3122558 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Garmenig Ihuellou
Garmenig Ihuellou
action filter_type
action find
entity Gwennole Le Menn
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Le Menn']
SELECT DISTINCT ?j WHERE { resource:Gwennole_Le_Menn property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15846552
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by more number of people than Natsumi Koshigaya ?
(c(Q15619164),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q15846552
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?v ) WHERE { ?e property:P725 ?i . ?i rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15619164 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q15846552 property:P725 ?p . ?p rdf:type ontology:Q15619164 } } . FILTER ( ?v > ?o ) }
Natsumi Koshigaya
action count
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Natsumi Koshigaya
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?v ) WHERE { ?e property:voice_actor ?i . ?i rdf:type ontology:common_name . ?e rdf:type ontology:abstract_being } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Natsumi_Koshigaya property:voice_actor ?p . ?p rdf:type ontology:abstract_being } } . FILTER ( ?v > ?o ) }
[]
common name abstract being
SYSTEM
57
Q21009638 Q15710470 Q3190648 Q15055569 Q5409355 Q14432243 Q15725453 Q15711505 Q20948918 Q15141427 Q20972916 Q3222756 Q21036253 Q12739035 Q9300505 Q3152983 Q10343913 Q2270749 Q20949674 Q2293269 Q4023191 Q819519 Q15520173 Q2320215 Q2081430 Q977511 Q17628767 Q15710705 Q3565718 Q3271686 Q3631585 Q16040855 Q11297446 Q282514 Q3858633 Q844697 Q2291154 Q3482136 Q8212419 Q14432283 Q2151996 Q15730337 Q2663645 Q3479120 Q2566378 Q3054222 Q3054224 Q568553 Q7468973 Q6076547 Q3966728 Q4810757 Q4874693 Q819851 Q15710460 Q3222748 Q14429586
(c(Q15619164),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q15846552
relation P725
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?v ) WHERE { ?e property:P725 ?i . ?i rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15619164 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q15846552 property:P725 ?p . ?p rdf:type ontology:Q15619164 } } . FILTER ( ?v > ?o ) }
Beltino Toad Big McIntosh Kari Kamiya Jeremiah Gottwald Fluttershy Bill Grey Queen Chrysalis Braeburn Andrew Oikonny Pinkie Pie ROB Pigma Dengar Tricky Rainbow Dash Rarity Integra Hellsing Palutena Pit General Pepper Falco Lombardi Yui Hirasawa Gul'dan Ui Hirasawa Wolf O'Donnell Fox McCloud Shizuka Minamoto Diablo Discord Walter C. Dornez Andross Azusa Nakano Pico Kyūbey Alucard Mio Akiyama Shinichi Kudo Kratos Alexander Anderson Leon Powalski Katt Monroe Constance Harm Babs Seed Krystal Seras Victoria Garrosh Hellscream Slippy Toad Peppy Hare Link Applejack Pip Bernadotte Spike Tyrael Bayonetta Mannoroth Gilda, the Griffin James McCloud Panther Caroso
57
action count
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Natsumi Koshigaya
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?v ) WHERE { ?e property:voice_actor ?i . ?i rdf:type ontology:common_name . ?e rdf:type ontology:abstract_being } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Natsumi_Koshigaya property:voice_actor ?p . ?p rdf:type ontology:abstract_being } } . FILTER ( ?v > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2270749
P725
Q502895 Q15619164
USER
And what about Pit?
(c(Q15619164),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q2270749
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?o ) WHERE { ?r property:P725 ?t . ?r rdf:type ontology:Q15619164 . ?t rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q2270749 property:P725 ?x . ?x rdf:type ontology:Q15619164 } } . FILTER ( ?o > ?l ) }
Pit
action count
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Pit
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?o ) WHERE { ?r property:voice_actor ?t . ?r rdf:type ontology:abstract_being . ?t rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Pit property:voice_actor ?x . ?x rdf:type ontology:abstract_being } } . FILTER ( ?o > ?l ) }
[]
common name abstract being
SYSTEM
30
Q15710470 Q3190648 Q5409355 Q14432243 Q15711505 Q20948918 Q15141427 Q20972916 Q3222756 Q12739035 Q9300505 Q3152983 Q20949674 Q2293269 Q4023191 Q2320215 Q2081430 Q3565718 Q3271686 Q11297446 Q8212419 Q14432283 Q15730337 Q3054222 Q3054224 Q568553 Q7468973 Q4810757 Q15710460 Q3222748
(c(Q15619164),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q2270749
relation P725
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?o ) WHERE { ?r property:P725 ?t . ?r rdf:type ontology:Q15619164 . ?t rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q2270749 property:P725 ?x . ?x rdf:type ontology:Q15619164 } } . FILTER ( ?o > ?l ) }
Big McIntosh Kari Kamiya Fluttershy Bill Grey Braeburn Andrew Oikonny Pinkie Pie ROB Pigma Dengar Rainbow Dash Rarity Integra Hellsing General Pepper Falco Lombardi Yui Hirasawa Wolf O'Donnell Fox McCloud Walter C. Dornez Andross Kyūbey Leon Powalski Katt Monroe Babs Seed Slippy Toad Peppy Hare Link Applejack Tyrael Gilda, the Griffin James McCloud
30
action count
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Pit
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?o ) WHERE { ?r property:voice_actor ?t . ?r rdf:type ontology:abstract_being . ?t rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Pit property:voice_actor ?x . ?x rdf:type ontology:abstract_being } } . FILTER ( ?o > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q497224
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than Kayamb ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q497224
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P1303 resource:Q497224 . ?j rdf:type ontology:Q502895 } } }
Kayamb
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kayamb
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:instrument resource:Kayamb . ?j rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q497224
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P1303 resource:Q497224 . ?j rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kayamb
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?b < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:instrument resource:Kayamb . ?j rdf:type ontology:common_name } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q207628 Q7725634
USER
Which people are exactly 1 musical compositions and literary works dedicated to ?
(c(Q207628)|c(Q7725634),P825,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
value 1
[[{'concept': 'Q207628'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:Q207628 ) ( ontology:Q7725634 ) } } GROUP BY ?h } . FILTER ( ?t = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
value 1
[[{'concept': 'musical composition'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:musical_composition ) ( ontology:literary_work ) } } GROUP BY ?h } . FILTER ( ?t = 1 ) }
[]
common name musical composition literary work
Q8023 Q392 Q41309
SYSTEM
Nelson Mandela, Bob Dylan, Franz Liszt
Q392 Q85210 Q183126 Q150767 Q1948037 Q2959955 Q44039 Q460876 Q8023 Q170726 Q160257 Q454840 Q51056 Q20757530 Q2360522 Q354519 Q457433 Q472635 Q92467 Q538335 Q163366 Q503886 Q179858 Q41309
(c(Q207628)|c(Q7725634),P825,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
value 1
[ANSWERS]
[[{'concept': 'Q207628'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:Q207628 ) ( ontology:Q7725634 ) } } GROUP BY ?h } . FILTER ( ?t = 1 ) }
Bob Dylan Karl Ritter von Stremayr Ramakrishna Benjamin Britten Moritz Reichsgraf von Fries Charles Panzéra Ludwig II of Bavaria Lenny Bruce Nelson Mandela Enrico Caruso Wanda Landowska William Cullen Bryant Franz Joseph I of Austria Madame Autard de Bragard Anna Petrovna Kern Charley Patton Sara Dylan Gustav, Prince of Vasa Theodor Avé-Lallemant Marianne Kirchgessner Ezra Pound Sterling Morrison Urho Kekkonen Franz Liszt
Nelson Mandela Bob Dylan Franz Liszt
action equal
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
value 1
[[{'concept': 'musical composition'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:musical_composition ) ( ontology:literary_work ) } } GROUP BY ?h } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q392
P676
Q7725634
USER
How many literary works did Bob Dylan write the lyrics for ?
(c(Q7725634),P676,Q392)
action count
action filter_type
action find_reverse
entity Q392
relation P676
type Q7725634
[{'concept': 'Q7725634'}, 'P676', 'Q392']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P676 resource:Q392 . ?l rdf:type ontology:Q7725634 }
Bob Dylan
action count
action filter_type
action find_reverse
entity Bob Dylan
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Bob Dylan']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:lyrics_by resource:Bob_Dylan . ?l rdf:type ontology:literary_work }
[]
literary work
SYSTEM
47
Q3121988 Q1437266 Q2259987 Q1419882 Q3039318 Q2881101 Q1999754 Q6505354 Q3121961 Q2714720 Q3122038 Q3122047 Q3043154 Q3043177 Q6168252 Q3950240 Q3146389 Q2706137 Q3036627 Q3044951 Q2725231 Q2292385 Q2910568 Q2006225 Q2630963 Q2321290 Q1941299 Q16593718 Q3367925 Q1571551 Q18350344 Q2518174 Q659944 Q3526068 Q16386210 Q3113523 Q2301311 Q3034177 Q1932432 Q1886329 Q2711149 Q2711175 Q16386789 Q3640684 Q3042993 Q27688574 Q1526765
(c(Q7725634),P676,Q392)
action count
action filter_type
action find_reverse
entity Q392
relation P676
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P676', 'Q392']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P676 resource:Q392 . ?l rdf:type ontology:Q7725634 }
I'll Be Your Baby Tonight Forever Young When the Ship Comes In Hurricane With God on Our Side Ballad of Hollis Brown Positively 4th Street Lay Down Your Weary Tune Tomorrow Is a Long Time Sad Eyed Lady of the Lowlands When I Paint My Masterpiece Just Like Tom Thumb's Blues North Country Blues Restless Farewell Workingman's Blues No.2 Sara I'd Have You Anytime The Lonesome Death of Hattie Carroll Only a Pawn in Their Game I Shall Be Released Ballad of a Thin Man A Hard Rain's a-Gonna Fall Boots of Spanish Leather The Times They Are a-Changin' My Back Pages Desolation Row Mr. Tambourine Man Love Rescue Me Simple Twist of Fate One Too Many Mornings Lord Protect My Child All I Really Want to Do Masters of War Thunder on the Mountain I'll Keep It with Mine Spanish Harlem Incident It's All Over Now, Baby Blue Gates of Eden Quinn the Eskimo (The Mighty Quinn) Make You Feel My Love Blind Willie McTell Chimes of Freedom Love Is Just a Four-Letter Word Black Diamond Bay Lily, Rosemary and the Jack of Hearts Can't Wait Girl from the North Country
47
action count
action filter_type
action find_reverse
entity Bob Dylan
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Bob Dylan']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:lyrics_by resource:Bob_Dylan . ?l rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q314358
P676
Q7725634
USER
And how about Jeff Lynne?
(c(Q7725634),P676,Q314358)
action count
action filter_type
action find_reverse
entity Q314358
relation P676
type Q7725634
[{'concept': 'Q7725634'}, 'P676', 'Q314358']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P676 resource:Q314358 . ?q rdf:type ontology:Q7725634 }
Jeff Lynne
action count
action filter_type
action find_reverse
entity Jeff Lynne
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Jeff Lynne']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:lyrics_by resource:Jeff_Lynne . ?q rdf:type ontology:literary_work }
[]
literary work
SYSTEM
10
Q3528168 Q3061621 Q3104676 Q2935718 Q2390948 Q3417762 Q3487255 Q3083961 Q3257141 Q3568131
(c(Q7725634),P676,Q314358)
action count
action filter_type
action find_reverse
entity Q314358
relation P676
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P676', 'Q314358']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P676 resource:Q314358 . ?q rdf:type ontology:Q7725634 }
Ticket to the Moon Evil Woman Getting to the Point Can't Get It Out of My Head The Way Life's Meant to Be Rain Is Falling So Serious Showdown Livin' Thing Wild West Hero
10
action count
action filter_type
action find_reverse
entity Jeff Lynne
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Jeff Lynne']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:lyrics_by resource:Jeff_Lynne . ?q rdf:type ontology:literary_work }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3122558
P21 P802
Q502895
USER
Which people were Gwennole Le Menn a student of and have the gender as male ?
AND((c(Q502895),P802,Q3122558), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3122558
relation P802
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P802', 'Q3122558'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P802 resource:Q3122558 . ?q property:P21 resource:Q6581097 }
male Gwennole Le Menn
action filter_type
action intersection
action find_reverse
entity Gwennole Le Menn
relation student
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student', 'Gwennole Le Menn'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:student resource:Gwennole_Le_Menn . ?q property:gender resource:male }
[]
common name
Q1379264
SYSTEM
Léon Fleuriot
Q1379264
AND((c(Q502895),P802,Q3122558), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3122558
relation P802
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER]
{'AND': [[{'concept': 'Q502895'}, 'P802', 'Q3122558'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P802 resource:Q3122558 . ?q property:P21 resource:Q6581097 }
Léon Fleuriot
Léon Fleuriot
action filter_type
action intersection
action find_reverse
entity Gwennole Le Menn
relation student
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student', 'Gwennole Le Menn'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:student resource:Gwennole_Le_Menn . ?q property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2092297
P180
Q82799 Q15709879 Q18783400
USER
Which names are depicted in less number of artwork series and genres of sculpture than eagle ?
(c(Q15709879)|c(Q18783400),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q15709879
type Q18783400
[[{'concept': 'Q15709879'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?d WHERE { { ?t property:P180 ?d . ?t rdf:type ontology:Q18783400 . ?d rdf:type ontology:Q82799 } UNION { ?t property:P180 ?d . ?d rdf:type ontology:Q82799 . ?t rdf:type ontology:Q15709879 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P180 resource:Q2092297 . { { ?f rdf:type ontology:Q15709879 } UNION { ?f rdf:type ontology:Q18783400 } } } } . FILTER ( ?r < ?x ) }
eagle
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type artwork series
type genre of sculpture
[[{'concept': 'artwork series'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?d WHERE { { ?t property:depicts ?d . ?t rdf:type ontology:genre_of_sculpture . ?d rdf:type ontology:name } UNION { ?t property:depicts ?d . ?d rdf:type ontology:name . ?t rdf:type ontology:artwork_series } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:depicts resource:eagle . { { ?f rdf:type ontology:artwork_series } UNION { ?f rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?r < ?x ) }
[]
name artwork series genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q15709879)|c(Q18783400),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q15709879
type Q18783400
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?d WHERE { { ?t property:P180 ?d . ?t rdf:type ontology:Q18783400 . ?d rdf:type ontology:Q82799 } UNION { ?t property:P180 ?d . ?d rdf:type ontology:Q82799 . ?t rdf:type ontology:Q15709879 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P180 resource:Q2092297 . { { ?f rdf:type ontology:Q15709879 } UNION { ?f rdf:type ontology:Q18783400 } } } } . FILTER ( ?r < ?x ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
leek magi fish
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type artwork series
type genre of sculpture
[[{'concept': 'artwork series'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?d WHERE { { ?t property:depicts ?d . ?t rdf:type ontology:genre_of_sculpture . ?d rdf:type ontology:name } UNION { ?t property:depicts ?d . ?d rdf:type ontology:name . ?t rdf:type ontology:artwork_series } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:depicts resource:eagle . { { ?f rdf:type ontology:artwork_series } UNION { ?f rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?r < ?x ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P138
Q82799 Q43229
USER
How many names are the etymology of around the same number of organizations as that name ?
(c(Q43229),P138,c(Q82799))
[{'concept': 'Q43229'}, 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q82799 }
[{'concept': 'organization'}, 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:named_after ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:name }
[]
name organization
Comparative|Count over More/Less|Single entity type|Clarification
Q876933
SYSTEM
Did you mean magi ?
(c(Q43229),P138,c(Q82799))
[ANSWER]
[{'concept': 'Q43229'}, 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q82799 }
Did you mean magi ?
magi
[{'concept': 'organization'}, 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:named_after ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant fish. Could you tell me the answer for that?
(c(Q43229),P138,c(Q82799))
Q152
[{'concept': 'Q43229'}, 'P138', {'concept': 'Q82799'}]
[{'concept': 'organization'}, 'named after', {'concept': 'name'}]
[]
SYSTEM
57
Q3060012 Q5 Q3263447 Q726 Q16281046 Q25894 Q12346339 Q19930319 Q18822560 Q27547 Q7369 Q2092297 Q9458574 Q7368 Q17747314 Q10355035 Q3074737 Q19833249 Q201251 Q455758 Q208342 Q1065917 Q8331 Q2620506 Q3306164 Q3850382 Q829309 Q1865281 Q17379071 Q9394 Q2734060 Q2495957 Q3065939 Q835808 Q177053 Q16964089 Q1211606 Q11946202 Q21476715 Q18183304 Q846664 Q7378 Q123120 Q18579278 Q538906 Q308841 Q168903 Q152 Q11879590 Q849545 Q1025368 Q5070208 Q18809734 Q185215 Q1277323 Q125525 Q3469018
(c(Q43229),P138,c(Q82799))
[ANSWER]
[{'concept': 'Q43229'}, 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q82799 }
egret human Brutus horse Rufus antelope Doktoro Esperanto Salis Mortimer Sandwich Tern dolphin eagle wasp Ovis aries Ružena Half-blood Prince halibut Frei peacock Amati kite weta fox Vojinović noble family Anaconda Redstart Van Rechteren whale Lucy rabbit reed magpie Nicolay Brontë family Mr. Walkinshaw condor butterfly Famille Bánffy Hürlimann hawk elephant vulture Burckhardt thistle snail Bos primigenius fish female given name Malik Caecilius Metellus kangaroo Neville piranha Earl of Lauderdale jackal snipe
57
[{'concept': 'organization'}, 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:named_after ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1379264
P19
Q20667921
USER
Which french administrative division was Léon Fleuriot born at ?
(Q1379264,P19,c(Q20667921))
action filter_type
action find
entity Q1379264
relation P19
type Q20667921
['Q1379264', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q1379264 property:P19 ?x }
Léon Fleuriot
action filter_type
action find
entity Léon Fleuriot
relation place of birth
type type of french administrative division
['Léon Fleuriot', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Léon_Fleuriot property:place_of_birth ?x }
[]
type of french administrative division
Q202368
SYSTEM
Morlaix
Q202368
(Q1379264,P19,c(Q20667921))
action filter_type
action find
entity Q1379264
relation P19
type Q20667921
[ANSWER]
['Q1379264', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q1379264 property:P19 ?x }
Morlaix
Morlaix
action filter_type
action find
entity Léon Fleuriot
relation place of birth
type type of french administrative division
['Léon Fleuriot', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Léon_Fleuriot property:place_of_birth ?x }
[]