Simple Question (Direct)
Simple Question
Q3148219
P1412
Q34770
USER
Which language is Ignacio de Luzán Claramunt de Suelves y Gurrea capable of writing ?
(Q3148219,P1412,c(Q34770))
action filter_type
action find
entity Q3148219
relation P1412
type Q34770
['Q3148219', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3148219 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Ignacio de Luzán Claramunt de Suelves y Gurrea
action filter_type
action find
entity Ignacio de Luzán Claramunt de Suelves y Gurrea
relation languages spoken, written or signed
type language
['Ignacio de Luzán Claramunt de Suelves y Gurrea', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Ignacio_de_Luzán_Claramunt_de_Suelves_y_Gurrea property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3148219,P1412,c(Q34770))
action filter_type
action find
entity Q3148219
relation P1412
type Q34770
[ANSWER] is Ignacio de Luzán Claramunt de Suelves y Gurrea capable of writing
['Q3148219', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3148219 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Spanish
Spanish is Ignacio de Luzán Claramunt de Suelves y Gurrea capable of writing
Spanish
action filter_type
action find
entity Ignacio de Luzán Claramunt de Suelves y Gurrea
relation languages spoken, written or signed
type language
['Ignacio de Luzán Claramunt de Suelves y Gurrea', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Ignacio_de_Luzán_Claramunt_de_Suelves_y_Gurrea property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q9779 Q34770
USER
Which languages use exactly 2 notations and alphabets as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?e ) WHERE { { ?a property:P282 ?k . ?k rdf:type ontology:Q2001982 . ?a rdf:type ontology:Q34770 } UNION { ?a rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 . ?a property:P282 ?k } } GROUP BY ?a } . FILTER ( ?e = 2 ) }
action equal
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?e ) WHERE { { ?a property:writing_system ?k . ?k rdf:type ontology:notation . ?a rdf:type ontology:language } UNION { ?a rdf:type ontology:language . ?k rdf:type ontology:alphabet . ?a property:writing_system ?k } } GROUP BY ?a } . FILTER ( ?e = 2 ) }
[]
notation alphabet language
Q29572
SYSTEM
Avestan
Q29572
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[ANSWER] use exactly 2 notations and alphabets as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?e ) WHERE { { ?a property:P282 ?k . ?k rdf:type ontology:Q2001982 . ?a rdf:type ontology:Q34770 } UNION { ?a rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 . ?a property:P282 ?k } } GROUP BY ?a } . FILTER ( ?e = 2 ) }
Avestan
Avestan use exactly 2 notations and alphabets as the writing system
Avestan
action equal
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?e ) WHERE { { ?a property:writing_system ?k . ?k rdf:type ontology:notation . ?a rdf:type ontology:language } UNION { ?a rdf:type ontology:language . ?k rdf:type ontology:alphabet . ?a property:writing_system ?k } } GROUP BY ?a } . FILTER ( ?e = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1123960
P37
Q34770 Q7275
USER
How many states designates lesser number of languages as their official language than Conch Republic ?
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1123960
relation P37
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?d ) WHERE { ?m property:P37 ?i . ?m rdf:type ontology:Q7275 . ?i rdf:type ontology:Q34770 } GROUP BY ?m } . FILTER ( ?d < ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q1123960 property:P37 ?g . ?g rdf:type ontology:Q34770 } } }
Conch Republic
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Conch Republic
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?d ) WHERE { ?m property:official_language ?i . ?m rdf:type ontology:state . ?i rdf:type ontology:language } GROUP BY ?m } . FILTER ( ?d < ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Conch_Republic property:official_language ?g . ?g rdf:type ontology:language } } }
[]
language state
SYSTEM
47
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1123960
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?d ) WHERE { ?m property:P37 ?i . ?m rdf:type ontology:Q7275 . ?i rdf:type ontology:Q34770 } GROUP BY ?m } . FILTER ( ?d < ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q1123960 property:P37 ?g . ?g rdf:type ontology:Q34770 } } }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
47
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Conch Republic
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?d ) WHERE { ?m property:official_language ?i . ?m rdf:type ontology:state . ?i rdf:type ontology:language } GROUP BY ?m } . FILTER ( ?d < ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Conch_Republic property:official_language ?g . ?g rdf:type ontology:language } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q33946
P37
Q34770 Q7275
USER
And how about Czechoslovakia?
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q33946
relation P37
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?q ) WHERE { ?w property:P37 ?v . ?w rdf:type ontology:Q7275 . ?v rdf:type ontology:Q34770 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q33946 property:P37 ?g . ?g rdf:type ontology:Q34770 } } . FILTER ( ?q < ?h ) }
Czechoslovakia
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Czechoslovakia
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?q ) WHERE { ?w property:official_language ?v . ?w rdf:type ontology:state . ?v rdf:type ontology:language } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Czechoslovakia property:official_language ?g . ?g rdf:type ontology:language } } . FILTER ( ?q < ?h ) }
[]
language state
SYSTEM
47
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q33946
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?q ) WHERE { ?w property:P37 ?v . ?w rdf:type ontology:Q7275 . ?v rdf:type ontology:Q34770 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q33946 property:P37 ?g . ?g rdf:type ontology:Q34770 } } . FILTER ( ?q < ?h ) }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
47
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Czechoslovakia
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?q ) WHERE { ?w property:official_language ?v . ?w rdf:type ontology:state . ?v rdf:type ontology:language } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Czechoslovakia property:official_language ?g . ?g rdf:type ontology:language } } . FILTER ( ?q < ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9129 Q29572
P282
Q2001982
USER
Which notations are the writing systems of Avestan or Greek known as ?
OR((Q29572,P282,c(Q2001982)), (Q9129,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q29572
relation P282
action find
entity Q9129
relation P282
type Q2001982
{'OR': [['Q29572', 'P282', {'concept': 'Q2001982'}], ['Q9129', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?o ) { ( resource:Q29572 ) ( resource:Q9129 ) } . ?o property:P282 ?q } . ?q rdf:type ontology:Q2001982 }
Greek Avestan
action filter_type
action union
action find
entity Avestan
relation writing system
action find
entity Greek
relation writing system
type notation
{'OR': [['Avestan', 'writing system', {'concept': 'notation'}], ['Greek', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?o ) { ( resource:Avestan ) ( resource:Greek ) } . ?o property:writing_system ?q } . ?q rdf:type ontology:notation }
[]
notation
Q8216 Q790681 Q1771716
SYSTEM
Greek alphabet, Avestan alphabet, Pahlavi scripts
Q8216 Q790681 Q1771716
OR((Q29572,P282,c(Q2001982)), (Q9129,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q29572
relation P282
action find
entity Q9129
relation P282
type Q2001982
[ANSWERS] as the writing systems of Avestan or Greek are known
{'OR': [['Q29572', 'P282', {'concept': 'Q2001982'}], ['Q9129', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?o ) { ( resource:Q29572 ) ( resource:Q9129 ) } . ?o property:P282 ?q } . ?q rdf:type ontology:Q2001982 }
Greek alphabet Avestan alphabet Pahlavi scripts
Greek alphabet, Avestan alphabet and Pahlavi scripts as the writing systems of Avestan or Greek are known
Greek alphabet Avestan alphabet Pahlavi scripts
action filter_type
action union
action find
entity Avestan
relation writing system
action find
entity Greek
relation writing system
type notation
{'OR': [['Avestan', 'writing system', {'concept': 'notation'}], ['Greek', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?o ) { ( resource:Avestan ) ( resource:Greek ) } . ?o property:writing_system ?q } . ?q rdf:type ontology:notation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18327332
Q2001982
USER
And how about Yuriko?
(Q18327332,P282,c(Q2001982))
action filter_type
action find
entity Q18327332
relation P282
type Q2001982
['Q18327332', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?s WHERE { resource:Q18327332 property:P282 ?s . ?s rdf:type ontology:Q2001982 }
Yuriko
action filter_type
action find
entity Yuriko
relation writing system
type notation
['Yuriko', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?s WHERE { resource:Yuriko property:writing_system ?s . ?s rdf:type ontology:notation }
[]
notation
Q82772
SYSTEM
kanji
Q82772
(Q18327332,P282,c(Q2001982))
action filter_type
action find
entity Q18327332
relation P282
type Q2001982
[ANSWER]
['Q18327332', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?s WHERE { resource:Q18327332 property:P282 ?s . ?s rdf:type ontology:Q2001982 }
kanji
kanji
action filter_type
action find
entity Yuriko
relation writing system
type notation
['Yuriko', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?s WHERE { resource:Yuriko property:writing_system ?s . ?s rdf:type ontology:notation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q686210
Q2001982
USER
And what about Black Speech?
(Q686210,P282,c(Q2001982))
action filter_type
action find
entity Q686210
relation P282
type Q2001982
['Q686210', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?x WHERE { resource:Q686210 property:P282 ?x . ?x rdf:type ontology:Q2001982 }
Black Speech
action filter_type
action find
entity Black Speech
relation writing system
type notation
['Black Speech', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?x WHERE { resource:Black_Speech property:writing_system ?x . ?x rdf:type ontology:notation }
[]
notation
Q473725
SYSTEM
Tengwar
Q473725
(Q686210,P282,c(Q2001982))
action filter_type
action find
entity Q686210
relation P282
type Q2001982
[ANSWER]
['Q686210', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?x WHERE { resource:Q686210 property:P282 ?x . ?x rdf:type ontology:Q2001982 }
Tengwar
Tengwar
action filter_type
action find
entity Black Speech
relation writing system
type notation
['Black Speech', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?x WHERE { resource:Black_Speech property:writing_system ?x . ?x rdf:type ontology:notation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q686210
P170
Q502895
USER
Who is credited with the creation of Black Speech ?
(Q686210,P170,c(Q502895))
action filter_type
action find
entity Q686210
relation P170
type Q502895
['Q686210', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q686210 property:P170 ?u . ?u rdf:type ontology:Q502895 }
Black Speech
action filter_type
action find
entity Black Speech
relation creator
type common name
['Black Speech', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Black_Speech property:creator ?u . ?u rdf:type ontology:common_name }
[]
common name
Q892
SYSTEM
J. R. R. Tolkien
Q892
(Q686210,P170,c(Q502895))
action filter_type
action find
entity Q686210
relation P170
type Q502895
J. R. Tolkien is credited with the creation of Black Speech
['Q686210', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q686210 property:P170 ?u . ?u rdf:type ontology:Q502895 }
J. R. R. Tolkien
J. R. Tolkien is credited with the creation of Black Speech
J. R. R. Tolkien
action filter_type
action find
entity Black Speech
relation creator
type common name
['Black Speech', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Black_Speech property:creator ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23946934
Q502895
USER
And what about Circus Trio?
(Q23946934,P170,c(Q502895))
action filter_type
action find
entity Q23946934
relation P170
type Q502895
['Q23946934', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q23946934 property:P170 ?p . ?p rdf:type ontology:Q502895 }
Circus Trio
action filter_type
action find
entity Circus Trio
relation creator
type common name
['Circus Trio', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Circus_Trio property:creator ?p . ?p rdf:type ontology:common_name }
[]
common name
Q156128
SYSTEM
Georges Rouault
Q156128
(Q23946934,P170,c(Q502895))
action filter_type
action find
entity Q23946934
relation P170
type Q502895
[ANSWER]
['Q23946934', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q23946934 property:P170 ?p . ?p rdf:type ontology:Q502895 }
Georges Rouault
Georges Rouault
action filter_type
action find
entity Circus Trio
relation creator
type common name
['Circus Trio', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Circus_Trio property:creator ?p . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3544702
P282
Q2001982 Q34770 Q340169
USER
How many notations are used as the scripts for approximately the same number of languages or medias as Manichaean alphabet ?
(c(Q34770)|c(Q340169),P282,c(Q2001982))
action count
action approx
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q3544702
relation P282
type Q34770
type Q340169
[[{'concept': 'Q34770'}, {'concept': 'Q340169'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?b ) { ( ontology:Q34770 ) ( ontology:Q340169 ) } . ?a rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P282 resource:Q3544702 . { { ?f rdf:type ontology:Q34770 } UNION { ?f rdf:type ontology:Q340169 } } } } . FILTER ( ?v = ?x ) }
Manichaean alphabet
action count
action approx
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type media
action count
action filter_multi_types
action find_reverse
entity Manichaean alphabet
relation writing system
type language
type media
[[{'concept': 'language'}, {'concept': 'media'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?b ) { ( ontology:language ) ( ontology:media ) } . ?a rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:writing_system resource:Manichaean_alphabet . { { ?f rdf:type ontology:language } UNION { ?f rdf:type ontology:media } } } } . FILTER ( ?v = ?x ) }
[]
notation language media
SYSTEM
15
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770)|c(Q340169),P282,c(Q2001982))
action count
action approx
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q3544702
relation P282
type Q34770
type Q340169
[ANSWER]
[[{'concept': 'Q34770'}, {'concept': 'Q340169'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?b ) { ( ontology:Q34770 ) ( ontology:Q340169 ) } . ?a rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P282 resource:Q3544702 . { { ?f rdf:type ontology:Q34770 } UNION { ?f rdf:type ontology:Q340169 } } } } . FILTER ( ?v = ?x ) }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
15
action count
action approx
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type media
action count
action filter_multi_types
action find_reverse
entity Manichaean alphabet
relation writing system
type language
type media
[[{'concept': 'language'}, {'concept': 'media'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?b ) { ( ontology:language ) ( ontology:media ) } . ?a rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:writing_system resource:Manichaean_alphabet . { { ?f rdf:type ontology:language } UNION { ?f rdf:type ontology:media } } } } . FILTER ( ?v = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13586477
P282
Q2001982 Q34770 Q340169
USER
And what about Cantonese Braille?
(c(Q34770)|c(Q340169),P282,c(Q2001982))
action count
action approx
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q13586477
relation P282
type Q34770
type Q340169
[[{'concept': 'Q34770'}, {'concept': 'Q340169'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:P282 ?k . ?j rdf:type ontology:Q340169 . ?k rdf:type ontology:Q2001982 } UNION { ?j property:P282 ?k . ?k rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } } GROUP BY ?k } . FILTER ( ?h = ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P282 resource:Q13586477 . { { ?l rdf:type ontology:Q34770 } UNION { ?l rdf:type ontology:Q340169 } } } } }
Cantonese Braille
action count
action approx
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type media
action count
action filter_multi_types
action find_reverse
entity Cantonese Braille
relation writing system
type language
type media
[[{'concept': 'language'}, {'concept': 'media'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:writing_system ?k . ?j rdf:type ontology:media . ?k rdf:type ontology:notation } UNION { ?j property:writing_system ?k . ?k rdf:type ontology:notation . ?j rdf:type ontology:language } } GROUP BY ?k } . FILTER ( ?h = ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:writing_system resource:Cantonese_Braille . { { ?l rdf:type ontology:language } UNION { ?l rdf:type ontology:media } } } } }
[]
notation language media
SYSTEM
15
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770)|c(Q340169),P282,c(Q2001982))
action count
action approx
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q13586477
relation P282
type Q34770
type Q340169
[ANSWER]
[[{'concept': 'Q34770'}, {'concept': 'Q340169'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:P282 ?k . ?j rdf:type ontology:Q340169 . ?k rdf:type ontology:Q2001982 } UNION { ?j property:P282 ?k . ?k rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } } GROUP BY ?k } . FILTER ( ?h = ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P282 resource:Q13586477 . { { ?l rdf:type ontology:Q34770 } UNION { ?l rdf:type ontology:Q340169 } } } } }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
15
action count
action approx
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type media
action count
action filter_multi_types
action find_reverse
entity Cantonese Braille
relation writing system
type language
type media
[[{'concept': 'language'}, {'concept': 'media'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:writing_system ?k . ?j rdf:type ontology:media . ?k rdf:type ontology:notation } UNION { ?j property:writing_system ?k . ?k rdf:type ontology:notation . ?j rdf:type ontology:language } } GROUP BY ?k } . FILTER ( ?h = ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:writing_system resource:Cantonese_Braille . { { ?l rdf:type ontology:language } UNION { ?l rdf:type ontology:media } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q892 Q917687
P7
Q502895
USER
How many people had J. R. R. Tolkien or Lakshmana as brother ?
(c(Q502895),P7,Q892) (c(Q502895),P7,Q917687)
action count
action union
action filter_type
action find_reverse
entity Q892
relation P7
type Q502895
action filter_type
action find_reverse
entity Q917687
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q892'] [{'concept': 'Q502895'}, 'P7', 'Q917687']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:P7 resource:Q892 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P7 resource:Q917687 . ?q rdf:type ontology:Q502895 } }
J. R. R. Tolkien Lakshmana
action count
action union
action filter_type
action find_reverse
entity J. R. R. Tolkien
relation brother
type common name
action filter_type
action find_reverse
entity Lakshmana
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'J. R. R. Tolkien'] [{'concept': 'common name'}, 'brother', 'Lakshmana']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:brother resource:J._R._R._Tolkien . ?q rdf:type ontology:common_name } UNION { ?q property:brother resource:Lakshmana . ?q rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q10295543 Q17064714
(c(Q502895),P7,Q892) (c(Q502895),P7,Q917687)
action count
action union
action filter_type
action find_reverse
entity Q892
relation P7
type Q502895
action filter_type
action find_reverse
entity Q917687
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q892'] [{'concept': 'Q502895'}, 'P7', 'Q917687']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:P7 resource:Q892 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P7 resource:Q917687 . ?q rdf:type ontology:Q502895 } }
Hilary Arthur Reuel Tolkien Rama
2
action count
action union
action filter_type
action find_reverse
entity J. R. R. Tolkien
relation brother
type common name
action filter_type
action find_reverse
entity Lakshmana
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'J. R. R. Tolkien'] [{'concept': 'common name'}, 'brother', 'Lakshmana']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q property:brother resource:J._R._R._Tolkien . ?q rdf:type ontology:common_name } UNION { ?q property:brother resource:Lakshmana . ?q rdf:type ontology:common_name } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q2001982 Q315 Q34770
USER
Which notations are utilized as the script for min number of languages and languages ?
(c(Q315)|c(Q34770),P282,c(Q2001982))
action argmin
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q315
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
[[{'concept': 'Q315'}, {'concept': 'Q34770'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?z WHERE { { ?z rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q315 . ?y property:P282 ?z } UNION { ?z rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?z } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?c WHERE { { ?b property:P282 ?c . ?c rdf:type ontology:Q2001982 . ?b rdf:type ontology:Q315 } UNION { ?c rdf:type ontology:Q2001982 . ?b rdf:type ontology:Q34770 . ?b property:P282 ?c } } GROUP BY ?c } . FILTER ( ?l = ?v ) }
action argmin
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type language
[[{'concept': 'language'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?z WHERE { { ?z rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?z } UNION { ?z rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?z } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?c WHERE { { ?b property:writing_system ?c . ?c rdf:type ontology:notation . ?b rdf:type ontology:language } UNION { ?c rdf:type ontology:notation . ?b rdf:type ontology:language . ?b property:writing_system ?c } } GROUP BY ?c } . FILTER ( ?l = ?v ) }
[]
notation language language
Q1089000 Q3544702 Q1828555
SYSTEM
Sarati, Manichaean alphabet, Arabic script
Q3544702 Q1828555 Q321083 Q209764 Q187659 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q315)|c(Q34770),P282,c(Q2001982))
action argmin
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q315
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
[ANSWERS] are utilized as the script for min number of languages and languages
[[{'concept': 'Q315'}, {'concept': 'Q34770'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?z WHERE { { ?z rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q315 . ?y property:P282 ?z } UNION { ?z rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?z } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?c WHERE { { ?b property:P282 ?c . ?c rdf:type ontology:Q2001982 . ?b rdf:type ontology:Q315 } UNION { ?c rdf:type ontology:Q2001982 . ?b rdf:type ontology:Q34770 . ?b property:P282 ?c } } GROUP BY ?c } . FILTER ( ?l = ?v ) }
Manichaean alphabet Arabic script Coptic alphabet Rongorongo kana Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Sarati, Manichaean alphabet and Arabic script are utilized as the script for min number of languages and languages
Sarati Manichaean alphabet Arabic script
action argmin
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type language
[[{'concept': 'language'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?z WHERE { { ?z rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?z } UNION { ?z rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?z } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?c WHERE { { ?b property:writing_system ?c . ?c rdf:type ontology:notation . ?b rdf:type ontology:language } UNION { ?c rdf:type ontology:notation . ?b rdf:type ontology:language . ?b property:writing_system ?c } } GROUP BY ?c } . FILTER ( ?l = ?v ) }
[]