Simple Question (Direct)
Simple Question
Q2150539
P27
Q1048835
USER
Which political territory does Richard C. Schneider belong to ?
(Q2150539,P27,c(Q1048835))
action filter_type
action find
entity Q2150539
relation P27
type Q1048835
['Q2150539', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q2150539 property:P27 ?j }
Richard C. Schneider
action filter_type
action find
entity Richard C. Schneider
relation country of citizenship
type political territorial entity
['Richard C. Schneider', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Richard_C._Schneider property:country_of_citizenship ?j }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2150539,P27,c(Q1048835))
action filter_type
action find
entity Q2150539
relation P27
type Q1048835
[ANSWER] does Richard C. Schneider belong to
['Q2150539', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q2150539 property:P27 ?j }
Germany
Germany does Richard C. Schneider belong to
Germany
action filter_type
action find
entity Richard C. Schneider
relation country of citizenship
type political territorial entity
['Richard C. Schneider', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Richard_C._Schneider property:country_of_citizenship ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2150539
P106
Q151885
USER
Which concept is the profession of Richard C. Schneider ?
(Q2150539,P106,c(Q151885))
action filter_type
action find
entity Q2150539
relation P106
type Q151885
['Q2150539', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q2150539 property:P106 ?u . ?u rdf:type ontology:Q151885 }
Richard C. Schneider
action filter_type
action find
entity Richard C. Schneider
relation occupation
type concept
['Richard C. Schneider', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Richard_C._Schneider property:occupation ?u . ?u rdf:type ontology:concept }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q2150539,P106,c(Q151885))
action filter_type
action find
entity Q2150539
relation P106
type Q151885
The [ANSWER] is the profession of Richard C. Schneider
['Q2150539', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q2150539 property:P106 ?u . ?u rdf:type ontology:Q151885 }
author
The author is the profession of Richard C. Schneider
author
action filter_type
action find
entity Richard C. Schneider
relation occupation
type concept
['Richard C. Schneider', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Richard_C._Schneider property:occupation ?u . ?u rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2150539
P734
Q82799
USER
Who has the surname that person ?
(Q482980,P734,c(Q82799))
action filter_type
action find
entity Q2150539
relation P734
type Q82799
['Q482980', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q2150539 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Richard C. Schneider
action filter_type
action find
entity Richard C. Schneider
relation family name
type name
['author', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Richard_C._Schneider property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q11703653
SYSTEM
Schneider
Q11703653
(Q482980,P734,c(Q82799))
action filter_type
action find
entity Q2150539
relation P734
type Q82799
[ANSWER] has the surname that person
['Q482980', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q2150539 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Schneider
Schneider has the surname that person
Schneider
action filter_type
action find
entity Richard C. Schneider
relation family name
type name
['author', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Richard_C._Schneider property:family_name ?p . ?p rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q151624
P27
Q502895
USER
How many people are a citizen of Germany and German Confederation ?
(c(Q502895),P27,Q183) (c(Q502895),P27,Q151624)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P27
type Q502895
action filter_type
action find_reverse
entity Q151624
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q183'] [{'concept': 'Q502895'}, 'P27', 'Q151624']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P27 resource:Q183 . ?c rdf:type ontology:Q502895 . ?c property:P27 resource:Q151624 . ?c rdf:type ontology:Q502895 }
Germany German Confederation
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Confederation
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Germany'] [{'concept': 'common name'}, 'country of citizenship', 'German Confederation']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:country_of_citizenship resource:Germany . ?c rdf:type ontology:common_name . ?c property:country_of_citizenship resource:German_Confederation . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q60397 Q77671 Q77203
(c(Q502895),P27,Q183) (c(Q502895),P27,Q151624)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P27
type Q502895
action filter_type
action find_reverse
entity Q151624
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q183'] [{'concept': 'Q502895'}, 'P27', 'Q151624']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P27 resource:Q183 . ?c rdf:type ontology:Q502895 . ?c property:P27 resource:Q151624 . ?c rdf:type ontology:Q502895 }
Otto Hesse Wilhelm Gerhard Walpers Ferdinand von Lindemann
3
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Confederation
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Germany'] [{'concept': 'common name'}, 'country of citizenship', 'German Confederation']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:country_of_citizenship resource:Germany . ?c rdf:type ontology:common_name . ?c property:country_of_citizenship resource:German_Confederation . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2406900
P136
Q151885 Q2088357 Q166142
USER
How many concepts do more number of musical ensembles or applications belong to than Twoubadou ?
(c(Q2088357)|c(Q166142),P136,c(Q151885))
action count
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 Q166142
action count
action filter_multi_types
action find_reverse
entity Q2406900
relation P136
type Q2088357
type Q166142
[[{'concept': 'Q2088357'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P136 resource:Q2406900 . { VALUES ( ?i ) { ( ontology:Q166142 ) ( ontology:Q2088357 ) } . ?j rdf:type ?i } } } . FILTER ( ?o > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?u WHERE { { ?q property:P136 ?u . ?u rdf:type ontology:Q151885 . ?q rdf:type ontology:Q2088357 } UNION { ?q property:P136 ?u . ?u rdf:type ontology:Q151885 . ?q rdf:type ontology:Q166142 } } GROUP BY ?u } }
Twoubadou
action count
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 application
action count
action filter_multi_types
action find_reverse
entity Twoubadou
relation genre
type musical ensemble
type application
[[{'concept': 'musical ensemble'}, {'concept': 'application'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:genre resource:Twoubadou . { VALUES ( ?i ) { ( ontology:application ) ( ontology:musical_ensemble ) } . ?j rdf:type ?i } } } . FILTER ( ?o > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?u WHERE { { ?q property:genre ?u . ?u rdf:type ontology:concept . ?q rdf:type ontology:musical_ensemble } UNION { ?q property:genre ?u . ?u rdf:type ontology:concept . ?q rdf:type ontology:application } } GROUP BY ?u } }
[]
concept musical ensemble application
SYSTEM
500
Q26384 Q2280273 Q1092553 Q251192 Q6496560 Q1798870 Q1431327 Q2336819 Q196999 Q56580 Q383615 Q888612 Q1403744 Q667659 Q10846275 Q703778 Q227045 Q483352 Q627906 Q211573 Q512410 Q2097664 Q1055871 Q935586 Q2090023 Q592330 Q775614 Q3397882 Q4045538 Q896513 Q874038 Q3437841 Q9730 Q2662148 Q650316 Q969663 Q25094849 Q753520 Q2517263 Q1136331 Q659599 Q837389 Q193355 Q213121 Q852767 Q842324 Q1418683 Q858579 Q547137 Q11319210 Q486365 Q220830 Q1100989 Q504635 Q1928583 Q602561 Q2043175 Q58339 Q325397 Q783097 Q189045 Q2988851 Q431415 Q1207347 Q16250593 Q546359 Q180268 Q663519 Q373982 Q48445 Q373342 Q216961 Q483251 Q3644819 Q753679 Q212688 Q447962 Q6010 Q1051735 Q16096634 Q7405759 Q37073 Q1430587 Q2994332 Q725011 Q2296495 Q220528 Q268253 Q9778 Q236913 Q264289 Q3868787 Q601235 Q2266376 Q1323698 Q217467 Q1470503 Q484344 Q973150 Q727634 Q1045541 Q49451 Q131578 Q388296 Q840065 Q3422697 Q1076539 Q1891685 Q1123745 Q854451 Q186472 Q11325235 Q131272 Q2332751 Q2607836 Q170611 Q660984 Q208239 Q1784032 Q828243 Q2572585 Q263734 Q497957 Q1182371 Q1371364 Q455686 Q16148439 Q1273641 Q183504 Q252833 Q1541229 Q1071873 Q720959 Q2726026 Q20903 Q7050752 Q4942839 Q2461933 Q1784106 Q4975996 Q1165777 Q2089511 Q649634 Q2529400 Q2668052 Q1650296 Q202930 Q2047814 Q54365 Q235858 Q212024 Q784310 Q1585015 Q2545135 Q790188 Q1780056 Q2404568 Q7749 Q205049 Q1378776 Q2932658 Q454071 Q598593 Q851213 Q848399 Q83440 Q640097 Q817138 Q3321920 Q1139136 Q930592 Q286080 Q1166197 Q57143 Q379671 Q493169 Q25099840 Q1643549 Q1433387 Q185652 Q2004156 Q1661583 Q848852 Q1164252 Q885561 Q83270 Q598929 Q2087267 Q835891 Q38848 Q1931555 Q2084353 Q339906 Q1507298 Q40461 Q744417 Q2045695 Q245296 Q2607454 Q21092 Q105527 Q546264 Q465978 Q1913888 Q3410876 Q820049 Q20474 Q3048168 Q1391336 Q1065742 Q783243 Q8341 Q3827483 Q622871 Q223840 Q1062400 Q1641839 Q756956 Q46046 Q43343 Q828305 Q617240 Q186170 Q4848738 Q325504 Q153071 Q831354 Q2268922 Q1181308 Q1190485 Q1530455 Q739138 Q574651 Q6868046 Q38656 Q6658771 Q138020 Q1567032 Q371745 Q474027 Q1191544 Q26473 Q822914 Q1661924 Q76092 Q661651 Q187760 Q282131 Q378988 Q936942 Q1076092 Q45981 Q484179 Q1752683 Q1425661 Q1113204 Q844245 Q188539 Q830325 Q517415 Q943929 Q1936659 Q1299260 Q723418 Q188534 Q7295057 Q2743435 Q4428744 Q4841596 Q1196752 Q1606591 Q429264 Q388906 Q320592 Q3908370 Q959583 Q1147692 Q2532560 Q341364 Q740911 Q1457545 Q1425111 Q786815 Q213572 Q316930 Q183862 Q861823 Q135637 Q968730 Q1298934 Q7042753 Q370515 Q132438 Q217597 Q613408 Q839029 Q236932 Q16056349 Q193207 Q606393 Q211756 Q438476 Q949369 Q966564 Q170435 Q2626684 Q997481 Q616679 Q719927 Q2343562 Q487965 Q602646 Q4875789 Q272167 Q727781 Q1752801 Q253918 Q641357 Q11403 Q11401 Q181861 Q1027999 Q486263 Q11399 Q10926 Q10922 Q1585075 Q823080 Q655514 Q1317816 Q4490718 Q832665 Q606089 Q274401 Q1775316 Q773880 Q469343 Q1164847 Q2076779 Q211781 Q1151260 Q16011708 Q2324411 Q1192110 Q3231749 Q372103 Q464129 Q837837 Q856872 Q1127539 Q4846346 Q19938910 Q446241 Q1621467 Q212944 Q217191 Q188450 Q1730388 Q20502 Q2426383 Q209137 Q1615483 Q203775 Q221772 Q936573 Q1640319 Q2389651 Q972424 Q915152 Q752785 Q206159 Q302401 Q2187392 Q876171 Q853873 Q502886 Q669738 Q928825 Q910606 Q383982 Q105513 Q639197 Q3930216 Q164444 Q854844 Q22991878 Q185298 Q9759 Q7005181 Q18074899 Q646679 Q20378 Q11363 Q11366 Q487914 Q11365 Q1500364 Q3724735 Q1399695 Q241662 Q7541571 Q7122786 Q1455292 Q484641 Q2281409 Q2702280 Q377910 Q1899347 Q131425 Q877693 Q1132152 Q2551540 Q4736555 Q16024685 Q213665 Q916387 Q203720 Q11660484 Q825769 Q2280497 Q13627677 Q2238236 Q1026089 Q14390274 Q726239 Q2064394 Q1133657 Q1051843 Q213149 Q15629158 Q868855 Q932977 Q213714 Q341395 Q1078010 Q211723 Q1982973 Q485395 Q370778 Q8361 Q2109360 Q573484 Q3071 Q3360459 Q1756101 Q1166726 Q27190 Q612024 Q1262697 Q572901 Q747717 Q63885 Q475221 Q208494 Q1929352 Q460674 Q899116 Q1538765 Q2265866 Q2697917 Q1890098 Q542703 Q608862 Q6188299 Q846119 Q41343 Q178145 Q1374731 Q1435509 Q1141081 Q486415 Q188994 Q185676 Q3307225 Q5421158 Q1190565 Q9794 Q42201 Q1754592 Q3328764 Q3840596 Q2624785 Q1515757 Q19672555 Q1253172 Q850412 Q284543 Q1443316 Q1166218 Q1046768 Q205560 Q1840167 Q1379958 Q1195253 Q438503 Q965635 Q1995569 Q4852979 Q956883 Q1092837
(c(Q2088357)|c(Q166142),P136,c(Q151885))
action count
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 Q166142
action count
action filter_multi_types
action find_reverse
entity Q2406900
relation P136
type Q2088357
type Q166142
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P136 resource:Q2406900 . { VALUES ( ?i ) { ( ontology:Q166142 ) ( ontology:Q2088357 ) } . ?j rdf:type ?i } } } . FILTER ( ?o > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?u WHERE { { ?q property:P136 ?u . ?u rdf:type ontology:Q151885 . ?q rdf:type ontology:Q2088357 } UNION { ?q property:P136 ?u . ?u rdf:type ontology:Q151885 . ?q rdf:type ontology:Q166142 } } GROUP BY ?u } }
do it yourself mod revival Celtic fusion downtempo Latin ballad pagan folk music Pub rock operatic pop Zeuhl digital hardcore Street punk deathgrind electro-industrial funk metal Akiba-pop neo-psychedelia Zouk thrash metal electro house garage rock Qawwali Indorock J-Rock Liturgical music Piano rock dream pop neofolk Progressive pop Nu-disco Hamburger Schule deep house French rock classical music Celtic rock drone music Political hip hop art pop Christian rock Midwest hip hop Nu jazz art punk Latin jazz blues rock New Age music Southern rock indie pop kayōkyoku big beat Latin pop technopop anarcho-punk Surf music glitch crossover Northern soul Electro swing hyphy disco indietronica college rock Britpop Finnish rock Tejano music Shibuya-kei pub rock doo-wop gospel music breakbeat Logobi mashup popular music Eurodance death metal cello rock Gangsta rap dub Swing revival rapping Soca music kawaii metal Salsa dura pop music minimal techno Rock en español neo-classical metal garage punk Rebetiko neo soul electronic music space rock sophisti-pop muziki wa dansi hip house boogie rock Indian classical music art rock Semba progressive metal Mandopop Ranchera g-funk progressive rock J-pop afrobeat New jack swing Red Dirt choro Russian chanson Glam punk Celtic music folk rock neo acoustic soul music avant-garde music Freakbeat techno intelligent dance music salsa music Viking rock futurepop pop-rap nu metal Nueva trova Deep Funk ethno jazz samba reggae Gaelic music Punk pathetique indie rock Volksmusik American folk music Chicago blues Sludge metal Compas Brostep Nordic folk music Boogie sunshine pop Powerviolence Brown-eyed soul UK garage death-doom progressive folk music urban contemporary Dutch-language music instrumental rock reggaeton Palingsound Ska folk music Negro spiritual electro hop UK hard house Noise pop avant-garde jazz Norteño freak folk rock and roll world music music of Ireland Cadence-lypso German hip hop tech house electronic dance music easy listening country music electric blues electronica Flamenco rumba 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 Percussion Eurobeat Deathrock blue-eyed soul hard rock post-punk Laïko funk rock heavy metal music microhouse electronicore happy hardcore lo-fi music bachata Italo disco shock rock Zydeco Christian hardcore moombahton jazz fusion beat music extreme metal Power noise Punta rock mainstream hardcore dubstep Mákina 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 Baithak Gana electronic rock Polka smooth jazz Cowpunk death 'n' roll post-disco vocal jazz teen pop anti-folk Minneapolis sound jazz-funk Livetronica French hip hop Southern soul Timba dancehall Kuduro Gregorian chant Christian metal industrial dance glam rock show tune new wave music merengue music adult contemporary music post-industrial music technical death metal rhythm and blues folk metal Soukous folk punk Dub poetry Gypsy jazz glam metal horror punk Europop folk song Nederpop Roots reggae Cumbia grindcore Rasin psychedelic soul Son Baggy traditional pop music reggae fusion West Coast hip hop hardcore techno Krautrock pop metal Schlager goregrind Djent acid house ragga Pagan metal Western music Turbo-folk Neue Deutsche Härte dance music metalcore Electroclash chiptune Industrial rock synthpop No-Fi New Wave of British Heavy Metal black metal electro country rock Raï acid rock Indian rock ambient music Hi-NRG dance-pop alternative country Funky house Hardcore hip hop trance chillwave bubblegum pop Mathcore symphonic rock coldwave industrial music comedy hip hop Beach music shoegazing Latin American music Rock in Opposition melodic death metal avant-garde metal samba hip hop noise rock Vocal trance bossa nova rock music emo hardcore punk breakbeat hardcore No Wave freestyle music indie folk melodic metalcore Hard trance skiffle Oi! Progg bitpop British hip hop dansband Bubblegum dance free jazz D-beat Swamp pop geek rock C-pop post-Britpop electronic body music Mariachi power pop rap metal Delta blues Bassline synthWave Neo-Medieval music symphonic black metal klezmer soft rock electropop Western swing 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 Punkabilly alternative dance East Coast hip hop Cantopop Madchester Yass Garage house Music of Brittany psychedelic pop bebop instrumental rapcore funk Bhangra chamber pop a cappella blues New Acoustic Music guitar music Neue Deutsche Welle alternative metal screamo alternative rock pop punk grunge Psychedelic folk Emo pop Chicano rap groove metal Slovak folk music Pacific reggae French house pop rock dance-rock Italo house post-hardcore post-punk revival visual kei rap rock math rock Punk blues Alternative reggaeton Afro-soul K-pop exotica rockabilly denpa song Crust punk country pop psychobilly 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 Acid techno martial industrial speed metal New wave of new wave gothic rock twee pop Baroque music Danza rocksteady punk rock Pagode nu skool breaks grime protopunk contemporary classical music Mento minimal music heartland rock Christian punk deathcore industrial metal roots rock Ska punk Neoclassical Dark Wave Gothabilly brutal death metal go-go New Beat melodic hardcore anison Jesus music psychedelic music post-metal gothic metal Euro disco folktronica lounge music symphonic metal drum and bass Fado progressive bluegrass experimental hip hop jangle pop reggae independent music nerdcore Thai pop music dark wave Russian rock jump blues nerd-folk Southern hip hop contemporary R&B ethereal wave Christmas music Dark rock Música Popular Brasileira trip hop Witch house contemporary Christian music Sea shanty alternative hip hop Underground hip hop thrashcore Baltimore club Carnatic music post-bop
500
action count
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 application
action count
action filter_multi_types
action find_reverse
entity Twoubadou
relation genre
type musical ensemble
type application
[[{'concept': 'musical ensemble'}, {'concept': 'application'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:genre resource:Twoubadou . { VALUES ( ?i ) { ( ontology:application ) ( ontology:musical_ensemble ) } . ?j rdf:type ?i } } } . FILTER ( ?o > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?u WHERE { { ?q property:genre ?u . ?u rdf:type ontology:concept . ?q rdf:type ontology:musical_ensemble } UNION { ?q property:genre ?u . ?u rdf:type ontology:concept . ?q rdf:type ontology:application } } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for max number of names ?
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P407 ?p . ?p rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?p } } . FILTER ( ?z = ?x ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P407 ?m . ?m rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?m } }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?p } } . FILTER ( ?z = ?x ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?m } }
[]
language name
Q1860
SYSTEM
English
Q1860
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWER] is the languages of work for max number of names
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P407 ?p . ?p rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?p } } . FILTER ( ?z = ?x ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P407 ?m . ?m rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?m } }
English
English is the languages of work for max number of names
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?p } } . FILTER ( ?z = ?x ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?m } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P123
Q2342494
USER
Which collectables were issued by that language ?
(c(Q2342494),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q1860']
SELECT DISTINCT ?f WHERE { ?f property:P123 resource:Q1860 . ?f rdf:type ontology:Q2342494 }
English
action filter_type
action find_reverse
entity English
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'English']
SELECT DISTINCT ?f WHERE { ?f property:publisher resource:English . ?f rdf:type ontology:collectable }
[]
collectable
Q2471376 Q1984388 Q6692619
SYSTEM
Tutinama, Moscow 2042, Loving Natalee
Q2471376 Q1984388 Q6692619 Q7142914
(c(Q2342494),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q2342494
[ANSWERS] were issued by that language
[{'concept': 'Q2342494'}, 'P123', 'Q1860']
SELECT DISTINCT ?f WHERE { ?f property:P123 resource:Q1860 . ?f rdf:type ontology:Q2342494 }
Tutinama Moscow 2042 Loving Natalee Past Perfect
Tutinama, Moscow 2042 and Loving Natalee were issued by that language
Tutinama Moscow 2042 Loving Natalee
action filter_type
action find_reverse
entity English
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'English']
SELECT DISTINCT ?f WHERE { ?f property:publisher resource:English . ?f rdf:type ontology:collectable }
[]