Simple Question (Direct)
Simple Question
Q5557257
P161
Q502895
USER
Which people are in Ghost in the Noonday Sun ?
(Q5557257,P161,c(Q502895))
action filter_type
action find
entity Q5557257
relation P161
type Q502895
['Q5557257', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5557257 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Ghost in the Noonday Sun
action filter_type
action find
entity Ghost in the Noonday Sun
relation cast member
type common name
['Ghost in the Noonday Sun', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ghost_in_the_Noonday_Sun property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q561401 Q177984
SYSTEM
Spike Milligan, Peter Sellers
Q561401 Q177984
(Q5557257,P161,c(Q502895))
action filter_type
action find
entity Q5557257
relation P161
type Q502895
[ANSWERS] are in Ghost in the Noonday Sun
['Q5557257', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5557257 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Spike Milligan Peter Sellers
Spike Milligan and Peter Sellers are in Ghost in the Noonday Sun
Spike Milligan Peter Sellers
action filter_type
action find
entity Ghost in the Noonday Sun
relation cast member
type common name
['Ghost in the Noonday Sun', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ghost_in_the_Noonday_Sun property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5557257
P162
Q502895
USER
Which person produced Ghost in the Noonday Sun ?
(Q5557257,P162,c(Q502895))
action filter_type
action find
entity Q5557257
relation P162
type Q502895
['Q5557257', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5557257 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Ghost in the Noonday Sun
action filter_type
action find
entity Ghost in the Noonday Sun
relation producer
type common name
['Ghost in the Noonday Sun', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ghost_in_the_Noonday_Sun property:producer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q5522997
SYSTEM
Gareth Wigan
Q5522997
(Q5557257,P162,c(Q502895))
action filter_type
action find
entity Q5557257
relation P162
type Q502895
[ANSWER] produced Ghost in the Noonday Sun
['Q5557257', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5557257 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Gareth Wigan
Gareth Wigan produced Ghost in the Noonday Sun
Gareth Wigan
action filter_type
action find
entity Ghost in the Noonday Sun
relation producer
type common name
['Ghost in the Noonday Sun', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ghost_in_the_Noonday_Sun property:producer ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 7275 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7275
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?k <= 7275 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7275
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?k <= 7275 ) }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7275
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?k <= 7275 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7275
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?k <= 7275 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q177984
P21
Q290
USER
What is the sex of Peter Sellers ?
(Q177984,P21,c(Q290))
action filter_type
action find
entity Q177984
relation P21
type Q290
['Q177984', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q177984 property:P21 ?r . ?r rdf:type ontology:Q290 }
Peter Sellers
action filter_type
action find
entity Peter Sellers
relation gender
type sex
['Peter Sellers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Sellers property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q177984,P21,c(Q290))
action filter_type
action find
entity Q177984
relation P21
type Q290
The sex of Peter Sellers is the [ANSWER]
['Q177984', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q177984 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Peter Sellers is the male
male
action filter_type
action find
entity Peter Sellers
relation gender
type sex
['Peter Sellers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Sellers property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q177984
P58
Q838948
USER
Which works of art did Peter Sellers do the screenwriting for ?
(c(Q838948),P58,Q177984)
action filter_type
action find_reverse
entity Q177984
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q177984']
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q177984 . ?o rdf:type ontology:Q838948 }
Peter Sellers
action filter_type
action find_reverse
entity Peter Sellers
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Peter Sellers']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Peter_Sellers . ?o rdf:type ontology:work_of_art }
[]
work of art
Q2285875 Q2123065
SYSTEM
Romance of the Pink Panther, The Magic Christian
Q2285875 Q2123065
(c(Q838948),P58,Q177984)
action filter_type
action find_reverse
entity Q177984
relation P58
type Q838948
Peter Sellers did the screenwriting for The [ANSWERS]
[{'concept': 'Q838948'}, 'P58', 'Q177984']
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q177984 . ?o rdf:type ontology:Q838948 }
Romance of the Pink Panther The Magic Christian
Peter Sellers did the screenwriting for The Romance of the Pink Panther and The Magic Christian
Romance of the Pink Panther The Magic Christian
action filter_type
action find_reverse
entity Peter Sellers
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Peter Sellers']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Peter_Sellers . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q177984
P1412
Q34770
USER
Which language is Peter Sellers capable of writing ?
(Q177984,P1412,c(Q34770))
action filter_type
action find
entity Q177984
relation P1412
type Q34770
['Q177984', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q177984 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Peter Sellers
action filter_type
action find
entity Peter Sellers
relation languages spoken, written or signed
type language
['Peter Sellers', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Sellers property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q177984,P1412,c(Q34770))
action filter_type
action find
entity Q177984
relation P1412
type Q34770
The [ANSWER] is Peter Sellers capable of writing
['Q177984', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q177984 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
English
The English is Peter Sellers capable of writing
English
action filter_type
action find
entity Peter Sellers
relation languages spoken, written or signed
type language
['Peter Sellers', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Sellers property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q770431
Q34770
USER
And what about Augustus Charles Gregory?
(Q770431,P1412,c(Q34770))
action filter_type
action find
entity Q770431
relation P1412
type Q34770
['Q770431', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q770431 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Augustus Charles Gregory
action filter_type
action find
entity Augustus Charles Gregory
relation languages spoken, written or signed
type language
['Augustus Charles Gregory', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Augustus_Charles_Gregory property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q770431,P1412,c(Q34770))
action filter_type
action find
entity Q770431
relation P1412
type Q34770
[ANSWER]
['Q770431', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q770431 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Augustus Charles Gregory
relation languages spoken, written or signed
type language
['Augustus Charles Gregory', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Augustus_Charles_Gregory property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q770431
P921
Q191067
USER
Which article has that person as its principal topic ?
(c(Q191067),P921,Q1860)
action filter_type
action find_reverse
entity Q770431
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1860']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q770431 . ?x rdf:type ontology:Q191067 }
Augustus Charles Gregory
action filter_type
action find_reverse
entity Augustus Charles Gregory
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'English']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:Augustus_Charles_Gregory . ?x rdf:type ontology:article }
[]
article
Q19110970
SYSTEM
Gregory, Augustus Charles (DNB12)
Q19110970
(c(Q191067),P921,Q1860)
action filter_type
action find_reverse
entity Q770431
relation P921
type Q191067
[ANSWER] has that person as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q1860']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q770431 . ?x rdf:type ontology:Q191067 }
Gregory, Augustus Charles (DNB12)
Gregory, Augustus Charles (DNB12) has that person as its principal topic
Gregory, Augustus Charles (DNB12)
action filter_type
action find_reverse
entity Augustus Charles Gregory
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'English']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:Augustus_Charles_Gregory . ?x rdf:type ontology:article }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2701314 Q1860
P361
Q5962346
USER
Which classification schemes are English or East Barito languages a portion of ?
OR((Q1860,P361,c(Q5962346)), (Q2701314,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q2701314
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q2701314', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?t ) { ( resource:Q1860 ) ( resource:Q2701314 ) } . ?t property:P361 ?x } . ?x rdf:type ontology:Q5962346 }
East Barito languages English
action filter_type
action union
action find
entity English
relation part of
action find
entity East Barito languages
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['East Barito languages', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?t ) { ( resource:English ) ( resource:East_Barito_languages ) } . ?t property:part_of ?x } . ?x rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q143158 Q2699398 Q5329170
SYSTEM
Anglic languages, Malayo-Polynesian languages, Western Malayo-Polynesian languages, Anglo-Frisian languages
Q1346342 Q143158 Q2699398 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q2701314,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q2701314
relation P361
type Q5962346
Languages [ANSWERS] are English or East Barito languages a portion of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q2701314', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?t ) { ( resource:Q1860 ) ( resource:Q2701314 ) } . ?t property:P361 ?x } . ?x rdf:type ontology:Q5962346 }
Anglic languages Malayo-Polynesian languages Western Malayo-Polynesian languages Anglo-Frisian languages
Languages Anglic languages, Malayo-Polynesian languages, Western Malayo-Polynesian languages and Anglo-Frisian languages are English or East Barito languages a portion of
Anglic languages Malayo-Polynesian languages Western Malayo-Polynesian languages Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity East Barito languages
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['East Barito languages', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?t ) { ( resource:English ) ( resource:East_Barito_languages ) } . ?t property:part_of ?x } . ?x rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q11862829 Q336 Q5962346
USER
How many classification schemes are parts of lesser number of academic disciplines and sciences than that classification scheme ?
(c(Q5962346),P361,c(Q11862829)|c(Q336))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q11862829'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?y ) ( ?x ) } . ?z property:P361 ?d } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q11862829 . ?x rdf:type ontology:Q336 }
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'academic discipline'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?y ) ( ?x ) } . ?z property:part_of ?d } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:academic_discipline . ?x rdf:type ontology:science }
[]
academic discipline science classification scheme
Comparative|Count over More/Less|Mult. entity type|Clarification
Q5329170
SYSTEM
Did you mean Anglo-Frisian languages ?
(c(Q5962346),P361,c(Q11862829)|c(Q336))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q11862829'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?y ) ( ?x ) } . ?z property:P361 ?d } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q11862829 . ?x rdf:type ontology:Q336 }
Did you mean Anglo-Frisian languages ?
Anglo-Frisian languages
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'academic discipline'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?d ) { ( ?y ) ( ?x ) } . ?z property:part_of ?d } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:academic_discipline . ?x rdf:type ontology:science }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Anglic languages. Could you tell me the answer for that?
(c(Q5962346),P361,c(Q11862829)|c(Q336))
Q1346342
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q11862829'}, {'concept': 'Q336'}]]
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'academic discipline'}, {'concept': 'science'}]]
[]
SYSTEM
150
Q814495 Q220131 Q18336 Q13295 Q905036 Q17308701 Q56936 Q7081687 Q1346342 Q7071313 Q2654422 Q2145956 Q2714388 Q16334497 Q5577428 Q35111 Q144713 Q380313 Q856638 Q33852 Q3064420 Q770723 Q484761 Q954321 Q1929812 Q33136 Q391015 Q853915 Q42250 Q205740 Q183257 Q853422 Q2701314 Q1422731 Q25433 Q1056396 Q574273 Q1429100 Q938245 Q1924856 Q294217 Q128030 Q10427676 Q3217376 Q126842 Q3217378 Q1380905 Q1193625 Q27660317 Q382113 Q3450906 Q16583941 Q1063076 Q3123021 Q7007379 Q6743068 Q1436372 Q25295 Q621080 Q1412461 Q599958 Q420591 Q16113196 Q2029930 Q2397881 Q396188 Q7632661 Q1255897 Q1153495 Q6424775 Q1334774 Q1603899 Q378426 Q1738162 Q3039115 Q812943 Q164273 Q13955118 Q161272 Q1481411 Q32906 Q615684 Q1944497 Q33750 Q7847646 Q335632 Q2458420 Q47307 Q323936 Q371304 Q2153999 Q1640108 Q34090 Q34230 Q3745514 Q2045692 Q2520728 Q336387 Q5617043 Q407784 Q591763 Q2520723 Q3217502 Q1362435 Q179805 Q1338164 Q185925 Q379838 Q10387 Q26721 Q5551285 Q986800 Q1200977 Q52040 Q380344 Q730675 Q11797549 Q30134 Q840400 Q1663002 Q18575626 Q372449 Q179957 Q624758 Q55640 Q5329170 Q12636140 Q7022532 Q192625 Q150971 Q294417 Q4663617 Q7974669 Q456632 Q3699526 Q1460420 Q149584 Q171184 Q828395 Q33932 Q10374568 Q1421211 Q687826 Q180592 Q1323395 Q190637 Q4866154 Q163629 Q5381001 Q175002
(c(Q5962346),P361,c(Q11862829)|c(Q336))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q11862829'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q11862829 . ?x rdf:type ontology:Q336 }
Services for the disabled zoo architecture heraldry South Estonian computational sociology Gogodala languages Rgyalrongic languages Ok languages Anglic languages Nyungic languages sector of archives Capacity management Western Romance languages Type IXC/40 submarine Gogodala–Suki Chatino language East Slavic languages archival science library catalog Northwest Caucasian languages Ngero–Vitiaz languages auxiliary sciences of history philosophy of language Gallo-Iberian languages systemic therapy Baltic languages Eastern Iranian languages Economic geology hydrology Egyptian mythology psychotherapy Paleomagnetism East Barito languages Oghur languages Low German human resource management municipal law Igboid languages Vanguard-class submarine metal construction public sector dynamics civil defense Western Visayan languages philosophy of law Central Visayan languages social psychiatry social research Rural geography Admiralty law Behavioural Biology German Type IXD-2 submarine voluntary sector Atlas languages business process management Malekula Coastal languages Sira languages language family Library of Congress Classification psephology Occitano-Romance languages Micronesian languages Kairiru-Manam languages organizational studies Hindi languages Agricultural journalism Dreadnought-class submarine Dinka–Nuer languages configuration management Koch languages Lahnda languages Makaa–Njem languages diplomatics Kele languages North New Guinea languages Civil Service Law East Semitic languages earthworks social psychology IT service management Adamawa languages social computing Crop protection Mongolic languages Trukic languages mathematical finance Tsogo languages genealogy pharmacokinetics Gorontalo–Mongondow languages Central Algonquian languages switching technology Turkic languages Tungusic languages Filosofia latinoamericana industrial and organizational psychology Administrative Law in Germany digital history Gujarati languages child development private sector Administrative Procedure Law Central and South New Guinea languages Psychology of learning political philosophy Codicology graphic design Sigillography gerontology West Germanic languages Type IXB submarine Low German languages quaternary sector of the economy High German languages descriptive statistics quantitative research Type IXD-1 submarine Ingvaeonic languages evolutionary biology engineering construction Gorontalic Forest protection palaeography psychopathology primary sector of the economy Anglo-Frisian languages Manam languages Ngondi–Ngiri languages linguistic typology computer graphics Public Building Law (Germany) Abazgi languages Wati languages information privacy South Omotic languages emergency management organizational theory phylogeny social policy Ubangian languages Type IXC submarine Media psychology Mbam languages social philosophy Ekoid languages Web design Basa languages Ethiopian Semitic languages Environment, Health and Safety developmental psychology
150
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'academic discipline'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:academic_discipline . ?x rdf:type ontology:science }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1153495
P136
Q5962346 Q502895 Q2088357
USER
Which classification schemes are the genre for greater number of people or musical ensembles than configuration management ?
(c(Q502895)|c(Q2088357),P136,c(Q5962346))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q502895
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q1153495
relation P136
type Q502895
type Q2088357
[[{'concept': 'Q502895'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?q WHERE { { ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q5962346 . ?g property:P136 ?q } UNION { ?g property:P136 ?q . ?g rdf:type ontology:Q2088357 . ?q rdf:type ontology:Q5962346 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P136 resource:Q1153495 . { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?z > ?h ) }
configuration management
action greater
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type common name
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity configuration management
relation genre
type common name
type musical ensemble
[[{'concept': 'common name'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?q WHERE { { ?g rdf:type ontology:common_name . ?q rdf:type ontology:classification_scheme . ?g property:genre ?q } UNION { ?g property:genre ?q . ?g rdf:type ontology:musical_ensemble . ?q rdf:type ontology:classification_scheme } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:genre resource:configuration_management . { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?z > ?h ) }
[]
classification scheme common name musical ensemble
Q1457145 Q1107 Q281111
SYSTEM
cooking show, anime, Ghazal
Q1107 Q281111 Q336181 Q1366112 Q7696995 Q7603925 Q1457145 Q182415
(c(Q502895)|c(Q2088357),P136,c(Q5962346))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q502895
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q1153495
relation P136
type Q502895
type Q2088357
[ANSWERS] are the genre for greater number of people or musical ensembles than configuration management
[[{'concept': 'Q502895'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?q WHERE { { ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q5962346 . ?g property:P136 ?q } UNION { ?g property:P136 ?q . ?g rdf:type ontology:Q2088357 . ?q rdf:type ontology:Q5962346 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P136 resource:Q1153495 . { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?z > ?h ) }
anime Ghazal variety show television drama television comedy television documentary cooking show reality television
Cooking show, anime and Ghazal are the genre for greater number of people or musical ensembles than configuration management
cooking show anime Ghazal
action greater
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type common name
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity configuration management
relation genre
type common name
type musical ensemble
[[{'concept': 'common name'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?q WHERE { { ?g rdf:type ontology:common_name . ?q rdf:type ontology:classification_scheme . ?g property:genre ?q } UNION { ?g property:genre ?q . ?g rdf:type ontology:musical_ensemble . ?q rdf:type ontology:classification_scheme } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:genre resource:configuration_management . { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?z > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7696995
P136
Q5962346 Q502895 Q2088357
USER
And what about television comedy?
(c(Q502895)|c(Q2088357),P136,c(Q5962346))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q502895
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q7696995
relation P136
type Q502895
type Q2088357
[[{'concept': 'Q502895'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P136 resource:Q7696995 . { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q2088357 ) } . ?i rdf:type ?c } } } . FILTER ( ?u > ?b ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) ?w WHERE { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q2088357 ) } . ?x rdf:type ?p } GROUP BY ?w } }
television comedy
action greater
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type common name
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity television comedy
relation genre
type common name
type musical ensemble
[[{'concept': 'common name'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:genre resource:television_comedy . { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:musical_ensemble ) } . ?i rdf:type ?c } } } . FILTER ( ?u > ?b ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) ?w WHERE { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:musical_ensemble ) } . ?x rdf:type ?p } GROUP BY ?w } }
[]
classification scheme common name musical ensemble
Q1107 Q281111 Q7603925
SYSTEM
anime, Ghazal, television documentary
Q1107 Q281111 Q7603925 Q182415
(c(Q502895)|c(Q2088357),P136,c(Q5962346))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q502895
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q7696995
relation P136
type Q502895
type Q2088357
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P136 resource:Q7696995 . { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q2088357 ) } . ?i rdf:type ?c } } } . FILTER ( ?u > ?b ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) ?w WHERE { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q2088357 ) } . ?x rdf:type ?p } GROUP BY ?w } }
anime Ghazal television documentary reality television
anime Ghazal television documentary
action greater
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type common name
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity television comedy
relation genre
type common name
type musical ensemble
[[{'concept': 'common name'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:genre resource:television_comedy . { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:musical_ensemble ) } . ?i rdf:type ?c } } } . FILTER ( ?u > ?b ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) ?w WHERE { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:musical_ensemble ) } . ?x rdf:type ?p } GROUP BY ?w } }
[]