Simple Question (Direct)
Simple Question
Q48613
P136
Q151885
USER
Which genre does Paul Kalkbrenner belong to ?
(Q48613,P136,c(Q151885))
action filter_type
action find
entity Q48613
relation P136
type Q151885
['Q48613', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q48613 property:P136 ?a . ?a rdf:type ontology:Q151885 }
Paul Kalkbrenner
action filter_type
action find
entity Paul Kalkbrenner
relation genre
type concept
['Paul Kalkbrenner', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Paul_Kalkbrenner property:genre ?a . ?a rdf:type ontology:concept }
[]
concept
Q170611
SYSTEM
techno
Q170611
(Q48613,P136,c(Q151885))
action filter_type
action find
entity Q48613
relation P136
type Q151885
Paul Kalkbrenner belongs [ANSWER]
['Q48613', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q48613 property:P136 ?a . ?a rdf:type ontology:Q151885 }
techno
Paul Kalkbrenner belongs techno
techno
action filter_type
action find
entity Paul Kalkbrenner
relation genre
type concept
['Paul Kalkbrenner', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Paul_Kalkbrenner property:genre ?a . ?a rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48613
P86
Q838948
USER
Which work of art has Paul Kalkbrenner as the composer ?
(c(Q838948),P86,Q48613)
action filter_type
action find_reverse
entity Q48613
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q48613']
SELECT DISTINCT ?n WHERE { ?n property:P86 resource:Q48613 . ?n rdf:type ontology:Q838948 }
Paul Kalkbrenner
action filter_type
action find_reverse
entity Paul Kalkbrenner
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Paul Kalkbrenner']
SELECT DISTINCT ?n WHERE { ?n property:composer resource:Paul_Kalkbrenner . ?n rdf:type ontology:work_of_art }
[]
work of art
Q574295
SYSTEM
Berlin Calling
Q574295
(c(Q838948),P86,Q48613)
action filter_type
action find_reverse
entity Q48613
relation P86
type Q838948
[ANSWER] has Paul Kalkbrenner as the composer
[{'concept': 'Q838948'}, 'P86', 'Q48613']
SELECT DISTINCT ?n WHERE { ?n property:P86 resource:Q48613 . ?n rdf:type ontology:Q838948 }
Berlin Calling
Berlin Calling has Paul Kalkbrenner as the composer
Berlin Calling
action filter_type
action find_reverse
entity Paul Kalkbrenner
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Paul Kalkbrenner']
SELECT DISTINCT ?n WHERE { ?n property:composer resource:Paul_Kalkbrenner . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q574295
P162
Q502895
USER
Who is the producer of that work of art ?
(Q574295,P162,c(Q502895))
action filter_type
action find
entity Q574295
relation P162
type Q502895
['Q574295', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q574295 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Berlin Calling
action filter_type
action find
entity Berlin Calling
relation producer
type common name
['Berlin Calling', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Berlin_Calling property:producer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1507001
SYSTEM
Karsten Aurich
Q1507001
(Q574295,P162,c(Q502895))
action filter_type
action find
entity Q574295
relation P162
type Q502895
The producer of that work of art is the [ANSWER]
['Q574295', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q574295 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Karsten Aurich
The producer of that work of art is the Karsten Aurich
Karsten Aurich
action filter_type
action find
entity Berlin Calling
relation producer
type common name
['Berlin Calling', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Berlin_Calling property:producer ?a . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5569994
P136
Q151885 Q166142 Q502895
USER
Which concepts are the genre of less number of applications or people than Baião ?
(c(Q166142)|c(Q502895),P136,c(Q151885))
action less
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q166142
action find_reverse_tuple_counts
relation P136
type Q151885
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q5569994
relation P136
type Q166142
type Q502895
[[{'concept': 'Q166142'}, {'concept': 'Q502895'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P136 resource:Q5569994 . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q166142 ) ( ontology:Q502895 ) } } } } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?s WHERE { { ?p rdf:type ontology:Q166142 . ?s rdf:type ontology:Q151885 . ?p property:P136 ?s } UNION { ?s rdf:type ontology:Q151885 . ?p rdf:type ontology:Q502895 . ?p property:P136 ?s } } GROUP BY ?s } }
Baião
action less
action union
action find_reverse_tuple_counts
relation genre
type concept
type application
action find_reverse_tuple_counts
relation genre
type concept
type common name
action count
action filter_multi_types
action find_reverse
entity Baião
relation genre
type application
type common name
[[{'concept': 'application'}, {'concept': 'common name'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:genre resource:Baião . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:application ) ( ontology:common_name ) } } } } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?s WHERE { { ?p rdf:type ontology:application . ?s rdf:type ontology:concept . ?p property:genre ?s } UNION { ?s rdf:type ontology:concept . ?p rdf:type ontology:common_name . ?p property:genre ?s } } GROUP BY ?s } }
[]
concept application common name
Q11325235 Q6868046 Q2047814
SYSTEM
neo acoustic, Minneapolis sound, Palingsound
Q26384 Q2280273 Q2243831 Q1798870 Q196999 Q20987668 Q2881236 Q3709211 Q383615 Q888612 Q667659 Q10846275 Q1071961 Q8425 Q16820420 Q2097664 Q1033912 Q780517 Q3397882 Q896513 Q503354 Q16837290 Q659599 Q864605 Q1773654 Q11319210 Q396077 Q3281534 Q1928583 Q602561 Q2043175 Q325397 Q783097 Q373982 Q3644819 Q447962 Q16096634 Q7405759 Q2337447 Q264289 Q3868787 Q601235 Q2266376 Q1470503 Q590662 Q192781 Q3422697 Q11325235 Q2607836 Q7972788 Q2710523 Q1784032 Q1182371 Q455686 Q16148439 Q1273641 Q252833 Q165740 Q20903 Q7050752 Q4942839 Q2461933 Q3630966 Q2104067 Q1784106 Q2736181 Q4975996 Q2047814 Q19678115 Q784310 Q1585015 Q5332963 Q7676613 Q2932658 Q3321920 Q1627155 Q211236 Q1166197 Q4949812 Q1939197 Q2004156 Q1661583 Q22589194 Q2084353 Q3575673 Q2607454 Q1913888 Q3410876 Q7142141 Q1455487 Q389631 Q4848738 Q1181308 Q6496549 Q217295 Q6868046 Q6658771 Q1567032 Q26473 Q1661924 Q661651 Q1185390 Q1113204 Q943929 Q7295057 Q19832746 Q2743435 Q5393053 Q4841596 Q18358879 Q214917 Q3908370 Q1147692 Q2532560 Q1457545 Q2798694 Q16821210 Q7042753 Q858517 Q370515 Q255189 Q16056349 Q949369 Q5099460 Q2343562 Q602646 Q1162475 Q4875789 Q1060475 Q1752801 Q6410606 Q199415 Q1027999 Q42857 Q2891921 Q4490718 Q274401 Q773880 Q3090876 Q2076779 Q3111428 Q1151260 Q2324411 Q5464445 Q3231749 Q2346991 Q17053024 Q446241 Q2426383 Q50637 Q484188 Q534606 Q40953 Q186075 Q16855754 Q302401 Q502886 Q669738 Q8436 Q18074899 Q11363 Q2568406 Q3724735 Q1076513 Q5515214 Q7541571 Q7122786 Q15957030 Q2702280 Q1262781 Q2551540 Q4736555 Q5466607 Q825769 Q3091180 Q15629158 Q180910 Q5510816 Q908604 Q9095433 Q1078010 Q1982973 Q370778 Q7067688 Q3360459 Q1756101 Q63885 Q482980 Q899116 Q1538765 Q2265866 Q1890098 Q4290 Q3069904 Q15830404 Q673661 Q3307225 Q1190565 Q5583956 Q6661 Q2624785 Q19672555 Q283405 Q1443316 Q1166218 Q3296134 Q1195253 Q2465085 Q1995569 Q4852979
(c(Q166142)|c(Q502895),P136,c(Q151885))
action less
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q166142
action find_reverse_tuple_counts
relation P136
type Q151885
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q5569994
relation P136
type Q166142
type Q502895
[ANSWERS] are the genre of less number of applications or people than Baião
[[{'concept': 'Q166142'}, {'concept': 'Q502895'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P136 resource:Q5569994 . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q166142 ) ( ontology:Q502895 ) } } } } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?s WHERE { { ?p rdf:type ontology:Q166142 . ?s rdf:type ontology:Q151885 . ?p property:P136 ?s } UNION { ?s rdf:type ontology:Q151885 . ?p rdf:type ontology:Q502895 . ?p property:P136 ?s } } GROUP BY ?s } }
do it yourself mod revival writing style pagan folk music Zeuhl Armenian Folk Music Ballet d'action Dirty rap Street punk deathgrind funk metal Akiba-pop Chicago house society American march music Indorock Hard dance speed garage Progressive pop Hamburger Schule Christmas carol Balearic trance art punk Biomusic Country folk technopop agrarian history modern history Northern soul Electro swing hyphy indietronica college rock Logobi cello rock Swing revival kawaii metal Salsa dura Meditation music sophisti-pop muziki wa dansi hip house boogie rock Semba Bend-skin military history Red Dirt neo acoustic Freakbeat Wassoulou music Ragga jungle Viking rock Deep Funk samba reggae Gaelic music Punk pathetique Volksmusik aphorism Brostep Nordic folk music Boogie sunshine pop avant-prog Pop-Jazz Powerviolence Punk jazz Brown-eyed soul Palingsound Time Lord rock electro hop UK hard house Eclecticism in music Taiwanese hip hop Cadence-lypso Flamenco rumba Honky-tonk celebrity dark metal Bounce music Türkü Industrial hip hop Percussion glitch hop electronicore Zoblazo Christian hardcore Power noise Punta rock Pasillo Frenchcore Jumpstyle Baithak Gana death 'n' roll Latin soul mass Minneapolis sound Livetronica Southern soul Gregorian chant industrial dance show tune disco polo Dub poetry folk song Rasin nerd punk psychedelic soul Filin Baggy Outsider house playwright pop metal goregrind Djent Pagan metal Marabi Japanese jazz No-Fi cultural history New Wave of British Heavy Metal paraphrase Indian rock Funky house Chimurenga music coldwave comedy hip hop Nóta Beach music Chamamé Rock in Opposition Kindie rock Ziglibithy Vocal trance prophet Batuque melodic metalcore Oi! bitpop Funaná Bubblegum dance gospel blues D-beat geek rock folk baroque post-Britpop Bass music Folkhop Neo-Medieval music crunkcore art history serial killer Swamp blues prayer contemporary history Blackgaze Punkabilly Madchester Yass family guitar music screamo Postmodern music Emo pop choral music Gaana Slovak folk music Pacific reggae Electro Italo house Dub techno Punk blues Alternative reggaeton Footwork Crust punk Shashmaqam Medieval metal leisure Future garage social history Waka music martial industrial New wave of new wave twee pop Nu-funk Pagode nu skool breaks Christian punk author Neoclassical Dark Wave Gothabilly brutal death metal New Beat investing Porro Bolero (music) abstraction progressive bluegrass jangle pop Goombay French cuisine Russian rock nerd-folk Punta Christmas music Dark rock Wizard rock Sea shanty ambient house thrashcore Baltimore club
Neo acoustic, Minneapolis sound and Palingsound are the genre of less number of applications or people than Baião
neo acoustic Minneapolis sound Palingsound
action less
action union
action find_reverse_tuple_counts
relation genre
type concept
type application
action find_reverse_tuple_counts
relation genre
type concept
type common name
action count
action filter_multi_types
action find_reverse
entity Baião
relation genre
type application
type common name
[[{'concept': 'application'}, {'concept': 'common name'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:genre resource:Baião . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:application ) ( ontology:common_name ) } } } } . FILTER ( ?j < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?s WHERE { { ?p rdf:type ontology:application . ?s rdf:type ontology:concept . ?p property:genre ?s } UNION { ?s rdf:type ontology:concept . ?p rdf:type ontology:common_name . ?p property:genre ?s } } GROUP BY ?s } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q336 Q234460 Q151885
USER
How many concepts are a component of around the same number of sciences or texts as that concept ?
(c(Q151885),P361,c(Q336)|c(Q234460))
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P361 ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q336 . ?x rdf:type ontology:Q234460 }
[{'concept': 'concept'}, 'part of', [{'concept': 'science'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:part_of ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:science . ?x rdf:type ontology:text }
[]
science text concept
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2047814
SYSTEM
Did you mean Palingsound ?
(c(Q151885),P361,c(Q336)|c(Q234460))
[ANSWER]
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P361 ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q336 . ?x rdf:type ontology:Q234460 }
Did you mean Palingsound ?
Palingsound
[{'concept': 'concept'}, 'part of', [{'concept': 'science'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:part_of ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:science . ?x rdf:type ontology:text }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q151885),P361,c(Q336)|c(Q234460))
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q234460'}]]
[{'concept': 'concept'}, 'part of', [{'concept': 'science'}, {'concept': 'text'}]]
[]
SYSTEM
17
Q318756 Q4386060 Q246672 Q11348 Q4833212 Q205215 Q903820 Q19478619 Q5206183 Q5876138 Q665093 Q7170676 Q5610719 Q131476 Q5282039 Q19597596 Q7190517
(c(Q151885),P361,c(Q336)|c(Q234460))
[ANSWER]
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q336 . ?x rdf:type ontology:Q234460 }
Abelian Lemma Cognitive architecture mathematical object function A¹ homotopy theory Zinsleute field theory metaclass DSRP Hodge–Arakelov theory Magnetostatics Personification in the Bible Grothendieck's Galois theory graph theory Discrete Morse theory Inter-universal Teichmüller theory Picard–Lefschetz theory
17
[{'concept': 'concept'}, 'part of', [{'concept': 'science'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:science . ?x rdf:type ontology:text }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19893447 Q6868046
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of Minneapolis sound and are Fernando Miranda an inhabitant of ?
AND((Q6868046,P495,c(Q15617994)), (Q19893447,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6868046
relation P495
action find
entity Q19893447
relation P27
type Q15617994
{'AND': [['Q6868046', 'P495', {'concept': 'Q15617994'}], ['Q19893447', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q6868046 property:P495 ?g . resource:Q19893447 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Fernando Miranda Minneapolis sound
action filter_type
action intersection
action find
entity Minneapolis sound
relation country of origin
action find
entity Fernando Miranda
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Minneapolis sound', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Fernando Miranda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Minneapolis_sound property:country_of_origin ?g . resource:Fernando_Miranda property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q6868046,P495,c(Q15617994)), (Q19893447,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6868046
relation P495
action find
entity Q19893447
relation P27
type Q15617994
[ANSWER] is the countries of origin of Minneapolis sound and is Fernando Miranda an inhabitant of
{'AND': [['Q6868046', 'P495', {'concept': 'Q15617994'}], ['Q19893447', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q6868046 property:P495 ?g . resource:Q19893447 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of origin of Minneapolis sound and is Fernando Miranda an inhabitant of
United States of America
action filter_type
action intersection
action find
entity Minneapolis sound
relation country of origin
action find
entity Fernando Miranda
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Minneapolis sound', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Fernando Miranda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Minneapolis_sound property:country_of_origin ?g . resource:Fernando_Miranda property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q17335294 Q2342494
USER
How many concepts are expressed in atmost 3 coats of arms and collectables ?
(c(Q17335294)|c(Q2342494),P180,c(Q151885))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q151885
type Q2342494
value 3
[[{'concept': 'Q17335294'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?h WHERE { { ?c property:P180 ?h . ?c rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q151885 } UNION { ?c property:P180 ?h . ?c rdf:type ontology:Q17335294 . ?h rdf:type ontology:Q151885 } } GROUP BY ?h } . FILTER ( ?t <= 3 ) }
action count
action atmost
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 collectable
value 3
[[{'concept': 'flag or coat of arms'}, {'concept': 'collectable'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?h WHERE { { ?c property:depicts ?h . ?c rdf:type ontology:collectable . ?h rdf:type ontology:concept } UNION { ?c property:depicts ?h . ?c rdf:type ontology:flag_or_coat_of_arms . ?h rdf:type ontology:concept } } GROUP BY ?h } . FILTER ( ?t <= 3 ) }
[]
concept flag or coat of arms collectable
SYSTEM
68
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q467 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q8441 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q17335294)|c(Q2342494),P180,c(Q151885))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q151885
type Q2342494
value 3
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?h WHERE { { ?c property:P180 ?h . ?c rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q151885 } UNION { ?c property:P180 ?h . ?c rdf:type ontology:Q17335294 . ?h rdf:type ontology:Q151885 } } GROUP BY ?h } . FILTER ( ?t <= 3 ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy woman hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky man worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
68
action count
action atmost
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 collectable
value 3
[[{'concept': 'flag or coat of arms'}, {'concept': 'collectable'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?h WHERE { { ?c property:depicts ?h . ?c rdf:type ontology:collectable . ?h rdf:type ontology:concept } UNION { ?c property:depicts ?h . ?c rdf:type ontology:flag_or_coat_of_arms . ?h rdf:type ontology:concept } } GROUP BY ?h } . FILTER ( ?t <= 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q797245 Q11325235
P495
Q15617994
USER
Which administrative territories are the countries of origin of neo acoustic or José Rizal ?
OR((Q11325235,P495,c(Q15617994)), (Q797245,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q11325235
relation P495
action find
entity Q797245
relation P495
type Q15617994
{'OR': [['Q11325235', 'P495', {'concept': 'Q15617994'}], ['Q797245', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q11325235 property:P495 ?c } UNION { resource:Q797245 property:P495 ?c } } . ?c rdf:type ontology:Q15617994 }
José Rizal neo acoustic
action filter_type
action union
action find
entity neo acoustic
relation country of origin
action find
entity José Rizal
relation country of origin
type designation for an administrative territorial entity
{'OR': [['neo acoustic', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['José Rizal', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:neo_acoustic property:country_of_origin ?c } UNION { resource:José_Rizal property:country_of_origin ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q17
SYSTEM
Philippines, Japan
Q928 Q17
OR((Q11325235,P495,c(Q15617994)), (Q797245,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q11325235
relation P495
action find
entity Q797245
relation P495
type Q15617994
[ANSWERS] are the countries of origin of neo acoustic or José Rizal
{'OR': [['Q11325235', 'P495', {'concept': 'Q15617994'}], ['Q797245', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q11325235 property:P495 ?c } UNION { resource:Q797245 property:P495 ?c } } . ?c rdf:type ontology:Q15617994 }
Philippines Japan
Philippines and Japan are the countries of origin of neo acoustic or José Rizal
Philippines Japan
action filter_type
action union
action find
entity neo acoustic
relation country of origin
action find
entity José Rizal
relation country of origin
type designation for an administrative territorial entity
{'OR': [['neo acoustic', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['José Rizal', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:neo_acoustic property:country_of_origin ?c } UNION { resource:José_Rizal property:country_of_origin ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1408
Q15416 Q5398426
USER
How many television programs or television series are licensed to broadcast to that administrative territory ?
(c(Q15416),P1408,Q17) (c(Q5398426),P1408,Q17) (c(Q15416),P1408,Q928) (c(Q5398426),P1408,Q928) (c(Q15416),P1408,Q17) (c(Q5398426),P1408,Q17)
[{'concept': 'Q15416'}, 'P1408', 'Q17'] [{'concept': 'Q5398426'}, 'P1408', 'Q17'] [{'concept': 'Q15416'}, 'P1408', 'Q928'] [{'concept': 'Q5398426'}, 'P1408', 'Q928'] [{'concept': 'Q15416'}, 'P1408', 'Q17'] [{'concept': 'Q5398426'}, 'P1408', 'Q17']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:P1408 resource:Q1407064 } UNION { ?y property:P1408 resource:Q1407064 } UNION { ?z property:P1408 resource:Q928 } UNION { ?y property:P1408 resource:Q928 } UNION { ?z property:P1408 resource:Q1407064 } UNION { ?y property:P1408 resource:Q1407064 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q5398426 }
[{'concept': 'television program'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television program'}, 'licensed to broadcast to', 'Philippines'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Philippines'] [{'concept': 'television program'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Japan']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:licensed_to_broadcast_to resource:Japan } UNION { ?y property:licensed_to_broadcast_to resource:Japan } UNION { ?z property:licensed_to_broadcast_to resource:Philippines } UNION { ?y property:licensed_to_broadcast_to resource:Philippines } UNION { ?z property:licensed_to_broadcast_to resource:Japan } UNION { ?y property:licensed_to_broadcast_to resource:Japan } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:television_series }
[]
television program television series
Quantitative|Count|Mult. entity type|Clarification
Q928
SYSTEM
Did you mean Philippines ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:P1408 resource:Q1407064 } UNION { ?y property:P1408 resource:Q1407064 } UNION { ?z property:P1408 resource:Q928 } UNION { ?y property:P1408 resource:Q928 } UNION { ?z property:P1408 resource:Q1407064 } UNION { ?y property:P1408 resource:Q1407064 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q5398426 }
Did you mean Philippines ?
Philippines
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:licensed_to_broadcast_to resource:Japan } UNION { ?y property:licensed_to_broadcast_to resource:Japan } UNION { ?z property:licensed_to_broadcast_to resource:Philippines } UNION { ?y property:licensed_to_broadcast_to resource:Philippines } UNION { ?z property:licensed_to_broadcast_to resource:Japan } UNION { ?y property:licensed_to_broadcast_to resource:Japan } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:television_series }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Japan. Could you tell me the answer for that?
(c(Q15416),P1408,Q17) (c(Q5398426),P1408,Q17) (c(Q15416),P1408,Q928) (c(Q5398426),P1408,Q928) (c(Q15416),P1408,Q17) (c(Q5398426),P1408,Q17)
Q17
[{'concept': 'Q15416'}, 'P1408', 'Q17'] [{'concept': 'Q5398426'}, 'P1408', 'Q17'] [{'concept': 'Q15416'}, 'P1408', 'Q928'] [{'concept': 'Q5398426'}, 'P1408', 'Q928'] [{'concept': 'Q15416'}, 'P1408', 'Q17'] [{'concept': 'Q5398426'}, 'P1408', 'Q17']
[{'concept': 'television program'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television program'}, 'licensed to broadcast to', 'Philippines'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Philippines'] [{'concept': 'television program'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Japan']
[]
SYSTEM
4
Q19961524 Q3223150 Q1353486 Q14801553
(c(Q15416),P1408,Q17) (c(Q5398426),P1408,Q17) (c(Q15416),P1408,Q928) (c(Q5398426),P1408,Q928) (c(Q15416),P1408,Q17) (c(Q5398426),P1408,Q17)
[ANSWER]
[{'concept': 'Q15416'}, 'P1408', 'Q17'] [{'concept': 'Q5398426'}, 'P1408', 'Q17'] [{'concept': 'Q15416'}, 'P1408', 'Q928'] [{'concept': 'Q5398426'}, 'P1408', 'Q928'] [{'concept': 'Q15416'}, 'P1408', 'Q17'] [{'concept': 'Q5398426'}, 'P1408', 'Q17']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:P1408 resource:Q1407064 } UNION { ?y property:P1408 resource:Q1407064 } UNION { ?z property:P1408 resource:Q928 } UNION { ?y property:P1408 resource:Q928 } UNION { ?z property:P1408 resource:Q1407064 } UNION { ?y property:P1408 resource:Q1407064 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q5398426 }
Death Note Kodoku no Gourmet Marumo no Okite Hanzawa Naoki
4
[{'concept': 'television program'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television program'}, 'licensed to broadcast to', 'Philippines'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Philippines'] [{'concept': 'television program'}, 'licensed to broadcast to', 'Japan'] [{'concept': 'television series'}, 'licensed to broadcast to', 'Japan']
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:licensed_to_broadcast_to resource:Japan } UNION { ?y property:licensed_to_broadcast_to resource:Japan } UNION { ?z property:licensed_to_broadcast_to resource:Philippines } UNION { ?y property:licensed_to_broadcast_to resource:Philippines } UNION { ?z property:licensed_to_broadcast_to resource:Japan } UNION { ?y property:licensed_to_broadcast_to resource:Japan } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:television_series }
[]