Simple Question (Direct)
Simple Question
Q18233391
P27
Q15617994
USER
Which administrative territory is Hitsuji Suzuki an inhabitant of ?
(Q18233391,P27,c(Q15617994))
action filter_type
action find
entity Q18233391
relation P27
type Q15617994
['Q18233391', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q18233391 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Hitsuji Suzuki
action filter_type
action find
entity Hitsuji Suzuki
relation country of citizenship
type designation for an administrative territorial entity
['Hitsuji Suzuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hitsuji_Suzuki property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q18233391,P27,c(Q15617994))
action filter_type
action find
entity Q18233391
relation P27
type Q15617994
The [ANSWER] is Hitsuji Suzuki an inhabitant of
['Q18233391', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q18233391 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Japan
The Japan is Hitsuji Suzuki an inhabitant of
Japan
action filter_type
action find
entity Hitsuji Suzuki
relation country of citizenship
type designation for an administrative territorial entity
['Hitsuji Suzuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hitsuji_Suzuki property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18233391
P19
Q56061
USER
Where was that person born ?
(Q17,P19,c(Q56061))
action filter_type
action find
entity Q18233391
relation P19
type Q56061
['Q17', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q18233391 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Hitsuji Suzuki
action filter_type
action find
entity Hitsuji Suzuki
relation place of birth
type administrative territorial entity
['Japan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hitsuji_Suzuki property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q17,P19,c(Q56061))
action filter_type
action find
entity Q18233391
relation P19
type Q56061
That person was born in [ANSWER]
['Q17', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q18233391 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Tokyo
That person was born in Tokyo
Tokyo
action filter_type
action find
entity Hitsuji Suzuki
relation place of birth
type administrative territorial entity
['Japan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hitsuji_Suzuki property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21955215 Q18233391
P136 P180
Q151885
USER
Which concepts do Hitsuji Suzuki belong to or are expressed in A Writing Philosopher ?
OR((Q18233391,P136,c(Q151885)), (Q21955215,P180,c(Q151885)))
action filter_type
action union
action find
entity Q18233391
relation P136
action find
entity Q21955215
relation P180
type Q151885
{'OR': [['Q18233391', 'P136', {'concept': 'Q151885'}], ['Q21955215', 'P180', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q18233391 property:P136 ?i } UNION { resource:Q21955215 property:P180 ?i } } . ?i rdf:type ontology:Q151885 }
A Writing Philosopher Hitsuji Suzuki
action filter_type
action union
action find
entity Hitsuji Suzuki
relation genre
action find
entity A Writing Philosopher
relation depicts
type concept
{'OR': [['Hitsuji Suzuki', 'genre', {'concept': 'concept'}], ['A Writing Philosopher', 'depicts', {'concept': 'concept'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Hitsuji_Suzuki property:genre ?i } UNION { resource:A_Writing_Philosopher property:depicts ?i } } . ?i rdf:type ontology:concept }
[]
concept
Q131578 Q8441
SYSTEM
J-pop, man
Q131578 Q8441
OR((Q18233391,P136,c(Q151885)), (Q21955215,P180,c(Q151885)))
action filter_type
action union
action find
entity Q18233391
relation P136
action find
entity Q21955215
relation P180
type Q151885
Hitsuji Suzuki belong to [ANSWERS]
{'OR': [['Q18233391', 'P136', {'concept': 'Q151885'}], ['Q21955215', 'P180', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q18233391 property:P136 ?i } UNION { resource:Q21955215 property:P180 ?i } } . ?i rdf:type ontology:Q151885 }
J-pop man
Hitsuji Suzuki belong to J-pop and man
J-pop man
action filter_type
action union
action find
entity Hitsuji Suzuki
relation genre
action find
entity A Writing Philosopher
relation depicts
type concept
{'OR': [['Hitsuji Suzuki', 'genre', {'concept': 'concept'}], ['A Writing Philosopher', 'depicts', {'concept': 'concept'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Hitsuji_Suzuki property:genre ?i } UNION { resource:A_Writing_Philosopher property:depicts ?i } } . ?i rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8441
P138
Q82799
USER
Which name is named after that concept ?
(c(Q82799),P138,Q8441)
action filter_type
action find_reverse
entity Q8441
relation P138
type Q82799
[{'concept': 'Q82799'}, 'P138', 'Q8441']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q8441 . ?b rdf:type ontology:Q82799 }
man
action filter_type
action find_reverse
entity man
relation named after
type name
[{'concept': 'name'}, 'named after', 'man']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:man . ?b rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q8441
SYSTEM
Did you mean man ?
Q131578 Q8441
(c(Q82799),P138,Q131578) (c(Q82799),P138,Q8441)
[ANSWER]
[{'concept': 'Q82799'}, 'P138', 'Q131578'] [{'concept': 'Q82799'}, 'P138', 'Q8441']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q8441 . ?b rdf:type ontology:Q82799 }
J-pop man
Did you mean man ?
man
[{'concept': 'name'}, 'named after', 'J-pop'] [{'concept': 'name'}, 'named after', 'man']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:man . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q82799),P138,Q8441)
[{'concept': 'Q82799'}, 'P138', 'Q8441']
[{'concept': 'name'}, 'named after', 'man']
[]
Q13626156
SYSTEM
Ackermann
Q13626156
(c(Q82799),P138,Q8441)
action filter_type
action find_reverse
entity Q8441
relation P138
type Q82799
[ANSWER] is named after that concept
[{'concept': 'Q82799'}, 'P138', 'Q8441']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q8441 . ?b rdf:type ontology:Q82799 }
Ackermann
Ackermann is named after that concept
Ackermann
action filter_type
action find_reverse
entity man
relation named after
type name
[{'concept': 'name'}, 'named after', 'man']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:man . ?b rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1567032
P136
Q151885 Q2088357 Q2031291
USER
Which concepts can be considered as category for greater number of musical ensembles and releases than Southern soul ?
(c(Q2088357)|c(Q2031291),P136,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q1567032
relation P136
type Q2088357
type Q2031291
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?c WHERE { { ?m property:P136 ?c . ?m rdf:type ontology:Q2088357 . ?c rdf:type ontology:Q151885 } UNION { ?m property:P136 ?c . ?m rdf:type ontology:Q2031291 . ?c rdf:type ontology:Q151885 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P136 resource:Q1567032 . { { ?t rdf:type ontology:Q2088357 } UNION { ?t rdf:type ontology:Q2031291 } } } } . FILTER ( ?n > ?b ) }
Southern soul
action greater
action union
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
action find_reverse_tuple_counts
relation genre
type concept
type release
action count
action filter_multi_types
action find_reverse
entity Southern soul
relation genre
type musical ensemble
type release
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?c WHERE { { ?m property:genre ?c . ?m rdf:type ontology:musical_ensemble . ?c rdf:type ontology:concept } UNION { ?m property:genre ?c . ?m rdf:type ontology:release . ?c rdf:type ontology:concept } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:genre resource:Southern_soul . { { ?t rdf:type ontology:musical_ensemble } UNION { ?t rdf:type ontology:release } } } } . FILTER ( ?n > ?b ) }
[]
concept musical ensemble release
Q1207347 Q11325235 Q1062400
SYSTEM
Shibuya-kei, neo acoustic, chanson
Q2280273 Q1092553 Q251192 Q1431327 Q2336819 Q56580 Q383615 Q888612 Q1403744 Q667659 Q703778 Q1071961 Q1195630 Q483352 Q627906 Q211573 Q1055871 Q2090023 Q592330 Q775614 Q4045538 Q874038 Q3437841 Q9730 Q2662148 Q650316 Q969663 Q753520 Q7118426 Q503354 Q2517263 Q1136331 Q659599 Q837389 Q193355 Q213121 Q852767 Q842324 Q1418683 Q858579 Q547137 Q486365 Q220830 Q504635 Q602561 Q58339 Q189045 Q2988851 Q431415 Q1207347 Q16250593 Q546359 Q180268 Q663519 Q181010 Q846833 Q373342 Q216961 Q483251 Q3644819 Q753679 Q212688 Q6010 Q1051735 Q37073 Q2994332 Q725011 Q2296495 Q268253 Q9778 Q236913 Q264289 Q601235 Q2266376 Q217467 Q484344 Q973150 Q1045541 Q49451 Q131578 Q388296 Q840065 Q1123745 Q854451 Q186472 Q11325235 Q131272 Q2332751 Q170611 Q660984 Q208239 Q828243 Q2572585 Q263734 Q183504 Q720959 Q2726026 Q4942839 Q2461933 Q1784106 Q1165777 Q2089511 Q649634 Q2529400 Q2668052 Q1650296 Q202930 Q2047814 Q54365 Q235858 Q784310 Q2545135 Q790188 Q1780056 Q2404568 Q7749 Q205049 Q1378776 Q454071 Q851213 Q848399 Q83440 Q640097 Q817138 Q1139136 Q930592 Q286080 Q1166197 Q57143 Q379671 Q493169 Q25099840 Q1643549 Q1433387 Q185652 Q2004156 Q848852 Q1164252 Q885561 Q83270 Q598929 Q2087267 Q835891 Q38848 Q1931555 Q2256407 Q2084353 Q339906 Q1507298 Q744417 Q4631020 Q2607454 Q327547 Q105527 Q546264 Q465978 Q20474 Q1391336 Q1065742 Q783243 Q8341 Q3827483 Q622871 Q223840 Q1062400 Q1641839 Q756956 Q46046 Q43343 Q828305 Q617240 Q186170 Q325504 Q153071 Q831354 Q2268922 Q1190485 Q1530455 Q739138 Q574651 Q38656 Q138020 Q474027 Q822914 Q76092 Q661651 Q187760 Q282131 Q378988 Q936942 Q1076092 Q45981 Q484179 Q1425661 Q188539 Q830325 Q517415 Q1936659 Q1299260 Q723418 Q188534 Q2743435 Q4428744 Q1196752 Q1606591 Q429264 Q388906 Q320592 Q959583 Q1147692 Q341364 Q740911 Q1457545 Q786815 Q213572 Q316930 Q183862 Q861823 Q135637 Q968730 Q1298934 Q132438 Q217597 Q613408 Q236932 Q193207 Q606393 Q211756 Q438476 Q966564 Q170435 Q2626684 Q997481 Q616679 Q719927 Q2343562 Q487965 Q602646 Q272167 Q727781 Q1752801 Q253918 Q641357 Q2746831 Q11403 Q11401 Q181861 Q486263 Q11399 Q10926 Q10922 Q823080 Q655514 Q1317816 Q832665 Q606089 Q274401 Q1775316 Q773880 Q1164847 Q2076779 Q211781 Q1192110 Q3231749 Q372103 Q837837 Q856872 Q1127539 Q1621467 Q212944 Q217191 Q188450 Q20502 Q2426383 Q209137 Q1615483 Q203775 Q221772 Q936573 Q1640319 Q2389651 Q972424 Q915152 Q752785 Q206159 Q2187392 Q876171 Q853873 Q502886 Q928825 Q910606 Q383982 Q105513 Q639197 Q3930216 Q164444 Q854844 Q22991878 Q185298 Q9759 Q646679 Q20378 Q11363 Q11366 Q487914 Q11365 Q1500364 Q241662 Q1455292 Q484641 Q2281409 Q2702280 Q377910 Q1899347 Q131425 Q877693 Q1132152 Q2551540 Q213665 Q916387 Q203720 Q825769 Q2280497 Q13627677 Q18342587 Q2238236 Q1026089 Q14390274 Q726239 Q2064394 Q1133657 Q1051843 Q213149 Q15629158 Q868855 Q932977 Q213714 Q211723 Q485395 Q370778 Q8361 Q573484 Q3071 Q3360459 Q1166726 Q27190 Q612024 Q572901 Q747717 Q63885 Q475221 Q208494 Q1929352 Q460674 Q899116 Q2265866 Q542703 Q608862 Q6188299 Q846119 Q41343 Q178145 Q1374731 Q1435509 Q1141081 Q486415 Q188994 Q185676 Q5421158 Q1190565 Q9794 Q42201 Q1754592 Q3328764 Q3840596 Q1253172 Q850412 Q284543 Q1443316 Q1166218 Q1046768 Q205560 Q1379958 Q1195253 Q438503 Q965635 Q1092837
(c(Q2088357)|c(Q2031291),P136,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q1567032
relation P136
type Q2088357
type Q2031291
[ANSWERS] can be considered as category for greater number of musical ensembles and releases than Southern soul
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?c WHERE { { ?m property:P136 ?c . ?m rdf:type ontology:Q2088357 . ?c rdf:type ontology:Q151885 } UNION { ?m property:P136 ?c . ?m rdf:type ontology:Q2031291 . ?c rdf:type ontology:Q151885 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P136 resource:Q1567032 . { { ?t rdf:type ontology:Q2088357 } UNION { ?t rdf:type ontology:Q2031291 } } } } . FILTER ( ?n > ?b ) }
mod revival Celtic fusion downtempo Pub rock operatic pop digital hardcore Street punk deathgrind electro-industrial funk metal neo-psychedelia Chicago house Canzone Napoletana thrash metal electro house garage rock J-Rock Piano rock dream pop neofolk Nu-disco deep house French rock classical music Celtic rock drone music Political hip hop Christian rock alternative R&B Christmas carol Midwest hip hop Nu jazz art punk Latin jazz blues rock New Age music Southern rock indie pop kayōkyoku big beat Latin pop anarcho-punk Surf music crossover Electro swing disco Britpop Finnish rock Tejano music Shibuya-kei pub rock doo-wop gospel music breakbeat hard bop Crossover jazz popular music Eurodance death metal cello rock Gangsta rap dub rapping Soca music pop music Rock en español neo-classical metal garage punk neo soul electronic music space rock sophisti-pop hip house boogie rock art rock progressive metal Mandopop g-funk progressive rock J-pop afrobeat New jack swing Glam punk Celtic music folk rock neo acoustic soul music avant-garde music techno intelligent dance music salsa music futurepop pop-rap nu metal indie rock Sludge metal Compas Boogie sunshine pop Powerviolence UK garage death-doom progressive folk music urban contemporary Dutch-language music instrumental rock reggaeton Palingsound Ska folk music electro hop Noise pop avant-garde jazz Norteño freak folk rock and roll world music music of Ireland German hip hop electronic dance music easy listening country music electric blues electronica Horrorcore Italo dance acoustic music dark metal power metal post-grunge children's song Afro pop music dance-punk drone metal ragtime Industrial hip hop Eurobeat Deathrock blue-eyed soul hard rock post-punk Laïko funk rock heavy metal music microhouse hip hop soul electronicore happy hardcore lo-fi music Italo disco 21st-century classical music Christian hardcore cool jazz jazz fusion beat music extreme metal dubstep comedy rock religious music Australian hip hop jazz Latin hip hop psychedelic trance hardstyle chanson experimental rock dark ambient baroque pop contemporary folk music Skate punk stoner rock doom metal electronic rock Polka smooth jazz Cowpunk post-disco vocal jazz teen pop anti-folk jazz-funk French hip hop dancehall Christian metal glam rock show tune new wave music merengue music adult contemporary music post-industrial music technical death metal rhythm and blues folk metal folk punk glam metal horror punk Europop Nederpop Roots reggae Cumbia grindcore psychedelic soul Son traditional pop music reggae fusion West Coast hip hop hardcore techno Krautrock Schlager goregrind acid house ragga Pagan metal Turbo-folk Neue Deutsche Härte dance music metalcore Electroclash chiptune Industrial rock synthpop black metal electro country rock acid rock ambient music Hi-NRG dance-pop alternative country Hardcore hip hop trance chillwave bubblegum pop Mathcore symphonic rock coldwave industrial music comedy hip hop shoegazing Latin American music Rock in Opposition melodic death metal avant-garde metal Quiet storm samba hip hop noise rock bossa nova rock music emo hardcore punk No Wave freestyle music indie folk Hard trance skiffle Oi! Progg bitpop dansband Bubblegum dance free jazz C-pop post-Britpop electronic body music power pop rap metal Delta blues symphonic black metal klezmer soft rock electropop house music crunkcore post-rock soul jazz swing music acid jazz Crunk experimental music children's music old-time music progressive house music Calypso music psychedelic rock alternative dance East Coast hip hop Cantopop Madchester Garage house Music of Brittany psychedelic pop bebop instrumental rapcore funk Bhangra chamber pop a cappella blues Neue Deutsche Welle alternative metal screamo alternative rock pop punk grunge Psychedelic folk groove metal French house pop rock dance-rock Italo house post-hardcore post-punk revival visual kei rap rock math rock Punk blues K-pop exotica rockabilly Crust punk country pop psychobilly tropical house Christian hip hop Cajun music tango noise music Worldbeat traditional heavy metal neo-progressive rock Viking metal Medieval metal old-school hip hop Crossover thrash bluegrass music speed metal gothic rock twee pop Baroque music rocksteady punk rock Pagode grime protopunk contemporary classical music minimal music heartland rock Christian punk deathcore industrial metal roots rock Ska punk Neoclassical Dark Wave brutal death metal melodic hardcore anison Jesus music psychedelic music post-metal gothic metal Euro disco folktronica lounge music symphonic metal drum and bass Fado experimental hip hop jangle pop reggae independent music nerdcore Thai pop music dark wave Southern hip hop contemporary R&B ethereal wave Christmas music Dark rock Música Popular Brasileira trip hop contemporary Christian music Sea shanty alternative hip hop Underground hip hop post-bop
Shibuya-kei, neo acoustic and chanson can be considered as category for greater number of musical ensembles and releases than Southern soul
Shibuya-kei neo acoustic chanson
action greater
action union
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
action find_reverse_tuple_counts
relation genre
type concept
type release
action count
action filter_multi_types
action find_reverse
entity Southern soul
relation genre
type musical ensemble
type release
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?c WHERE { { ?m property:genre ?c . ?m rdf:type ontology:musical_ensemble . ?c rdf:type ontology:concept } UNION { ?m property:genre ?c . ?m rdf:type ontology:release . ?c rdf:type ontology:concept } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:genre resource:Southern_soul . { { ?t rdf:type ontology:musical_ensemble } UNION { ?t rdf:type ontology:release } } } } . FILTER ( ?n > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8341
P136
Q151885 Q2088357 Q2031291
USER
And what about jazz?
(c(Q2088357)|c(Q2031291),P136,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q8341
relation P136
type Q2088357
type Q2031291
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P136 resource:Q8341 . { { ?g rdf:type ontology:Q2031291 } UNION { ?g rdf:type ontology:Q2088357 } } } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2088357 ) ( ontology:Q2031291 ) } } GROUP BY ?j } }
jazz
action greater
action union
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
action find_reverse_tuple_counts
relation genre
type concept
type release
action count
action filter_multi_types
action find_reverse
entity jazz
relation genre
type musical ensemble
type release
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:genre resource:jazz . { { ?g rdf:type ontology:release } UNION { ?g rdf:type ontology:musical_ensemble } } } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:musical_ensemble ) ( ontology:release ) } } GROUP BY ?j } }
[]
concept musical ensemble release
Q3071 Q37073 Q131578
SYSTEM
punk rock, pop music, J-pop
Q37073 Q131578 Q11399 Q11366 Q3071
(c(Q2088357)|c(Q2031291),P136,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q8341
relation P136
type Q2088357
type Q2031291
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P136 resource:Q8341 . { { ?g rdf:type ontology:Q2031291 } UNION { ?g rdf:type ontology:Q2088357 } } } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2088357 ) ( ontology:Q2031291 ) } } GROUP BY ?j } }
pop music J-pop rock music alternative rock punk rock
punk rock pop music J-pop
action greater
action union
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
action find_reverse_tuple_counts
relation genre
type concept
type release
action count
action filter_multi_types
action find_reverse
entity jazz
relation genre
type musical ensemble
type release
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:genre resource:jazz . { { ?g rdf:type ontology:release } UNION { ?g rdf:type ontology:musical_ensemble } } } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:musical_ensemble ) ( ontology:release ) } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7845452 Q18233391
P106
Q12737077
USER
Which occupations are the professions of Hitsuji Suzuki or Trond Kjøll ?
OR((Q18233391,P106,c(Q12737077)), (Q7845452,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18233391
relation P106
action find
entity Q7845452
relation P106
type Q12737077
{'OR': [['Q18233391', 'P106', {'concept': 'Q12737077'}], ['Q7845452', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . { { resource:Q18233391 property:P106 ?j } UNION { resource:Q7845452 property:P106 ?j } } }
Trond Kjøll Hitsuji Suzuki
action filter_type
action union
action find
entity Hitsuji Suzuki
relation occupation
action find
entity Trond Kjøll
relation occupation
type occupation
{'OR': [['Hitsuji Suzuki', 'occupation', {'concept': 'occupation'}], ['Trond Kjøll', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . { { resource:Hitsuji_Suzuki property:occupation ?j } UNION { resource:Trond_Kjøll property:occupation ?j } } }
[]
occupation
Q488205 Q17486376 Q183945 Q36834 Q177220
SYSTEM
singer-songwriter, sport shooter, record producer, composer, singer
Q488205 Q17486376 Q183945 Q36834 Q177220
OR((Q18233391,P106,c(Q12737077)), (Q7845452,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18233391
relation P106
action find
entity Q7845452
relation P106
type Q12737077
The [ANSWERS] are the professions of Hitsuji Suzuki or Trond Kjøll
{'OR': [['Q18233391', 'P106', {'concept': 'Q12737077'}], ['Q7845452', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . { { resource:Q18233391 property:P106 ?j } UNION { resource:Q7845452 property:P106 ?j } } }
singer-songwriter sport shooter record producer composer singer
The singer-songwriter, sport shooter, record producer, composer and singer are the professions of Hitsuji Suzuki or Trond Kjøll
singer-songwriter sport shooter record producer composer singer
action filter_type
action union
action find
entity Hitsuji Suzuki
relation occupation
action find
entity Trond Kjøll
relation occupation
type occupation
{'OR': [['Hitsuji Suzuki', 'occupation', {'concept': 'occupation'}], ['Trond Kjøll', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . { { resource:Hitsuji_Suzuki property:occupation ?j } UNION { resource:Trond_Kjøll property:occupation ?j } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q895526 Q1190554 Q151885
USER
How many concepts are a part of exactly 1 authority organs and events ?
(c(Q151885),P361,c(Q895526)|c(Q1190554))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q151885
type Q895526
action find_tuple_counts
relation P361
type Q151885
type Q1190554
value 1
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?o WHERE { { ?o rdf:type ontology:Q151885 . ?c rdf:type ontology:Q895526 . ?o property:P361 ?c } UNION { ?o property:P361 ?c . ?c rdf:type ontology:Q1190554 . ?o rdf:type ontology:Q151885 } } GROUP BY ?o } . FILTER ( ?r = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation part of
type concept
type authority organ
action find_tuple_counts
relation part of
type concept
type event
value 1
[{'concept': 'concept'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?o WHERE { { ?o rdf:type ontology:concept . ?c rdf:type ontology:authority_organ . ?o property:part_of ?c } UNION { ?o property:part_of ?c . ?c rdf:type ontology:event . ?o rdf:type ontology:concept } } GROUP BY ?o } . FILTER ( ?r = 1 ) }
[]
authority organ event concept
SYSTEM
3
Q896395 Q7398540 Q792542
(c(Q151885),P361,c(Q895526)|c(Q1190554))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q151885
type Q895526
action find_tuple_counts
relation P361
type Q151885
type Q1190554
value 1
[ANSWER]
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?o WHERE { { ?o rdf:type ontology:Q151885 . ?c rdf:type ontology:Q895526 . ?o property:P361 ?c } UNION { ?o property:P361 ?c . ?c rdf:type ontology:Q1190554 . ?o rdf:type ontology:Q151885 } } GROUP BY ?o } . FILTER ( ?r = 1 ) }
Jugendamt (Germany) safe mode axiomatic system
3
action count
action equal
action union
action find_tuple_counts
relation part of
type concept
type authority organ
action find_tuple_counts
relation part of
type concept
type event
value 1
[{'concept': 'concept'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?o WHERE { { ?o rdf:type ontology:concept . ?c rdf:type ontology:authority_organ . ?o property:part_of ?c } UNION { ?o property:part_of ?c . ?c rdf:type ontology:event . ?o rdf:type ontology:concept } } GROUP BY ?o } . FILTER ( ?r = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13626156
P138
Q151885
USER
Which concept is Ackermann named after ?
(Q13626156,P138,c(Q151885))
action filter_type
action find
entity Q13626156
relation P138
type Q151885
['Q13626156', 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q13626156 property:P138 ?e . ?e rdf:type ontology:Q151885 }
Ackermann
action filter_type
action find
entity Ackermann
relation named after
type concept
['Ackermann', 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Ackermann property:named_after ?e . ?e rdf:type ontology:concept }
[]
concept
Q8441
SYSTEM
man
Q8441
(Q13626156,P138,c(Q151885))
action filter_type
action find
entity Q13626156
relation P138
type Q151885
Acker[ANSWER]n is named a [ANSWER]
['Q13626156', 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q13626156 property:P138 ?e . ?e rdf:type ontology:Q151885 }
man
Ackermann is named a man
man
action filter_type
action find
entity Ackermann
relation named after
type concept
['Ackermann', 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Ackermann property:named_after ?e . ?e rdf:type ontology:concept }
[]