Simple Question (Direct)
Simple Question
Q1384546
P241
Q781132
USER
Which military branch did Puggy Pearson belong to ?
(Q1384546,P241,c(Q781132))
action filter_type
action find
entity Q1384546
relation P241
type Q781132
['Q1384546', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q781132 . resource:Q1384546 property:P241 ?r }
Puggy Pearson
action filter_type
action find
entity Puggy Pearson
relation military branch
type military branch
['Puggy Pearson', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:military_branch . resource:Puggy_Pearson property:military_branch ?r }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q1384546,P241,c(Q781132))
action filter_type
action find
entity Q1384546
relation P241
type Q781132
Puggy Pearson belonged to [ANSWER]
['Q1384546', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q781132 . resource:Q1384546 property:P241 ?r }
United States Navy
Puggy Pearson belonged to United States Navy
United States Navy
action filter_type
action find
entity Puggy Pearson
relation military branch
type military branch
['Puggy Pearson', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:military_branch . resource:Puggy_Pearson property:military_branch ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1384546
P19
Q852446
USER
Which US administrative territory was that person born in ?
(Q11220,P19,c(Q852446))
action filter_type
action find
entity Q1384546
relation P19
type Q852446
['Q11220', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?x WHERE { resource:Q1384546 property:P19 ?x . ?x rdf:type ontology:Q852446 }
Puggy Pearson
action filter_type
action find
entity Puggy Pearson
relation place of birth
type administrative territorial entity of the United States
['United States Navy', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?x WHERE { resource:Puggy_Pearson property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1509
SYSTEM
Tennessee
Q1509
(Q11220,P19,c(Q852446))
action filter_type
action find
entity Q1384546
relation P19
type Q852446
The [ANSWER] was that person born in
['Q11220', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?x WHERE { resource:Q1384546 property:P19 ?x . ?x rdf:type ontology:Q852446 }
Tennessee
The Tennessee was that person born in
Tennessee
action filter_type
action find
entity Puggy Pearson
relation place of birth
type administrative territorial entity of the United States
['United States Navy', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?x WHERE { resource:Puggy_Pearson property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q1752346 Q852446
USER
Which assemblies represent min number of US administrative territories ?
(c(Q852446),P194,Q701632)
action argmin
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q852446
[{'concept': 'Q852446'}, 'P194', 'Q701632']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P194 ?u . ?u rdf:type ontology:Q1752346 . ?z rdf:type ontology:Q852446 } GROUP BY ?u } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P194 ?q . ?q rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q852446 } GROUP BY ?q } }
action argmin
action find_reverse_tuple_counts
relation legislative body
type assembly
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:legislative_body ?u . ?u rdf:type ontology:assembly . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?u } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:legislative_body ?q . ?q rdf:type ontology:assembly . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?q } }
[]
assembly administrative territorial entity of the United States
Q154797 Q209151 Q157638
SYSTEM
Bundestag of Germany, Folketing, Frankfurt Parliament
Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q949699 Q4496302 Q3365524 Q17063844 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q1283189 Q636377 Q458185 Q1889821 Q1813360 Q510511 Q509668 Q650248 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q641439 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q2282872 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q11010 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q1371388 Q640859 Q1091494 Q3333555 Q371576 Q4852810 Q7603047 Q2185780 Q4184925 Q1116283 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q643412 Q17064146 Q12114504 Q2739604 Q1870447 Q378605 Q1130737 Q6867972 Q24861263 Q648716 Q1292 Q571436 Q35749 Q521764 Q695252 Q1484825 Q209151 Q1520966 Q1284236 Q157638 Q4938444 Q219825 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q321246 Q645195 Q7253170 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q697775 Q632552 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1269552 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q878525 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q639704 Q4947808 Q1320418 Q7447087 Q475689 Q3393882 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q219692 Q637829 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q667464 Q7089412 Q1515950 Q189445 Q701632
(c(Q852446),P194,Q701632)
action argmin
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q852446
[ANSWERS] represent min number of US administrative territories
[{'concept': 'Q852446'}, 'P194', 'Q701632']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P194 ?u . ?u rdf:type ontology:Q1752346 . ?z rdf:type ontology:Q852446 } GROUP BY ?u } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P194 ?q . ?q rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q852446 } GROUP BY ?q } }
city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay National Congress of Brasil Kharkiv City Municipality Parliament of Tasmania Kampuchean People's Representative Assembly Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Estates of Aruba Hamburg Parliament Landtag of South Tyrol Irish Parliament Parliament of Romania Landtag of Hesse Løgting Landtag of Prussia Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Landtag of Bavaria Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly diet Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council Parliament of the United Kingdom General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court States General Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Parliament of Croatia Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai National Assembly Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Parliament of Finland Parliament of the Khmer Republic Kremenchuk City Municipality Parliament of Great Britain Los Angeles City Council Islamic Consultative Assembly Parliament of England Minneapolis City Council Kyoto City Assembly National Assembly Flemish Parliament Landtag of North Rhine-Westphalia parliament Landtag of Brandenburg Parliament of India Congress of the Union Folketing New Zealand Parliament Congress of Colombia Frankfurt Parliament Boise City Council National Convention Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council Reichstag New York City Council Prussian estates Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Imperial Council French Parliament Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament Dáil Éireann National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Reichstag Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress National Assembly Boston City Council Parliament of Cambodia Sejm of the Duchy of Warsaw Parliament of Canada Junta of the Kingdom of Galicia Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Cortes Generales Reichstag Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Diet of Galicia and Lodomeria Omaha City Council Assembly of the Republic bicameral legislature municipal council
Bundestag of Germany, Folketing and Frankfurt Parliament represent min number of US administrative territories
Bundestag of Germany Folketing Frankfurt Parliament
action argmin
action find_reverse_tuple_counts
relation legislative body
type assembly
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:legislative_body ?u . ?u rdf:type ontology:assembly . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?u } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:legislative_body ?q . ?q rdf:type ontology:assembly . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?q } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q25256632 Q1509
P364 P37
Q34770
USER
What are considered to be the official language of Tennessee and are considered to be the original language of creation of Flexible Structural Neighborhood--a database of protein structural similarities and alignments ?
AND((Q1509,P37,c(Q34770)), (Q25256632,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q1509
relation P37
action find
entity Q25256632
relation P364
type Q34770
{'AND': [['Q1509', 'P37', {'concept': 'Q34770'}], ['Q25256632', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { resource:Q1509 property:P37 ?z . resource:Q25256632 property:P364 ?z . ?z rdf:type ontology:Q34770 }
Flexible Structural Neighborhood--a database of protein structural similarities and alignments Tennessee
action filter_type
action intersection
action find
entity Tennessee
relation official language
action find
entity Flexible Structural Neighborhood--a database of protein structural similarities and alignments
relation original language of work
type language
{'AND': [['Tennessee', 'official language', {'concept': 'language'}], ['Flexible Structural Neighborhood--a database of protein structural similarities and alignments', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { resource:Tennessee property:official_language ?z . resource:Flexible_Structural_Neighborhood--a_database_of_protein_structural_similarities_and_alignments property:original_language_of_work ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q1509,P37,c(Q34770)), (Q25256632,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q1509
relation P37
action find
entity Q25256632
relation P364
type Q34770
[ANSWER] is considered to be the official language of Tennessee and is considered to be the original language of creation of Flexible Structural Neighborhood--a database of protein structural similarities and alignments
{'AND': [['Q1509', 'P37', {'concept': 'Q34770'}], ['Q25256632', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { resource:Q1509 property:P37 ?z . resource:Q25256632 property:P364 ?z . ?z rdf:type ontology:Q34770 }
English
English is considered to be the official language of Tennessee and is considered to be the original language of creation of Flexible Structural Neighborhood--a database of protein structural similarities and alignments
English
action filter_type
action intersection
action find
entity Tennessee
relation official language
action find
entity Flexible Structural Neighborhood--a database of protein structural similarities and alignments
relation original language of work
type language
{'AND': [['Tennessee', 'official language', {'concept': 'language'}], ['Flexible Structural Neighborhood--a database of protein structural similarities and alignments', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { resource:Tennessee property:official_language ?z . resource:Flexible_Structural_Neighborhood--a_database_of_protein_structural_similarities_and_alignments property:original_language_of_work ?z . ?z rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q12536
P37
Q34770 Q15617994
USER
How many administrative territories are known to have approximately the same number of languages as their official language as Abbasid caliphate ?
(c(Q15617994),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q12536
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:P37 ?i . ?c rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q12536 property:P37 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?z = ?v ) }
Abbasid caliphate
action count
action approx
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Abbasid caliphate
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:official_language ?i . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Abbasid_caliphate property:official_language ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z = ?v ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q12536
relation P37
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:P37 ?i . ?c rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q12536 property:P37 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?z = ?v ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action approx
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Abbasid caliphate
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:official_language ?i . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Abbasid_caliphate property:official_language ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q851
P37
Q34770 Q15617994
USER
And what about Saudi Arabia?
(c(Q15617994),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q851
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q34770 . ?n property:P37 ?f } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q851 property:P37 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?b ) }
Saudi Arabia
action count
action approx
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Saudi Arabia
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:language . ?n property:official_language ?f } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Saudi_Arabia property:official_language ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?b ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q851
relation P37
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q34770 . ?n property:P37 ?f } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q851 property:P37 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?b ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action approx
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Saudi Arabia
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:language . ?n property:official_language ?f } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Saudi_Arabia property:official_language ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are used as the scripts for atleast 1 language ?
(c(Q34770),P282,c(Q9779))
action atleast
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P282 ?v . ?v rdf:type ontology:Q9779 . ?h rdf:type ontology:Q34770 } GROUP BY ?v } . FILTER ( ?f >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:writing_system ?v . ?v rdf:type ontology:alphabet . ?h rdf:type ontology:language } GROUP BY ?v } . FILTER ( ?f >= 1 ) }
[]
alphabet language
Q8209 Q829464 Q550383
SYSTEM
Cyrillic script, Serbian Cyrillic alphabet, Italian alphabet
Q8209 Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action atleast
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 1
[ANSWERS] are used as the scripts for atleast 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P282 ?v . ?v rdf:type ontology:Q9779 . ?h rdf:type ontology:Q34770 } GROUP BY ?v } . FILTER ( ?f >= 1 ) }
Cyrillic script Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
Cyrillic script, Serbian Cyrillic alphabet and Italian alphabet are used as the scripts for atleast 1 language
Cyrillic script Serbian Cyrillic alphabet Italian alphabet
action atleast
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:writing_system ?v . ?v rdf:type ontology:alphabet . ?h rdf:type ontology:language } GROUP BY ?v } . FILTER ( ?f >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?s WHERE { resource:Q1860 property:P361 ?s . ?s rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?s WHERE { resource:English property:part_of ?s . ?s rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?s WHERE { resource:Q1860 property:P361 ?s . ?s rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?s WHERE { resource:English property:part_of ?s . ?s rdf:type ontology:classification_scheme }
[]