Simple Question (Direct)
Simple Question
Q19281772
P21
Q290
USER
Which sex does Francisco Bustamente possess ?
(Q19281772,P21,c(Q290))
action filter_type
action find
entity Q19281772
relation P21
type Q290
['Q19281772', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q19281772 property:P21 ?l . ?l rdf:type ontology:Q290 }
Francisco Bustamente
action filter_type
action find
entity Francisco Bustamente
relation gender
type sex
['Francisco Bustamente', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Francisco_Bustamente property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19281772,P21,c(Q290))
action filter_type
action find
entity Q19281772
relation P21
type Q290
Francisco Bustamente possesses un [ANSWER]
['Q19281772', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q19281772 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Francisco Bustamente possesses un male
male
action filter_type
action find
entity Francisco Bustamente
relation gender
type sex
['Francisco Bustamente', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Francisco_Bustamente property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19281772
P1412
Q34770
USER
Which language is spoken by that person ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q19281772
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q19281772 property:P1412 ?z }
Francisco Bustamente
action filter_type
action find
entity Francisco Bustamente
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:Francisco_Bustamente property:languages_spoken,_written_or_signed ?z }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q19281772
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q19281772 property:P1412 ?z }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Francisco Bustamente
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:Francisco_Bustamente property:languages_spoken,_written_or_signed ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q9779 Q34770
USER
Which languages utilizes around 2 notations or alphabets as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
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 ( COUNT ( ?f ) AS ?y ) ?a WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?f rdf:type ?v } GROUP BY ?a } . FILTER ( ?y = 2 ) }
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 alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?a WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } . ?f rdf:type ?v } GROUP BY ?a } . FILTER ( ?y = 2 ) }
[]
notation alphabet language
Q29572
SYSTEM
Avestan
Q29572
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
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] utilizes around 2 notations or alphabets as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?a WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?f rdf:type ?v } GROUP BY ?a } . FILTER ( ?y = 2 ) }
Avestan
Avestan utilizes around 2 notations or alphabets as the writing system
Avestan
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 alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?a WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } . ?f rdf:type ?v } GROUP BY ?a } . FILTER ( ?y = 2 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29572 Q4367180 Q4345945
P361
Q5962346
USER
Is that language a part of Hrabri-class submarine and Vikhan Sheepdog ?
(Q29572,P361,Q4367180) (Q29572,P361,Q4345945)
action is_in
entity Q29572
action intersection
action find_reverse
entity Q4367180
relation P361
action find_reverse
entity Q4345945
relation P361
['Q29572', 'P361', 'Q4367180'] ['Q29572', 'P361', 'Q4345945']
ASK WHERE { resource:Q29572 property:P361 resource:Q4367180 . resource:Q29572 property:P361 resource:Q4345945 }
Avestan Hrabri-class submarine Vikhan Sheepdog
action is_in
entity Avestan
action intersection
action find_reverse
entity Hrabri-class submarine
relation part of
action find_reverse
entity Vikhan Sheepdog
relation part of
['Avestan', 'part of', 'Hrabri-class submarine'] ['Avestan', 'part of', 'Vikhan Sheepdog']
ASK WHERE { resource:Avestan property:part_of resource:Hrabri-class_submarine . resource:Avestan property:part_of resource:Vikhan_Sheepdog }
[]
classification scheme
SYSTEM
NO
(Q29572,P361,Q4367180) (Q29572,P361,Q4345945)
action is_in
entity Q29572
action intersection
action find_reverse
entity Q4367180
relation P361
action find_reverse
entity Q4345945
relation P361
[ANSWER]
['Q29572', 'P361', 'Q4367180'] ['Q29572', 'P361', 'Q4345945']
ASK WHERE { resource:Q29572 property:P361 resource:Q4367180 . resource:Q29572 property:P361 resource:Q4345945 }
No
action is_in
entity Avestan
action intersection
action find_reverse
entity Hrabri-class submarine
relation part of
action find_reverse
entity Vikhan Sheepdog
relation part of
['Avestan', 'part of', 'Hrabri-class submarine'] ['Avestan', 'part of', 'Vikhan Sheepdog']
ASK WHERE { resource:Avestan property:part_of resource:Hrabri-class_submarine . resource:Avestan property:part_of resource:Vikhan_Sheepdog }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19281772 Q3054303 Q1489
P20
Q56061
USER
Does Francisco Bustamente have Đedovci and Mexico City as the location of death ?
(Q19281772,P20,Q3054303) (Q19281772,P20,Q1489)
action is_in
entity Q19281772
action intersection
action find_reverse
entity Q3054303
relation P20
action find_reverse
entity Q1489
relation P20
['Q19281772', 'P20', 'Q3054303'] ['Q19281772', 'P20', 'Q1489']
ASK WHERE { resource:Q19281772 property:P20 resource:Q3054303 . resource:Q19281772 property:P20 resource:Q1489 }
Francisco Bustamente Đedovci Mexico City
action is_in
entity Francisco Bustamente
action intersection
action find_reverse
entity Đedovci
relation place of death
action find_reverse
entity Mexico City
relation place of death
['Francisco Bustamente', 'place of death', 'Đedovci'] ['Francisco Bustamente', 'place of death', 'Mexico City']
ASK WHERE { resource:Francisco_Bustamente property:place_of_death resource:Đedovci . resource:Francisco_Bustamente property:place_of_death resource:Mexico_City }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q19281772,P20,Q3054303) (Q19281772,P20,Q1489)
action is_in
entity Q19281772
action intersection
action find_reverse
entity Q3054303
relation P20
action find_reverse
entity Q1489
relation P20
[ANSWER]
['Q19281772', 'P20', 'Q3054303'] ['Q19281772', 'P20', 'Q1489']
ASK WHERE { resource:Q19281772 property:P20 resource:Q3054303 . resource:Q19281772 property:P20 resource:Q1489 }
NO and YES respectively
action is_in
entity Francisco Bustamente
action intersection
action find_reverse
entity Đedovci
relation place of death
action find_reverse
entity Mexico City
relation place of death
['Francisco Bustamente', 'place of death', 'Đedovci'] ['Francisco Bustamente', 'place of death', 'Mexico City']
ASK WHERE { resource:Francisco_Bustamente property:place_of_death resource:Đedovci . resource:Francisco_Bustamente property:place_of_death resource:Mexico_City }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19281772
P19
Q112865
USER
Which Mexican administrative territory is the place of birth of that person ?
action filter_type
action find
entity Q19281772
relation P19
type Q112865
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q112865 . resource:Q19281772 property:P19 ?v }
Francisco Bustamente
action filter_type
action find
entity Francisco Bustamente
relation place of birth
type administrative territorial entity of Mexico
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity_of_Mexico . resource:Francisco_Bustamente property:place_of_birth ?v }
[]
administrative territorial entity of Mexico
Q2449310
SYSTEM
Miahuatlán de Porfirio Díaz
Q2449310
action filter_type
action find
entity Q19281772
relation P19
type Q112865
[ANSWER] is the place of birth of that person
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q112865 . resource:Q19281772 property:P19 ?v }
Miahuatlán de Porfirio Díaz
Miahuatlán de Porfirio Díaz is the place of birth of that person
Miahuatlán de Porfirio Díaz
action filter_type
action find
entity Francisco Bustamente
relation place of birth
type administrative territorial entity of Mexico
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity_of_Mexico . resource:Francisco_Bustamente property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19281772
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2449310,P27,c(Q15617994))
action filter_type
action find
entity Q19281772
relation P27
type Q15617994
['Q2449310', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19281772 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Francisco Bustamente
action filter_type
action find
entity Francisco Bustamente
relation country of citizenship
type designation for an administrative territorial entity
['Miahuatlán de Porfirio Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Francisco_Bustamente property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q2449310,P27,c(Q15617994))
action filter_type
action find
entity Q19281772
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2449310', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19281772 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Mexico
Mexico is the native country of that person
Mexico
action filter_type
action find
entity Francisco Bustamente
relation country of citizenship
type designation for an administrative territorial entity
['Miahuatlán de Porfirio Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Francisco_Bustamente property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P36
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(Q96,P36,c(Q56061))
action filter_type
action find
entity Q96
relation P36
type Q56061
['Q96', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q96 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Mexico
action filter_type
action find
entity Mexico
relation capital
type administrative territorial entity
['Mexico', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mexico property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489
SYSTEM
Mexico City
Q1489
(Q96,P36,c(Q56061))
action filter_type
action find
entity Q96
relation P36
type Q56061
[ANSWER] is the capital of that administrative territory
['Q96', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q96 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Mexico City
Mexico City is the capital of that administrative territory
Mexico City
action filter_type
action find
entity Mexico
relation capital
type administrative territorial entity
['Mexico', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mexico property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1489
P237
Q17335294
USER
What is the ensign for that administrative territory ?
(Q1489,P237,c(Q17335294))
action filter_type
action find
entity Q1489
relation P237
type Q17335294
['Q1489', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q1489 property:P237 ?s . ?s rdf:type ontology:Q17335294 }
Mexico City
action filter_type
action find
entity Mexico City
relation coat of arms
type flag or coat of arms
['Mexico City', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Mexico_City property:coat_of_arms ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1947763
SYSTEM
Coat of arms of Federal District
Q1947763
(Q1489,P237,c(Q17335294))
action filter_type
action find
entity Q1489
relation P237
type Q17335294
The ensign for that administrative territory is the [ANSWER]
['Q1489', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q1489 property:P237 ?s . ?s rdf:type ontology:Q17335294 }
Coat of arms of Federal District
The ensign for that administrative territory is the Coat of arms of Federal District
Coat of arms of Federal District
action filter_type
action find
entity Mexico City
relation coat of arms
type flag or coat of arms
['Mexico City', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Mexico_City property:coat_of_arms ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P172
Q502895
USER
Which person has Mexico as his/her race ?
(c(Q502895),P172,Q96)
action filter_type
action find_reverse
entity Q96
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q96']
SELECT DISTINCT ?a WHERE { ?a property:P172 resource:Q96 . ?a rdf:type ontology:Q502895 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Mexico']
SELECT DISTINCT ?a WHERE { ?a property:ethnic_group resource:Mexico . ?a rdf:type ontology:common_name }
[]
common name
Q18356059
SYSTEM
Francisco Sánchez Ramos
Q18356059
(c(Q502895),P172,Q96)
action filter_type
action find_reverse
entity Q96
relation P172
type Q502895
[ANSWER] has Mexico as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q96']
SELECT DISTINCT ?a WHERE { ?a property:P172 resource:Q96 . ?a rdf:type ontology:Q502895 }
Francisco Sánchez Ramos
Francisco Sánchez Ramos has Mexico as his/her race
Francisco Sánchez Ramos
action filter_type
action find_reverse
entity Mexico
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Mexico']
SELECT DISTINCT ?a WHERE { ?a property:ethnic_group resource:Mexico . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q18356059,P30,c(Q2221906))
action filter_type
action find
entity Q96
relation P30
type Q2221906
['Q18356059', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2221906 . resource:Q96 property:P30 ?v }
Mexico
action filter_type
action find
entity Mexico
relation continent
type geographic location
['Francisco Sánchez Ramos', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:geographic_location . resource:Mexico property:continent ?v }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q18356059,P30,c(Q2221906))
action filter_type
action find
entity Q96
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q18356059', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2221906 . resource:Q96 property:P30 ?v }
North America
That administrative territory is located in North America
North America
action filter_type
action find
entity Mexico
relation continent
type geographic location
['Francisco Sánchez Ramos', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:geographic_location . resource:Mexico property:continent ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P163
Q14660
USER
Which flag is associated with Mexico ?
(Q96,P163,c(Q14660))
action filter_type
action find
entity Q96
relation P163
type Q14660
['Q96', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q14660 . resource:Q96 property:P163 ?r }
Mexico
action filter_type
action find
entity Mexico
relation flag
type flag
['Mexico', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:flag . resource:Mexico property:flag ?r }
[]
flag
Q122462
SYSTEM
flag of Mexico
Q122462
(Q96,P163,c(Q14660))
action filter_type
action find
entity Q96
relation P163
type Q14660
Mexico [ANSWER] is associated with Mexico
['Q96', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q14660 . resource:Q96 property:P163 ?r }
flag of Mexico
Mexico flag of Mexico is associated with Mexico
flag of Mexico
action filter_type
action find
entity Mexico
relation flag
type flag
['Mexico', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:flag . resource:Mexico property:flag ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q330988
Q14660
USER
And also tell me about Democratic Kampuchea?
(Q330988,P163,c(Q14660))
action filter_type
action find
entity Q330988
relation P163
type Q14660
['Q330988', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q330988 property:P163 ?s . ?s rdf:type ontology:Q14660 }
Democratic Kampuchea
action filter_type
action find
entity Democratic Kampuchea
relation flag
type flag
['Democratic Kampuchea', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Democratic_Kampuchea property:flag ?s . ?s rdf:type ontology:flag }
[]
flag
Q162999
SYSTEM
Flag of Cambodia
Q162999
(Q330988,P163,c(Q14660))
action filter_type
action find
entity Q330988
relation P163
type Q14660
[ANSWER]
['Q330988', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q330988 property:P163 ?s . ?s rdf:type ontology:Q14660 }
Flag of Cambodia
Flag of Cambodia
action filter_type
action find
entity Democratic Kampuchea
relation flag
type flag
['Democratic Kampuchea', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Democratic_Kampuchea property:flag ?s . ?s rdf:type ontology:flag }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P37
Q34770 Q13220204 Q15617994
USER
Which languages are considered to be the official language of min number of administrative country subdivisions or administrative territories ?
(c(Q13220204)|c(Q15617994),P37,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
[[{'concept': 'Q13220204'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } . ?m rdf:type ?o } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P37 ?d . ?d rdf:type ontology:Q34770 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P37 ?d . ?d rdf:type ontology:Q34770 . ?v rdf:type ontology:Q13220204 } } GROUP BY ?d } . FILTER ( ?h = ?r ) }
action argmin
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?m rdf:type ?o } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:official_language ?d . ?d rdf:type ontology:language . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:official_language ?d . ?d rdf:type ontology:language . ?v rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?d } . FILTER ( ?h = ?r ) }
[]
language second-level administrative country subdivision designation for an administrative territorial entity
Q33251 Q35499 Q35726
SYSTEM
Church Slavonic, Old Church Slavonic, Etruscan
Q33251 Q13211 Q3110592 Q36206 Q36880 Q33976 Q35499 Q35726
(c(Q13220204)|c(Q15617994),P37,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
[ANSWERS] are considered to be the official language of min number of administrative country subdivisions or administrative territories
[[{'concept': 'Q13220204'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } . ?m rdf:type ?o } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P37 ?d . ?d rdf:type ontology:Q34770 . ?v rdf:type ontology:Q15617994 } UNION { ?v property:P37 ?d . ?d rdf:type ontology:Q34770 . ?v rdf:type ontology:Q13220204 } } GROUP BY ?d } . FILTER ( ?h = ?r ) }
Church Slavonic Ruthenian written Chinese Lak Bulgar language Sardinian language Old Church Slavonic Etruscan
Church Slavonic, Old Church Slavonic and Etruscan are considered to be the official language of min number of administrative country subdivisions or administrative territories
Church Slavonic Old Church Slavonic Etruscan
action argmin
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?m rdf:type ?o } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:official_language ?d . ?d rdf:type ontology:language . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:official_language ?d . ?d rdf:type ontology:language . ?v rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?d } . FILTER ( ?h = ?r ) }
[]