Simple Question (Direct)
Simple Question
Q8026137
P1412
Q34770
USER
Which language can Winston Tong understand ?
(Q8026137,P1412,c(Q34770))
action filter_type
action find
entity Q8026137
relation P1412
type Q34770
['Q8026137', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q8026137 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Winston Tong
action filter_type
action find
entity Winston Tong
relation languages spoken, written or signed
type language
['Winston Tong', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Winston_Tong property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q8026137,P1412,c(Q34770))
action filter_type
action find
entity Q8026137
relation P1412
type Q34770
Winston Tong can understand [ANSWER]
['Q8026137', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q8026137 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
English
Winston Tong can understand English
English
action filter_type
action find
entity Winston Tong
relation languages spoken, written or signed
type language
['Winston Tong', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Winston_Tong property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8026137
P264
Q334453
USER
Which division is the record brand of Winston Tong ?
(Q8026137,P264,c(Q334453))
action filter_type
action find
entity Q8026137
relation P264
type Q334453
['Q8026137', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q334453 . resource:Q8026137 property:P264 ?i }
Winston Tong
action filter_type
action find
entity Winston Tong
relation record label
type division
['Winston Tong', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:division . resource:Winston_Tong property:record_label ?i }
[]
division
Q258355
SYSTEM
LTM Recordings
Q258355
(Q8026137,P264,c(Q334453))
action filter_type
action find
entity Q8026137
relation P264
type Q334453
[ANSWER] is the record brand of Winston Tong
['Q8026137', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q334453 . resource:Q8026137 property:P264 ?i }
LTM Recordings
LTM Recordings is the record brand of Winston Tong
LTM Recordings
action filter_type
action find
entity Winston Tong
relation record label
type division
['Winston Tong', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:division . resource:Winston_Tong property:record_label ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q258355 Q8026137
P264
Q502895
USER
Does Winston Tong have that division as its recording sponsor ?
(Q8026137,P264,Q258355)
action is_in
entity Q258355
action find
entity Q8026137
relation P264
['Q8026137', 'P264', 'Q258355']
ASK WHERE { resource:Q8026137 property:P264 resource:Q258355 }
LTM Recordings Winston Tong
action is_in
entity LTM Recordings
action find
entity Winston Tong
relation record label
['Winston Tong', 'record label', 'LTM Recordings']
ASK WHERE { resource:Winston_Tong property:record_label resource:LTM_Recordings }
[]
common name
SYSTEM
YES
(Q8026137,P264,Q258355)
action is_in
entity Q258355
action find
entity Q8026137
relation P264
[ANSWER]
['Q8026137', 'P264', 'Q258355']
ASK WHERE { resource:Q8026137 property:P264 resource:Q258355 }
Yes
action is_in
entity LTM Recordings
action find
entity Winston Tong
relation record label
['Winston Tong', 'record label', 'LTM Recordings']
ASK WHERE { resource:Winston_Tong property:record_label resource:LTM_Recordings }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q1048835 Q15617994
USER
Which languages are the official languages of approximately 3 political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
value 3
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?b WHERE { { ?c property:P37 ?b . ?b rdf:type ontology:Q34770 . ?c rdf:type ontology:Q1048835 } UNION { ?c property:P37 ?b . ?b rdf:type ontology:Q34770 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?b } . FILTER ( ?n = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
value 3
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?b WHERE { { ?c property:official_language ?b . ?b rdf:type ontology:language . ?c rdf:type ontology:political_territorial_entity } UNION { ?c property:official_language ?b . ?b rdf:type ontology:language . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?n = 3 ) }
[]
language political territorial entity designation for an administrative territorial entity
Q9056 Q33251 Q8752
SYSTEM
Czech, Church Slavonic, Basque
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q1048835)|c(Q15617994),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
value 3
[ANSWERS] are the official languages of approximately 3 political territories or administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?b WHERE { { ?c property:P37 ?b . ?b rdf:type ontology:Q34770 . ?c rdf:type ontology:Q1048835 } UNION { ?c property:P37 ?b . ?b rdf:type ontology:Q34770 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?b } . FILTER ( ?n = 3 ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
Czech, Church Slavonic and Basque are the official languages of approximately 3 political territories or administrative territories
Czech Church Slavonic Basque
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
value 3
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?b WHERE { { ?c property:official_language ?b . ?b rdf:type ontology:language . ?c rdf:type ontology:political_territorial_entity } UNION { ?c property:official_language ?b . ?b rdf:type ontology:language . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?n = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3768390 Q8026137
P19
Q56061
USER
Which administrative territories were Winston Tong or Giovanni Zanobi Weber born ?
OR((Q8026137,P19,c(Q56061)), (Q3768390,P19,c(Q56061)))
action filter_type
action union
action find
entity Q8026137
relation P19
action find
entity Q3768390
relation P19
type Q56061
{'OR': [['Q8026137', 'P19', {'concept': 'Q56061'}], ['Q3768390', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3768390 property:P19 ?b } UNION { resource:Q8026137 property:P19 ?b } } . ?b rdf:type ontology:Q56061 }
Giovanni Zanobi Weber Winston Tong
action filter_type
action union
action find
entity Winston Tong
relation place of birth
action find
entity Giovanni Zanobi Weber
relation place of birth
type administrative territorial entity
{'OR': [['Winston Tong', 'place of birth', {'concept': 'administrative territorial entity'}], ['Giovanni Zanobi Weber', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Giovanni_Zanobi_Weber property:place_of_birth ?b } UNION { resource:Winston_Tong property:place_of_birth ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q62 Q2044
SYSTEM
San Francisco, Florence
Q62 Q2044
OR((Q8026137,P19,c(Q56061)), (Q3768390,P19,c(Q56061)))
action filter_type
action union
action find
entity Q8026137
relation P19
action find
entity Q3768390
relation P19
type Q56061
Winston Tong or Giovanni Zanobi Weber were born in [ANSWERS]
{'OR': [['Q8026137', 'P19', {'concept': 'Q56061'}], ['Q3768390', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3768390 property:P19 ?b } UNION { resource:Q8026137 property:P19 ?b } } . ?b rdf:type ontology:Q56061 }
San Francisco Florence
Winston Tong or Giovanni Zanobi Weber were born in San Francisco and Florence
San Francisco Florence
action filter_type
action union
action find
entity Winston Tong
relation place of birth
action find
entity Giovanni Zanobi Weber
relation place of birth
type administrative territorial entity
{'OR': [['Winston Tong', 'place of birth', {'concept': 'administrative territorial entity'}], ['Giovanni Zanobi Weber', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Giovanni_Zanobi_Weber property:place_of_birth ?b } UNION { resource:Winston_Tong property:place_of_birth ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4573419 Q258355
P17
Q15617994
USER
Which administrative territories are LTM Recordings or 1968–69 Svenska Cupen a part of ?
OR((Q258355,P17,c(Q15617994)), (Q4573419,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q258355
relation P17
action find
entity Q4573419
relation P17
type Q15617994
{'OR': [['Q258355', 'P17', {'concept': 'Q15617994'}], ['Q4573419', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q258355 property:P17 ?z } UNION { resource:Q4573419 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
1968–69 Svenska Cupen LTM Recordings
action filter_type
action union
action find
entity LTM Recordings
relation country
action find
entity 1968–69 Svenska Cupen
relation country
type designation for an administrative territorial entity
{'OR': [['LTM Recordings', 'country', {'concept': 'designation for an administrative territorial entity'}], ['1968–69 Svenska Cupen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:LTM_Recordings property:country ?z } UNION { resource:1968–69_Svenska_Cupen property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q34
SYSTEM
United Kingdom, Sweden
Q145 Q34
OR((Q258355,P17,c(Q15617994)), (Q4573419,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q258355
relation P17
action find
entity Q4573419
relation P17
type Q15617994
Are LTM Recordings or 1968 – 69 Svenska Cupen a part of the [ANSWERS]
{'OR': [['Q258355', 'P17', {'concept': 'Q15617994'}], ['Q4573419', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q258355 property:P17 ?z } UNION { resource:Q4573419 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
United Kingdom Sweden
Are LTM Recordings or 1968 – 69 Svenska Cupen a part of the United Kingdom and Sweden
United Kingdom Sweden
action filter_type
action union
action find
entity LTM Recordings
relation country
action find
entity 1968–69 Svenska Cupen
relation country
type designation for an administrative territorial entity
{'OR': [['LTM Recordings', 'country', {'concept': 'designation for an administrative territorial entity'}], ['1968–69 Svenska Cupen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:LTM_Recordings property:country ?z } UNION { resource:1968–69_Svenska_Cupen property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7362035
P282
Q2001982 Q8192 Q34770
USER
Which languages utilizes approximately the same number of notations and writing systems as the writing system as Roman Khowar ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q7362035
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { { ?c property:P282 ?r . ?c rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } UNION { ?c property:P282 ?r . ?c rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q7362035 property:P282 ?v . { { ?v rdf:type ontology:Q2001982 } UNION { ?v rdf:type ontology:Q8192 } } } } . FILTER ( ?b = ?p ) }
Roman Khowar
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Roman Khowar
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { { ?c property:writing_system ?r . ?c rdf:type ontology:language . ?r rdf:type ontology:notation } UNION { ?c property:writing_system ?r . ?c rdf:type ontology:language . ?r rdf:type ontology:writing_system } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Roman_Khowar property:writing_system ?v . { { ?v rdf:type ontology:notation } UNION { ?v rdf:type ontology:writing_system } } } } . FILTER ( ?b = ?p ) }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q7362035
relation P282
type Q2001982
type Q8192
[ANSWERS] utilize approximately the same number of notations and writing systems as the writing system as Roman Khowar
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { { ?c property:P282 ?r . ?c rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } UNION { ?c property:P282 ?r . ?c rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q7362035 property:P282 ?v . { { ?v rdf:type ontology:Q2001982 } UNION { ?v rdf:type ontology:Q8192 } } } } . FILTER ( ?b = ?p ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English, Old Egyptian and Norn utilize approximately the same number of notations and writing systems as the writing system as Roman Khowar
English Old Egyptian Norn
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Roman Khowar
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { { ?c property:writing_system ?r . ?c rdf:type ontology:language . ?r rdf:type ontology:notation } UNION { ?c property:writing_system ?r . ?c rdf:type ontology:language . ?r rdf:type ontology:writing_system } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Roman_Khowar property:writing_system ?v . { { ?v rdf:type ontology:notation } UNION { ?v rdf:type ontology:writing_system } } } } . FILTER ( ?b = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1321
P282
Q2001982 Q8192 Q34770
USER
And also tell me about Spanish?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q1321
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?f rdf:type ?z } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } . resource:Q1321 property:P282 ?e } } . FILTER ( ?q = ?h ) }
Spanish
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Spanish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:notation ) ( ontology:writing_system ) } . ?f rdf:type ?z } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:notation ) } } . resource:Spanish property:writing_system ?e } } . FILTER ( ?q = ?h ) }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q1321
relation P282
type Q2001982
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?f rdf:type ?z } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } . resource:Q1321 property:P282 ?e } } . FILTER ( ?q = ?h ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English Old Egyptian Norn
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Spanish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:notation ) ( ontology:writing_system ) } . ?f rdf:type ?z } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:notation ) } } . resource:Spanish property:writing_system ?e } } . FILTER ( ?q = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13211
P37
Q34770 Q15617994 Q7275
USER
How many languages are considered to be the official language of approximately the same number of administrative territories and states as Ruthenian ?
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q13211
relation P37
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:P37 resource:Q13211 . { { ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q7275 } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } GROUP BY ?o } }
Ruthenian
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Ruthenian
relation official language
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:official_language resource:Ruthenian . { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:state } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } GROUP BY ?o } }
[]
language designation for an administrative territorial entity state
SYSTEM
14
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q13211
relation P37
type Q15617994
type Q7275
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:P37 resource:Q13211 . { { ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q7275 } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } } GROUP BY ?o } }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
14
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Ruthenian
relation official language
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:official_language resource:Ruthenian . { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:state } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } } GROUP BY ?o } }
[]