Simple Question (Direct)
Simple Question
Q1364271
P641
Q349
USER
Which sport was MarShon Brooks a part of ?
(Q1364271,P641,c(Q349))
action filter_type
action find
entity Q1364271
relation P641
type Q349
['Q1364271', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1364271 property:P641 ?n . ?n rdf:type ontology:Q349 }
MarShon Brooks
action filter_type
action find
entity MarShon Brooks
relation sport
type sport
['MarShon Brooks', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:MarShon_Brooks property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1364271,P641,c(Q349))
action filter_type
action find
entity Q1364271
relation P641
type Q349
Which sport was MarShon Brooks a part of
['Q1364271', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1364271 property:P641 ?n . ?n rdf:type ontology:Q349 }
basketball
Which sport was MarShon Brooks a part of
basketball
action filter_type
action find
entity MarShon Brooks
relation sport
type sport
['MarShon Brooks', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:MarShon_Brooks property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5372
P452
Q12737077
USER
Who belongs to the industry that sport ?
(c(Q12737077),P452,Q5372)
action filter_type
action find_reverse
entity Q5372
relation P452
type Q12737077
[{'concept': 'Q12737077'}, 'P452', 'Q5372']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q5372 . ?m rdf:type ontology:Q12737077 }
basketball
action filter_type
action find_reverse
entity basketball
relation industry
type occupation
[{'concept': 'occupation'}, 'industry', 'basketball']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:basketball . ?m rdf:type ontology:occupation }
[]
occupation
Q5532366
SYSTEM
general manager
Q5532366
(c(Q12737077),P452,Q5372)
action filter_type
action find_reverse
entity Q5372
relation P452
type Q12737077
[ANSWER] belongs to the industry that sport
[{'concept': 'Q12737077'}, 'P452', 'Q5372']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q5372 . ?m rdf:type ontology:Q12737077 }
general manager
General manager belongs to the industry that sport
general manager
action filter_type
action find_reverse
entity basketball
relation industry
type occupation
[{'concept': 'occupation'}, 'industry', 'basketball']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:basketball . ?m rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4019803
Q12737077
USER
And what about Wildfire Games?
(Q4019803,P452,c(Q12737077))
action filter_type
action find
entity Q4019803
relation P452
type Q12737077
['Q4019803', 'P452', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q4019803 property:P452 ?b . ?b rdf:type ontology:Q12737077 }
Wildfire Games
action filter_type
action find
entity Wildfire Games
relation industry
type occupation
['Wildfire Games', 'industry', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Wildfire_Games property:industry ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q210167
SYSTEM
video game developer
Q210167
(Q4019803,P452,c(Q12737077))
action filter_type
action find
entity Q4019803
relation P452
type Q12737077
[ANSWER]
['Q4019803', 'P452', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q4019803 property:P452 ?b . ?b rdf:type ontology:Q12737077 }
video game developer
video game developer
action filter_type
action find
entity Wildfire Games
relation industry
type occupation
['Wildfire Games', 'industry', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Wildfire_Games property:industry ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q210167
P106
Q502895
USER
Which people have the profession of that occupation ?
(c(Q502895),P106,Q210167)
action filter_type
action find_reverse
entity Q210167
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q210167']
SELECT DISTINCT ?x WHERE { ?x property:P106 resource:Q210167 . ?x rdf:type ontology:Q502895 }
video game developer
action filter_type
action find_reverse
entity video game developer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'video game developer']
SELECT DISTINCT ?x WHERE { ?x property:occupation resource:video_game_developer . ?x rdf:type ontology:common_name }
[]
common name
Q12382 Q309493 Q1067552
SYSTEM
Shigeru Miyamoto, Will Wright, Romeo Tanaka
Q8063936 Q210456 Q984061 Q15710686 Q7301768 Q5966344 Q19717431 Q983176 Q723515 Q773625 Q523191 Q1077142 Q7343081 Q6512187 Q3482703 Q4023281 Q1067552 Q2469860 Q239429 Q2965949 Q10877245 Q6272159 Q3047191 Q15851084 Q14913066 Q991808 Q11475897 Q10855965 Q7678584 Q982628 Q11540062 Q14272462 Q2407364 Q15855350 Q1438992 Q3950790 Q4766823 Q6307131 Q2994961 Q1072659 Q7613244 Q9088630 Q940867 Q2626699 Q1502287 Q4027119 Q3048116 Q26257638 Q965879 Q11678226 Q2587147 Q2747788 Q2743416 Q8972905 Q9322562 Q1071655 Q3201280 Q14891961 Q2662037 Q917565 Q16266665 Q5585966 Q3181753 Q18350147 Q309493 Q3516108 Q952867 Q9141266 Q7822459 Q17130296 Q1934555 Q20744684 Q19876429 Q554137 Q5961180 Q1272163 Q1154637 Q11465837 Q7608394 Q3087995 Q1072634 Q1154944 Q1702857 Q1629092 Q2588817 Q4717777 Q1068950 Q319269 Q2587127 Q23949867 Q26834110 Q5606310 Q521361 Q15726354 Q3062244 Q17686220 Q18378980 Q21036223 Q766576 Q6388962 Q12382 Q6386594 Q2829079 Q966505 Q2524011 Q17686986 Q6377302 Q429678 Q366600 Q731575 Q11465142 Q2288531 Q716008 Q2964754 Q17024751 Q16732733 Q2389176 Q20726337 Q11638242 Q7496335 Q3013117 Q3514178 Q2376341 Q20987013 Q924550 Q2913386 Q15732499 Q3302425 Q3995897 Q1174500 Q846794 Q2829029 Q11450959 Q465657 Q6237971 Q15895058 Q88368 Q3098670 Q1069336 Q731559 Q11630161 Q11709677 Q635189 Q20506673 Q3572693 Q556257 Q707256 Q240835 Q1802482 Q20792201 Q2706773 Q19977323 Q19680180 Q874915 Q3136254 Q726119 Q7822412 Q996918 Q3280923 Q1082789 Q14569862 Q2510314 Q11657711 Q103787 Q11635830 Q18809454 Q11670158 Q3541668 Q20726392
(c(Q502895),P106,Q210167)
action filter_type
action find_reverse
entity Q210167
relation P106
type Q502895
[ANSWERS] have the profession of that occupation
[{'concept': 'Q502895'}, 'P106', 'Q210167']
SELECT DISTINCT ?x WHERE { ?x property:P106 resource:Q210167 . ?x rdf:type ontology:Q502895 }
Zachary Barth Hajime Tabata Sam Houser Hans Ippisch Rebecca Heineman Yoshihisa Kishimoto Aric Wilmunder Tomohiro Nishikado Chris Taylor Dave Gilbert Tim Schafer Chris Crawford Robert Cook Hideo Baba Shuyo Murata Yusuke Nakano Romeo Tanaka Tomonobu Itagaki Hiroshi Minagawa Christine Love Fumiaki Maruto Jonas Kyratzes Ed Logg Todd Breitenstein Shawn McGrath Bruce Shelley Yoshihiro Kishimoto Reo Nagumo Takumi Nakazawa David Jaffe Kazuaki Morita Sheldon Carter Teut Weidemann Yusuke Amano Richard Gray Satoru Takizawa Anna Anthropy Julian Eggebrecht Koichi Nakamura Kinoko Nasu Steve Malpass ZUN Yuji Horii Tetsuya Takahashi Genki Yokota Yōichi Yamada Edmund McMillen Sylvain Passot Malcolm Evans Fumio Kurokawa Kazuhiko Aoki David Jones Yusuke Naora Koroku Inumura Touka Takei Matt Harding Ko Kimura Dean Dodrill Akihiko Yoshida Leonard Boyarsky Jay Watts Gordon Walton John Hill Adam Saltsman Will Wright Tatsuya Yoshikawa Dino Dini Adrian Chmielarz Tony Goodman Hisashi Koinuma Nasir Gebelli Santiago Siri Bignic Kazunori Yamauchi Hiroyuki Kobayashi Ralf Glau Katsuya Eguchi Hitoshi Yamagami Stephanie Shaver Yoshinori Ono Takashi Takeuchi Jonathan Blow Jon Van Caneghem Jessica Mulligan Koichi Ishii Alex Seropian Yūichi Suzumoto Richard Garriott Hiroyuki Ito Alexander Stuart Mahan Eric Peterson Greg Street Brenda Romero Dong Nguyen Hiroya Hatsushiba Ken'ichi Ogasawara Brianna Wu Kevin Bayliss Elonka Dunin Jun Wakita Shigeru Miyamoto Kelton Flinn Akira Yasuda Mark Allen Fumito Ueda Scott Tsumura Kathy Sierra Daisuke Ishiwatari Allen Adham Eiji Aonuma Yoshiyuki Oyama Stevie Case Rand Miller Chris Jones Zoe Quinn Mohammad Alavi Takao Nakano Gabriele Cirulli Ryōzō Tsujimoto Shigeki Morimoto Dan Kitchen Takao Shimizu Paul Reiche III Kraig Walker Erick Wujcik Koichi Hayashida Lucas Pope Hiroyuki Goto Toshihiko Nakago David Gaider Josh Sawyer Akihiko Matsui Makoto Anjō American McGee John Harris Hiromasa Shikata Hannes Seifert Yoshio Sakamoto Naoki Hisaya Keiji Inafune Takao Miyoshi Terry Cavanagh Masato Kato Masaki Furasawa Yoshitaka Tamaki Hidemaro Fujibayashi Kensuke Tanabe Tim Willits Shinji Hashimoto Joseph Humfrey Yasumi Matsuno Dennis Wedin Nicky Case Rick Goodman Hiroji Kiyotake Yuji Naka Tony Garcia Feargus Urquhart Makoto Kano Ian Livingstone Raphaël Colantonio Will Harvey Yumenosuke Akademiya Volker Wertich Isao Akada Andreas Escher Ken'ichirō Takaki Tsuneki Ikeda Ronald Sölkner
Shigeru Miyamoto, Will Wright and Romeo Tanaka have the profession of that occupation
Shigeru Miyamoto Will Wright Romeo Tanaka
action filter_type
action find_reverse
entity video game developer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'video game developer']
SELECT DISTINCT ?x WHERE { ?x property:occupation resource:video_game_developer . ?x rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P287
Q341 Q166142
USER
How many free software or applications had designs produced by that person ?
(c(Q341),P287,Q309493) (c(Q166142),P287,Q309493) (c(Q341),P287,Q12382) (c(Q166142),P287,Q12382) (c(Q341),P287,Q309493) (c(Q166142),P287,Q309493) (c(Q341),P287,Q1067552) (c(Q166142),P287,Q1067552)
[{'concept': 'Q341'}, 'P287', 'Q309493'] [{'concept': 'Q166142'}, 'P287', 'Q309493'] [{'concept': 'Q341'}, 'P287', 'Q12382'] [{'concept': 'Q166142'}, 'P287', 'Q12382'] [{'concept': 'Q341'}, 'P287', 'Q309493'] [{'concept': 'Q166142'}, 'P287', 'Q309493'] [{'concept': 'Q341'}, 'P287', 'Q1067552'] [{'concept': 'Q166142'}, 'P287', 'Q1067552']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q5322166 resource:Q3568307 } UNION { ?y property:Q5322166 resource:Q3568307 } UNION { ?z property:Q5322166 resource:Q12382 } UNION { ?y property:Q5322166 resource:Q12382 } UNION { ?z property:Q5322166 resource:Q3568307 } UNION { ?y property:Q5322166 resource:Q3568307 } UNION { ?z property:Q5322166 resource:Q1067552 } UNION { ?y property:Q5322166 resource:Q1067552 } } . ?z rdf:type ontology:Q341 . ?y rdf:type ontology:Q166142 }
[{'concept': 'free software'}, 'designer', 'Will Wright'] [{'concept': 'application'}, 'designer', 'Will Wright'] [{'concept': 'free software'}, 'designer', 'Shigeru Miyamoto'] [{'concept': 'application'}, 'designer', 'Shigeru Miyamoto'] [{'concept': 'free software'}, 'designer', 'Will Wright'] [{'concept': 'application'}, 'designer', 'Will Wright'] [{'concept': 'free software'}, 'designer', 'Romeo Tanaka'] [{'concept': 'application'}, 'designer', 'Romeo Tanaka']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:designer resource:Will_Wright } UNION { ?y property:designer resource:Will_Wright } UNION { ?z property:designer resource:Shigeru_Miyamoto } UNION { ?y property:designer resource:Shigeru_Miyamoto } UNION { ?z property:designer resource:Will_Wright } UNION { ?y property:designer resource:Will_Wright } UNION { ?z property:designer resource:Romeo_Tanaka } UNION { ?y property:designer resource:Romeo_Tanaka } } . ?z rdf:type ontology:free_software . ?y rdf:type ontology:application }
[]
free software application
Quantitative|Count|Mult. entity type|Clarification
Q1067552
SYSTEM
Did you mean Romeo Tanaka ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q5322166 resource:Q3568307 } UNION { ?y property:Q5322166 resource:Q3568307 } UNION { ?z property:Q5322166 resource:Q12382 } UNION { ?y property:Q5322166 resource:Q12382 } UNION { ?z property:Q5322166 resource:Q3568307 } UNION { ?y property:Q5322166 resource:Q3568307 } UNION { ?z property:Q5322166 resource:Q1067552 } UNION { ?y property:Q5322166 resource:Q1067552 } } . ?z rdf:type ontology:Q341 . ?y rdf:type ontology:Q166142 }
Did you mean Romeo Tanaka ?
Romeo Tanaka
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:designer resource:Will_Wright } UNION { ?y property:designer resource:Will_Wright } UNION { ?z property:designer resource:Shigeru_Miyamoto } UNION { ?y property:designer resource:Shigeru_Miyamoto } UNION { ?z property:designer resource:Will_Wright } UNION { ?y property:designer resource:Will_Wright } UNION { ?z property:designer resource:Romeo_Tanaka } UNION { ?y property:designer resource:Romeo_Tanaka } } . ?z rdf:type ontology:free_software . ?y rdf:type ontology:application }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Will Wright. Could you tell me the answer for that?
(c(Q341),P287,Q309493) (c(Q166142),P287,Q309493) (c(Q341),P287,Q12382) (c(Q166142),P287,Q12382) (c(Q341),P287,Q309493) (c(Q166142),P287,Q309493) (c(Q341),P287,Q1067552) (c(Q166142),P287,Q1067552)
Q309493
[{'concept': 'Q341'}, 'P287', 'Q309493'] [{'concept': 'Q166142'}, 'P287', 'Q309493'] [{'concept': 'Q341'}, 'P287', 'Q12382'] [{'concept': 'Q166142'}, 'P287', 'Q12382'] [{'concept': 'Q341'}, 'P287', 'Q309493'] [{'concept': 'Q166142'}, 'P287', 'Q309493'] [{'concept': 'Q341'}, 'P287', 'Q1067552'] [{'concept': 'Q166142'}, 'P287', 'Q1067552']
[{'concept': 'free software'}, 'designer', 'Will Wright'] [{'concept': 'application'}, 'designer', 'Will Wright'] [{'concept': 'free software'}, 'designer', 'Shigeru Miyamoto'] [{'concept': 'application'}, 'designer', 'Shigeru Miyamoto'] [{'concept': 'free software'}, 'designer', 'Will Wright'] [{'concept': 'application'}, 'designer', 'Will Wright'] [{'concept': 'free software'}, 'designer', 'Romeo Tanaka'] [{'concept': 'application'}, 'designer', 'Romeo Tanaka']
[]
SYSTEM
26
Q5872767 Q1991302 Q1750905 Q1511144 Q1444293 Q1764439 Q1767176 Q2142212 Q2017466 Q3283892 Q727092 Q2337847 Q210844 Q2290121 Q7798922 Q2177599 Q2662088 Q3659345 Q2082124 Q4049977 Q184816 Q768964 Q951915 Q3284546 Q31685 Q641801
(c(Q341),P287,Q309493) (c(Q166142),P287,Q309493) (c(Q341),P287,Q12382) (c(Q166142),P287,Q12382) (c(Q341),P287,Q309493) (c(Q166142),P287,Q309493) (c(Q341),P287,Q1067552) (c(Q166142),P287,Q1067552)
[ANSWER]
[{'concept': 'Q341'}, 'P287', 'Q309493'] [{'concept': 'Q166142'}, 'P287', 'Q309493'] [{'concept': 'Q341'}, 'P287', 'Q12382'] [{'concept': 'Q166142'}, 'P287', 'Q12382'] [{'concept': 'Q341'}, 'P287', 'Q309493'] [{'concept': 'Q166142'}, 'P287', 'Q309493'] [{'concept': 'Q341'}, 'P287', 'Q1067552'] [{'concept': 'Q166142'}, 'P287', 'Q1067552']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q5322166 resource:Q3568307 } UNION { ?y property:Q5322166 resource:Q3568307 } UNION { ?z property:Q5322166 resource:Q12382 } UNION { ?y property:Q5322166 resource:Q12382 } UNION { ?z property:Q5322166 resource:Q3568307 } UNION { ?y property:Q5322166 resource:Q3568307 } UNION { ?z property:Q5322166 resource:Q1067552 } UNION { ?y property:Q5322166 resource:Q1067552 } } . ?z rdf:type ontology:Q341 . ?y rdf:type ontology:Q166142 }
HiveMind The Sims: Hot Date SimCity 3000 SimEarth Spore Origins The Sims: Livin' Large SimCity 2000 SimCopter The Sims: Makin' Magic Spore Creatures The Sims 2: University The Sims: Unleashed Spore The Sims 2 Stuff packs SimCity The Sims: Vacation Darkspore Spore Creature Creator The Sims: House Party Spore: Creepy & Cute The Sims The Sims: Superstar SimCity 4: Rush Hour Spore Hero Spore Hero Arena Spore: Galactic Adventures
26
[{'concept': 'free software'}, 'designer', 'Will Wright'] [{'concept': 'application'}, 'designer', 'Will Wright'] [{'concept': 'free software'}, 'designer', 'Shigeru Miyamoto'] [{'concept': 'application'}, 'designer', 'Shigeru Miyamoto'] [{'concept': 'free software'}, 'designer', 'Will Wright'] [{'concept': 'application'}, 'designer', 'Will Wright'] [{'concept': 'free software'}, 'designer', 'Romeo Tanaka'] [{'concept': 'application'}, 'designer', 'Romeo Tanaka']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:designer resource:Will_Wright } UNION { ?y property:designer resource:Will_Wright } UNION { ?z property:designer resource:Shigeru_Miyamoto } UNION { ?y property:designer resource:Shigeru_Miyamoto } UNION { ?z property:designer resource:Will_Wright } UNION { ?y property:designer resource:Will_Wright } UNION { ?z property:designer resource:Romeo_Tanaka } UNION { ?y property:designer resource:Romeo_Tanaka } } . ?z rdf:type ontology:free_software . ?y rdf:type ontology:application }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8371
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than cello ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8371
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P1303 resource:Q8371 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?b } }
cello
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity cello
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:instrument resource:cello . ?q rdf:type ontology:common_name } } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?b } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8371
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than cello
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P1303 resource:Q8371 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?b } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can lesser number of people perform with than cello
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity cello
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:instrument resource:cello . ?q rdf:type ontology:common_name } } . FILTER ( ?w < ?d ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1798603
P1303
Q34379 Q502895
USER
And also tell me about string instrument?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1798603
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P1303 resource:Q1798603 . ?y rdf:type ontology:Q502895 } } }
string instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity string instrument
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:instrument resource:string_instrument . ?y rdf:type ontology:common_name } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1798603
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P1303 resource:Q1798603 . ?y rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity string instrument
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:instrument resource:string_instrument . ?y rdf:type ontology:common_name } } }
[]