Simple Question (Direct)
Simple Question
Q976331
P136
Q151885
USER
What can be considered as category for Randy Castillo ?
(Q976331,P136,c(Q151885))
action filter_type
action find
entity Q976331
relation P136
type Q151885
['Q976331', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q976331 property:P136 ?b }
Randy Castillo
action filter_type
action find
entity Randy Castillo
relation genre
type concept
['Randy Castillo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Randy_Castillo property:genre ?b }
[]
concept
Q38848
SYSTEM
heavy metal music
Q38848
(Q976331,P136,c(Q151885))
action filter_type
action find
entity Q976331
relation P136
type Q151885
Be [ANSWER] can be considered as category for Randy Castillo
['Q976331', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q976331 property:P136 ?b }
heavy metal music
Be heavy metal music can be considered as category for Randy Castillo
heavy metal music
action filter_type
action find
entity Randy Castillo
relation genre
type concept
['Randy Castillo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Randy_Castillo property:genre ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q976331
P21
Q290
USER
Which sex does Randy Castillo have ?
(Q976331,P21,c(Q290))
action filter_type
action find
entity Q976331
relation P21
type Q290
['Q976331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q976331 property:P21 ?l . ?l rdf:type ontology:Q290 }
Randy Castillo
action filter_type
action find
entity Randy Castillo
relation gender
type sex
['Randy Castillo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Randy_Castillo property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q976331,P21,c(Q290))
action filter_type
action find
entity Q976331
relation P21
type Q290
Randy Castillo has a [ANSWER]
['Q976331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q976331 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Randy Castillo has a male
male
action filter_type
action find
entity Randy Castillo
relation gender
type sex
['Randy Castillo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Randy_Castillo property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11912028
Q290
USER
And what about Vladislav Nehasil?
(Q11912028,P21,c(Q290))
action filter_type
action find
entity Q11912028
relation P21
type Q290
['Q11912028', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11912028 property:P21 ?x . ?x rdf:type ontology:Q290 }
Vladislav Nehasil
action filter_type
action find
entity Vladislav Nehasil
relation gender
type sex
['Vladislav Nehasil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Vladislav_Nehasil property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11912028,P21,c(Q290))
action filter_type
action find
entity Q11912028
relation P21
type Q290
[ANSWER]
['Q11912028', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11912028 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Vladislav Nehasil
relation gender
type sex
['Vladislav Nehasil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Vladislav_Nehasil property:gender ?x . ?x rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q151885 Q17335294 Q18783400
USER
Which concepts are demonstrated in min number of coats of arms and genres of sculpture ?
(c(Q17335294)|c(Q18783400),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q151885
type Q18783400
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:P180 ?u . ?u rdf:type ontology:Q151885 . ?p rdf:type ontology:Q18783400 } UNION { ?p property:P180 ?u . ?u rdf:type ontology:Q151885 . ?p rdf:type ontology:Q17335294 } } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P180 ?k . ?k rdf:type ontology:Q151885 . ?r rdf:type ontology:Q17335294 } UNION { ?r property:P180 ?k . ?k rdf:type ontology:Q151885 . ?r rdf:type ontology:Q18783400 } } GROUP BY ?k } . FILTER ( ?v = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type concept
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:depicts ?u . ?u rdf:type ontology:concept . ?p rdf:type ontology:genre_of_sculpture } UNION { ?p property:depicts ?u . ?u rdf:type ontology:concept . ?p rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:depicts ?k . ?k rdf:type ontology:concept . ?r rdf:type ontology:flag_or_coat_of_arms } UNION { ?r property:depicts ?k . ?k rdf:type ontology:concept . ?r rdf:type ontology:genre_of_sculpture } } GROUP BY ?k } . FILTER ( ?v = ?w ) }
[]
concept flag or coat of arms genre of sculpture
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q877674 Q6388 Q203872 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q17335294)|c(Q18783400),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q151885
type Q18783400
[ANSWERS] are demonstrated in min number of coats of arms and genres of sculpture
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:P180 ?u . ?u rdf:type ontology:Q151885 . ?p rdf:type ontology:Q18783400 } UNION { ?p property:P180 ?u . ?u rdf:type ontology:Q151885 . ?p rdf:type ontology:Q17335294 } } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P180 ?k . ?k rdf:type ontology:Q151885 . ?r rdf:type ontology:Q17335294 } UNION { ?r property:P180 ?k . ?k rdf:type ontology:Q151885 . ?r rdf:type ontology:Q18783400 } } GROUP BY ?k } . FILTER ( ?v = ?w ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky touch human swimming being pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are demonstrated in min number of coats of arms and genres of sculpture
philosopher murderer fortune-teller
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type concept
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:depicts ?u . ?u rdf:type ontology:concept . ?p rdf:type ontology:genre_of_sculpture } UNION { ?p property:depicts ?u . ?u rdf:type ontology:concept . ?p rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?u } } . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:depicts ?k . ?k rdf:type ontology:concept . ?r rdf:type ontology:flag_or_coat_of_arms } UNION { ?r property:depicts ?k . ?k rdf:type ontology:concept . ?r rdf:type ontology:genre_of_sculpture } } GROUP BY ?k } . FILTER ( ?v = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q107425 Q82794 Q151885
USER
Which concepts have their location as atleast 1 landscapes or geographic regions ?
(c(Q151885),P706,c(Q107425)|c(Q82794))
action atleast
action union
action find_tuple_counts
relation P706
type Q151885
type Q107425
action find_tuple_counts
relation P706
type Q151885
type Q82794
value 1
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?i WHERE { { ?u rdf:type ontology:Q107425 . ?i rdf:type ontology:Q151885 . ?i property:P706 ?u } UNION { ?u rdf:type ontology:Q82794 . ?i rdf:type ontology:Q151885 . ?i property:P706 ?u } } GROUP BY ?i } . FILTER ( ?v >= 1 ) }
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?i WHERE { { ?u rdf:type ontology:landscape . ?i rdf:type ontology:concept . ?i property:located_on_terrain_feature ?u } UNION { ?u rdf:type ontology:geographic_region . ?i rdf:type ontology:concept . ?i property:located_on_terrain_feature ?u } } GROUP BY ?i } . FILTER ( ?v >= 1 ) }
[]
landscape geographic region concept
Q1807594 Q1054850 Q2556093
SYSTEM
Luco-Meluno culture, Bactria–Margiana Archaeological Complex, Gumelniţa–Karanovo culture
Q1807594 Q245156 Q2619651 Q1054850 Q1229136 Q2556093 Q1369777
(c(Q151885),P706,c(Q107425)|c(Q82794))
action atleast
action union
action find_tuple_counts
relation P706
type Q151885
type Q107425
action find_tuple_counts
relation P706
type Q151885
type Q82794
value 1
[ANSWERS] have their location as atleast 1 landscapes or geographic regions
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?i WHERE { { ?u rdf:type ontology:Q107425 . ?i rdf:type ontology:Q151885 . ?i property:P706 ?u } UNION { ?u rdf:type ontology:Q82794 . ?i rdf:type ontology:Q151885 . ?i property:P706 ?u } } GROUP BY ?i } . FILTER ( ?v >= 1 ) }
Luco-Meluno culture Ubaid period Asbestos-ceramic Bactria–Margiana Archaeological Complex Grooved ware Gumelniţa–Karanovo culture Este culture
Luco-Meluno culture, Bactria–Margiana Archaeological Complex and Gumelniţa–Karanovo culture have their location as atleast 1 landscapes or geographic regions
Luco-Meluno culture Bactria–Margiana Archaeological Complex Gumelniţa–Karanovo culture
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?i WHERE { { ?u rdf:type ontology:landscape . ?i rdf:type ontology:concept . ?i property:located_on_terrain_feature ?u } UNION { ?u rdf:type ontology:geographic_region . ?i rdf:type ontology:concept . ?i property:located_on_terrain_feature ?u } } GROUP BY ?i } . FILTER ( ?v >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P136
Q151885 Q2031291 Q2342494
USER
Which concepts can be considered as category for min number of releases or collectables ?
(c(Q2031291)|c(Q2342494),P136,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2342494
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) ?u WHERE { { ?b property:P136 ?u . ?u rdf:type ontology:Q151885 . ?b rdf:type ontology:Q2031291 } UNION { ?b property:P136 ?u . ?u rdf:type ontology:Q151885 . ?b rdf:type ontology:Q2342494 } } GROUP BY ?u } . FILTER ( ?m = ?a ) }
action argmin
action union
action find_reverse_tuple_counts
relation genre
type concept
type release
action find_reverse_tuple_counts
relation genre
type concept
type collectable
[[{'concept': 'release'}, {'concept': 'collectable'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:release ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) ?u WHERE { { ?b property:genre ?u . ?u rdf:type ontology:concept . ?b rdf:type ontology:release } UNION { ?b property:genre ?u . ?u rdf:type ontology:concept . ?b rdf:type ontology:collectable } } GROUP BY ?u } . FILTER ( ?m = ?a ) }
[]
concept release collectable
Q2406900 Q1636684 Q935586
SYSTEM
Twoubadou, yé-yé, Liturgical music
Q26384 Q6496560 Q2243831 Q1798870 Q196999 Q20987668 Q16986699 Q2881236 Q3709211 Q383615 Q10846275 Q227045 Q16820420 Q512410 Q2097664 Q935586 Q1033912 Q4045538 Q4901492 Q896513 Q757143 Q16837290 Q4056436 Q11319210 Q396077 Q5569994 Q1928583 Q11700058 Q325397 Q1636684 Q783097 Q373982 Q2082572 Q447962 Q16096634 Q7405759 Q2337447 Q526463 Q2296495 Q220528 Q3328590 Q3868787 Q1323698 Q1470503 Q727634 Q590662 Q3422697 Q1076539 Q1891685 Q2607836 Q5177472 Q7972788 Q2710523 Q1784032 Q497957 Q1182371 Q1371364 Q1090048 Q16148439 Q1273641 Q1537056 Q848457 Q252833 Q1541229 Q202925 Q500879 Q2726026 Q20903 Q7050752 Q4942839 Q1784106 Q2736181 Q4975996 Q860196 Q19678115 Q2374619 Q18533602 Q212024 Q1585015 Q5332963 Q16977816 Q1780056 Q963061 Q2932658 Q290869 Q2302695 Q3321920 Q1627155 Q989478 Q2956468 Q1166197 Q4949812 Q1078286 Q1433387 Q1939197 Q1661583 Q2864671 Q22589194 Q1164252 Q1507298 Q40461 Q2045695 Q3575673 Q245296 Q2607454 Q21092 Q1913888 Q3410876 Q820049 Q1646666 Q7142141 Q3048168 Q212952 Q1574985 Q1455487 Q4848738 Q153071 Q6496549 Q217295 Q1242484 Q892958 Q1872505 Q6658771 Q371745 Q26473 Q1661924 Q1185390 Q25116 Q1752683 Q1113204 Q18217098 Q844245 Q943929 Q723418 Q7295057 Q19832746 Q5393053 Q4428744 Q4841596 Q13436880 Q18358879 Q214917 Q1147692 Q2532560 Q724755 Q2798694 Q16821210 Q181897 Q7042753 Q370515 Q1564596 Q255189 Q16056349 Q674684 Q2406900 Q616679 Q1166321 Q5099460 Q1437709 Q1162475 Q4875789 Q1060475 Q6410606 Q199415 Q1027999 Q2961759 Q18204859 Q2891921 Q20021059 Q585588 Q606089 Q469343 Q3090876 Q2076779 Q3111428 Q1151260 Q16011708 Q2324411 Q2346991 Q464129 Q4846346 Q19938910 Q17053024 Q446241 Q212944 Q1730388 Q2426383 Q534606 Q972424 Q40953 Q16855754 Q302401 Q7397641 Q7005181 Q2568406 Q3724735 Q1399695 Q1076513 Q5515214 Q7541571 Q7122786 Q15957030 Q1455292 Q2702280 Q1262781 Q4736555 Q11660484 Q825769 Q3091180 Q1026089 Q15629158 Q180910 Q5510816 Q9095433 Q1078010 Q1982973 Q370778 Q8361 Q7067688 Q2109360 Q3360459 Q1756101 Q1262697 Q599510 Q515074 Q63885 Q1538765 Q2265866 Q211025 Q2697917 Q1890098 Q3069904 Q2961766 Q2961763 Q1141081 Q15830404 Q673661 Q185676 Q3307225 Q5583956 Q3328764 Q6661 Q2624785 Q1515757 Q283405 Q1840167 Q2420447 Q1195253 Q1995569 Q4852979 Q956883
(c(Q2031291)|c(Q2342494),P136,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2342494
[ANSWERS] can be considered as category for min number of releases or collectables
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) ?u WHERE { { ?b property:P136 ?u . ?u rdf:type ontology:Q151885 . ?b rdf:type ontology:Q2031291 } UNION { ?b property:P136 ?u . ?u rdf:type ontology:Q151885 . ?b rdf:type ontology:Q2342494 } } GROUP BY ?u } . FILTER ( ?m = ?a ) }
do it yourself Latin ballad writing style pagan folk music Zeuhl Armenian Folk Music Cha-cha-cha Ballet d'action Dirty rap Street punk Akiba-pop Zouk American march music Qawwali Indorock Liturgical music Hard dance Nu-disco Bhavageete Hamburger Schule Chill-out music Balearic trance Bard technopop agrarian history Baião Northern soul pop-folk indietronica yé-yé college rock Logobi liquid funk Swing revival kawaii metal Salsa dura Meditation music Detroit techno garage punk Rebetiko French Baroque music muziki wa dansi Indian classical music Semba Ranchera Bend-skin Red Dirt choro Russian chanson Freakbeat Country and Irish Wassoulou music Ragga jungle Viking rock Nueva trova Deep Funk ethno jazz Chutney music Gaelic music Punk pathetique Light music Speedcore Volksmusik American folk music tribal house Reggae en Español Compas Brostep Nordic folk music Boogie Powerviolence Punk jazz Brown-eyed soul Bikutsi Time Lord rock UK hardcore black contemporary Negro spiritual UK hard house Eclecticism in music Moroccan pop Norteño Highlife Cadence-lypso Son montuno Tech trance Flamenco rumba Honky-tonk sensitive style Chaoui music dark metal Bounce music military band drone metal Türkü Percussion lyrical art glitch hop Deathrock lo-fi music bachata shock rock Zoblazo Zydeco Christian hardcore moombahton Power noise Punta rock mainstream hardcore mambo Pasillo Mákina boogie-woogie vallenato Frenchcore Baithak Gana Polka Latin soul mass Doomcore Boogaloo Lovers rock Livetronica Timba Gregorian chant industrial dance disco polo Argentine tango Soukous Dub poetry New Mexico music Gypsy jazz folk song Cumbia Rasin nerd punk Filin Son Baggy Funk carioca Outsider house playwright goregrind Djent Early hardcore Marabi Japanese jazz stride No-Fi New Wave of British Heavy Metal Taarab paraphrase Indian rock Sevdalinka Twoubadou Mathcore Darkstep Chimurenga music Canción Nóta Beach music Chamamé Kindie rock Ziglibithy Vocal trance Moroccan chaabi Igbo rap Batuque Future house Khaliji skiffle British hip hop Funaná Bubblegum dance gospel blues D-beat Swamp pop geek rock Bass music Mariachi Bassline synthWave Folkhop Neo-Medieval music klezmer Western swing crunkcore Swamp blues old-time music prayer Blackgaze Punkabilly sadcore New Acoustic Music Postmodern music Emo pop Chicano rap choral music Gaana Slovak folk music Pacific reggae Electro French house Italo house Dub techno Alternative reggaeton denpa song Crust punk Shashmaqam Cajun music Medieval metal leisure Future garage Waka music martial industrial New wave of new wave twee pop Baroque music Nu-funk Danza Pagode nu skool breaks Mento romance Louisiana blues Christian punk Gothabilly brutal death metal march go-go New Beat Porro Algerian chaabi chaabi lounge music Bolero (music) abstraction Fado progressive bluegrass Goombay Thai pop music French cuisine Russian rock jump blues Punta Witch house trova Sea shanty thrashcore Baltimore club Carnatic music
Twoubadou, yé-yé and Liturgical music can be considered as category for min number of releases or collectables
Twoubadou yé-yé Liturgical music
action argmin
action union
action find_reverse_tuple_counts
relation genre
type concept
type release
action find_reverse_tuple_counts
relation genre
type concept
type collectable
[[{'concept': 'release'}, {'concept': 'collectable'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?i WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:release ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) ?u WHERE { { ?b property:genre ?u . ?u rdf:type ontology:concept . ?b rdf:type ontology:release } UNION { ?b property:genre ?u . ?u rdf:type ontology:concept . ?b rdf:type ontology:collectable } } GROUP BY ?u } . FILTER ( ?m = ?a ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2406900
P870
Q2424752
USER
Which product is the instrumentation used in that concept ?
(Q2406900,P870,c(Q2424752))
action filter_type
action find
entity Q2406900
relation P870
type Q2424752
['Q2406900', 'P870', {'concept': 'Q2424752'}]
SELECT DISTINCT ?v WHERE { resource:Q2406900 property:P870 ?v . ?v rdf:type ontology:Q2424752 }
Twoubadou
action filter_type
action find
entity Twoubadou
relation instrumentation
type product
['Twoubadou', 'instrumentation', {'concept': 'product'}]
SELECT DISTINCT ?v WHERE { resource:Twoubadou property:instrumentation ?v . ?v rdf:type ontology:product }
[]
product
Clarification for simple ques.
Q2406900
SYSTEM
Did you mean Twoubadou ?
Q2406900 Q1636684 Q935586
(Q2406900,P870,c(Q2424752)) (Q1636684,P870,c(Q2424752)) (Q935586,P870,c(Q2424752))
[ANSWER]
['Q2406900', 'P870', {'concept': 'Q2424752'}] ['Q1636684', 'P870', {'concept': 'Q2424752'}] ['Q935586', 'P870', {'concept': 'Q2424752'}]
SELECT DISTINCT ?v WHERE { resource:Q2406900 property:P870 ?v . ?v rdf:type ontology:Q2424752 }
Twoubadou yé-yé Liturgical music
Did you mean Twoubadou ?
Twoubadou
['Twoubadou', 'instrumentation', {'concept': 'product'}] ['yé-yé', 'instrumentation', {'concept': 'product'}] ['Liturgical music', 'instrumentation', {'concept': 'product'}]
SELECT DISTINCT ?v WHERE { resource:Twoubadou property:instrumentation ?v . ?v rdf:type ontology:product }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2406900,P870,c(Q2424752))
['Q2406900', 'P870', {'concept': 'Q2424752'}]
['Twoubadou', 'instrumentation', {'concept': 'product'}]
[]
Q17084554
SYSTEM
Tanbou
Q17084554
(Q2406900,P870,c(Q2424752))
action filter_type
action find
entity Q2406900
relation P870
type Q2424752
[ANSWER] is the instrumentation used in that concept
['Q2406900', 'P870', {'concept': 'Q2424752'}]
SELECT DISTINCT ?v WHERE { resource:Q2406900 property:P870 ?v . ?v rdf:type ontology:Q2424752 }
Tanbou
Tanbou is the instrumentation used in that concept
Tanbou
action filter_type
action find
entity Twoubadou
relation instrumentation
type product
['Twoubadou', 'instrumentation', {'concept': 'product'}]
SELECT DISTINCT ?v WHERE { resource:Twoubadou property:instrumentation ?v . ?v rdf:type ontology:product }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1369403
P636
Q151885 Q79529 Q8386
USER
How many concepts are the routes of administration of greater number of chemical substances and drugs than intravenous injection ?
(c(Q79529)|c(Q8386),P636,c(Q151885))
action count
action greater
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
action count
action filter_multi_types
action find_reverse
entity Q1369403
relation P636
type Q79529
type Q8386
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u rdf:type ontology:Q151885 . ?x rdf:type ontology:Q79529 . ?x property:P636 ?u } UNION { ?x property:P636 ?u . ?u rdf:type ontology:Q151885 . ?x rdf:type ontology:Q8386 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P636 resource:Q1369403 . { { ?b rdf:type ontology:Q8386 } UNION { ?b rdf:type ontology:Q79529 } } } } . FILTER ( ?f > ?r ) }
intravenous injection
action count
action greater
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
action count
action filter_multi_types
action find_reverse
entity intravenous injection
relation route of administration
type chemical substance
type drug
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u rdf:type ontology:concept . ?x rdf:type ontology:chemical_substance . ?x property:route_of_administration ?u } UNION { ?x property:route_of_administration ?u . ?u rdf:type ontology:concept . ?x rdf:type ontology:drug } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:route_of_administration resource:intravenous_injection . { { ?b rdf:type ontology:drug } UNION { ?b rdf:type ontology:chemical_substance } } } } . FILTER ( ?f > ?r ) }
[]
concept chemical substance drug
SYSTEM
4
Q419892 Q420054 Q640448 Q285166
(c(Q79529)|c(Q8386),P636,c(Q151885))
action count
action greater
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
action count
action filter_multi_types
action find_reverse
entity Q1369403
relation P636
type Q79529
type Q8386
[ANSWER]
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u rdf:type ontology:Q151885 . ?x rdf:type ontology:Q79529 . ?x property:P636 ?u } UNION { ?x property:P636 ?u . ?u rdf:type ontology:Q151885 . ?x rdf:type ontology:Q8386 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P636 resource:Q1369403 . { { ?b rdf:type ontology:Q8386 } UNION { ?b rdf:type ontology:Q79529 } } } } . FILTER ( ?f > ?r ) }
rectal topical medication intravenous infusion oral administration
4
action count
action greater
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
action count
action filter_multi_types
action find_reverse
entity intravenous injection
relation route of administration
type chemical substance
type drug
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u rdf:type ontology:concept . ?x rdf:type ontology:chemical_substance . ?x property:route_of_administration ?u } UNION { ?x property:route_of_administration ?u . ?u rdf:type ontology:concept . ?x rdf:type ontology:drug } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:route_of_administration resource:intravenous_injection . { { ?b rdf:type ontology:drug } UNION { ?b rdf:type ontology:chemical_substance } } } } . FILTER ( ?f > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1663054
P636
Q151885 Q79529 Q8386
USER
And also tell me about ingestion?
(c(Q79529)|c(Q8386),P636,c(Q151885))
action count
action greater
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
action count
action filter_multi_types
action find_reverse
entity Q1663054
relation P636
type Q79529
type Q8386
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { VALUES ( ?p ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } . ?r rdf:type ?p } . ?r property:P636 resource:Q1663054 } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { { ?h rdf:type ontology:Q151885 . ?x rdf:type ontology:Q79529 . ?x property:P636 ?h } UNION { ?x property:P636 ?h . ?h rdf:type ontology:Q151885 . ?x rdf:type ontology:Q8386 } } GROUP BY ?h } }
ingestion
action count
action greater
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
action count
action filter_multi_types
action find_reverse
entity ingestion
relation route of administration
type chemical substance
type drug
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { VALUES ( ?p ) { ( ontology:chemical_substance ) ( ontology:drug ) } . ?r rdf:type ?p } . ?r property:route_of_administration resource:ingestion } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { { ?h rdf:type ontology:concept . ?x rdf:type ontology:chemical_substance . ?x property:route_of_administration ?h } UNION { ?x property:route_of_administration ?h . ?h rdf:type ontology:concept . ?x rdf:type ontology:drug } } GROUP BY ?h } }
[]
concept chemical substance drug
SYSTEM
9
Q419892 Q420054 Q640448 Q7833952 Q1369403 Q285166 Q16920397 Q16861468 Q784720
(c(Q79529)|c(Q8386),P636,c(Q151885))
action count
action greater
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
action count
action filter_multi_types
action find_reverse
entity Q1663054
relation P636
type Q79529
type Q8386
[ANSWER]
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { VALUES ( ?p ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } . ?r rdf:type ?p } . ?r property:P636 resource:Q1663054 } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { { ?h rdf:type ontology:Q151885 . ?x rdf:type ontology:Q79529 . ?x property:P636 ?h } UNION { ?x property:P636 ?h . ?h rdf:type ontology:Q151885 . ?x rdf:type ontology:Q8386 } } GROUP BY ?h } }
rectal topical medication intravenous infusion transdermal intravenous injection oral administration conjunctival intra-arterial infusion sublingual administration
9
action count
action greater
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
action count
action filter_multi_types
action find_reverse
entity ingestion
relation route of administration
type chemical substance
type drug
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { VALUES ( ?p ) { ( ontology:chemical_substance ) ( ontology:drug ) } . ?r rdf:type ?p } . ?r property:route_of_administration resource:ingestion } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { { ?h rdf:type ontology:concept . ?x rdf:type ontology:chemical_substance . ?x property:route_of_administration ?h } UNION { ?x property:route_of_administration ?h . ?h rdf:type ontology:concept . ?x rdf:type ontology:drug } } GROUP BY ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P516
Q2576663 Q2424752
USER
Which engine configurations are used to power atleast 1 product ?
(c(Q2424752),P516,c(Q2576663))
action atleast
action find_reverse_tuple_counts
relation P516
type Q2576663
type Q2424752
value 1
[{'concept': 'Q2424752'}, 'P516', {'concept': 'Q2576663'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P516 ?l . ?l rdf:type ontology:Q2576663 . ?i rdf:type ontology:Q2424752 } GROUP BY ?l } . FILTER ( ?j >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation powerplant
type engine configuration
type product
value 1
[{'concept': 'product'}, 'powerplant', {'concept': 'engine configuration'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:powerplant ?l . ?l rdf:type ontology:engine_configuration . ?i rdf:type ontology:product } GROUP BY ?l } . FILTER ( ?j >= 1 ) }
[]
engine configuration product
Q3901862 Q1424847
SYSTEM
Piaggio P.XI, Hirth HM 508
Q3901862 Q1424847
(c(Q2424752),P516,c(Q2576663))
action atleast
action find_reverse_tuple_counts
relation P516
type Q2576663
type Q2424752
value 1
[ANSWERS] are used to power atleast 1 product
[{'concept': 'Q2424752'}, 'P516', {'concept': 'Q2576663'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P516 ?l . ?l rdf:type ontology:Q2576663 . ?i rdf:type ontology:Q2424752 } GROUP BY ?l } . FILTER ( ?j >= 1 ) }
Piaggio P.XI Hirth HM 508
Piaggio P.XI and Hirth HM 508 are used to power atleast 1 product
Piaggio P.XI Hirth HM 508
action atleast
action find_reverse_tuple_counts
relation powerplant
type engine configuration
type product
value 1
[{'concept': 'product'}, 'powerplant', {'concept': 'engine configuration'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:powerplant ?l . ?l rdf:type ontology:engine_configuration . ?i rdf:type ontology:product } GROUP BY ?l } . FILTER ( ?j >= 1 ) }
[]