Simple Question (Direct)
Simple Question
Q5543534
P1412
Q34770
USER
Which language can George Pratt, 2nd Marquess Camden read ?
(Q5543534,P1412,c(Q34770))
action filter_type
action find
entity Q5543534
relation P1412
type Q34770
['Q5543534', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5543534 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
George Pratt, 2nd Marquess Camden
action filter_type
action find
entity George Pratt, 2nd Marquess Camden
relation languages spoken, written or signed
type language
['George Pratt, 2nd Marquess Camden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:George_Pratt,_2nd_Marquess_Camden property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5543534,P1412,c(Q34770))
action filter_type
action find
entity Q5543534
relation P1412
type Q34770
George Pratt , 2nd Marquess Camden can read in [ANSWER]
['Q5543534', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5543534 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
George Pratt , 2nd Marquess Camden can read in English
English
action filter_type
action find
entity George Pratt, 2nd Marquess Camden
relation languages spoken, written or signed
type language
['George Pratt, 2nd Marquess Camden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:George_Pratt,_2nd_Marquess_Camden property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5543534
P27
Q7275
USER
Which state is the country of citizenship of that person ?
(Q1860,P27,c(Q7275))
action filter_type
action find
entity Q5543534
relation P27
type Q7275
['Q1860', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q5543534 property:P27 ?p . ?p rdf:type ontology:Q7275 }
George Pratt, 2nd Marquess Camden
action filter_type
action find
entity George Pratt, 2nd Marquess Camden
relation country of citizenship
type state
['English', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:George_Pratt,_2nd_Marquess_Camden property:country_of_citizenship ?p . ?p rdf:type ontology:state }
[]
state
Q174193
SYSTEM
United Kingdom of Great Britain and Ireland
Q174193
(Q1860,P27,c(Q7275))
action filter_type
action find
entity Q5543534
relation P27
type Q7275
[ANSWER] is the country of citizenship of that person
['Q1860', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q5543534 property:P27 ?p . ?p rdf:type ontology:Q7275 }
United Kingdom of Great Britain and Ireland
United Kingdom of Great Britain and Ireland is the country of citizenship of that person
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity George Pratt, 2nd Marquess Camden
relation country of citizenship
type state
['English', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:George_Pratt,_2nd_Marquess_Camden property:country_of_citizenship ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5543534
P21
Q290
USER
Which sex does that person have ?
(Q174193,P21,c(Q290))
action filter_type
action find
entity Q5543534
relation P21
type Q290
['Q174193', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q5543534 property:P21 ?f . ?f rdf:type ontology:Q290 }
George Pratt, 2nd Marquess Camden
action filter_type
action find
entity George Pratt, 2nd Marquess Camden
relation gender
type sex
['United Kingdom of Great Britain and Ireland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:George_Pratt,_2nd_Marquess_Camden property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q174193,P21,c(Q290))
action filter_type
action find
entity Q5543534
relation P21
type Q290
That person has a [ANSWER]
['Q174193', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q5543534 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity George Pratt, 2nd Marquess Camden
relation gender
type sex
['United Kingdom of Great Britain and Ireland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:George_Pratt,_2nd_Marquess_Camden property:gender ?f . ?f rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
How many assemblies represent atmost 4 states ?
(c(Q7275),P194,c(Q1752346))
action count
action atmost
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 4
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P194 ?e . ?e rdf:type ontology:Q1752346 . ?t rdf:type ontology:Q7275 } GROUP BY ?e } . FILTER ( ?f <= 4 ) }
action count
action atmost
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 4
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:legislative_body ?e . ?e rdf:type ontology:assembly . ?t rdf:type ontology:state } GROUP BY ?e } . FILTER ( ?f <= 4 ) }
[]
assembly state
SYSTEM
172
Q16980374 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(Q7275),P194,c(Q1752346))
action count
action atmost
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 4
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P194 ?e . ?e rdf:type ontology:Q1752346 . ?t rdf:type ontology:Q7275 } GROUP BY ?e } . FILTER ( ?f <= 4 ) }
Honolulu City Council 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
172
action count
action atmost
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 4
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:legislative_body ?e . ?e rdf:type ontology:assembly . ?t rdf:type ontology:state } GROUP BY ?e } . FILTER ( ?f <= 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27175
P361
Q5962346
USER
Which classification schemes are West Frisian a part of ?
(Q27175,P361,c(Q5962346))
action filter_type
action find
entity Q27175
relation P361
type Q5962346
['Q27175', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?j WHERE { resource:Q27175 property:P361 ?j . ?j rdf:type ontology:Q5962346 }
West Frisian
action filter_type
action find
entity West Frisian
relation part of
type classification scheme
['West Frisian', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?j WHERE { resource:West_Frisian property:part_of ?j . ?j rdf:type ontology:classification_scheme }
[]
classification scheme
Q26721 Q5329170
SYSTEM
West Germanic languages, Anglo-Frisian languages
Q26721 Q5329170
(Q27175,P361,c(Q5962346))
action filter_type
action find
entity Q27175
relation P361
type Q5962346
Languages [ANSWERS] are West Frisian a part of
['Q27175', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?j WHERE { resource:Q27175 property:P361 ?j . ?j rdf:type ontology:Q5962346 }
West Germanic languages Anglo-Frisian languages
Languages West Germanic languages and Anglo-Frisian languages are West Frisian a part of
West Germanic languages Anglo-Frisian languages
action filter_type
action find
entity West Frisian
relation part of
type classification scheme
['West Frisian', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?j WHERE { resource:West_Frisian property:part_of ?j . ?j rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q26721 Q5329170
P361
Q5962346
USER
Which classification schemes are a portion of West Germanic languages and Anglo-Frisian languages ?
(c(Q5962346),P361,Q26721) (c(Q5962346),P361,Q5329170)
action union
action filter_type
action find_reverse
entity Q26721
relation P361
type Q5962346
action filter_type
action find_reverse
entity Q5329170
relation P361
type Q5962346
[{'concept': 'Q5962346'}, 'P361', 'Q26721'] [{'concept': 'Q5962346'}, 'P361', 'Q5329170']
SELECT DISTINCT ?p WHERE { { ?p property:P361 resource:Q5329170 . ?p rdf:type ontology:Q5962346 } UNION { ?p property:P361 resource:Q26721 . ?p rdf:type ontology:Q5962346 } }
West Germanic languages Anglo-Frisian languages
action union
action filter_type
action find_reverse
entity West Germanic languages
relation part of
type classification scheme
action filter_type
action find_reverse
entity Anglo-Frisian languages
relation part of
type classification scheme
[{'concept': 'classification scheme'}, 'part of', 'West Germanic languages'] [{'concept': 'classification scheme'}, 'part of', 'Anglo-Frisian languages']
SELECT DISTINCT ?p WHERE { { ?p property:part_of resource:Anglo-Frisian_languages . ?p rdf:type ontology:classification_scheme } UNION { ?p property:part_of resource:West_Germanic_languages . ?p rdf:type ontology:classification_scheme } }
[]
classification scheme
Q1346342 Q52040 Q5329170
SYSTEM
Anglic languages, High German languages, Anglo-Frisian languages
Q986800 Q1346342 Q52040 Q5329170 Q30134 Q1346342
(c(Q5962346),P361,Q26721) (c(Q5962346),P361,Q5329170)
action union
action filter_type
action find_reverse
entity Q26721
relation P361
type Q5962346
action filter_type
action find_reverse
entity Q5329170
relation P361
type Q5962346
[ANSWERS] are a portion of West Germanic languages and Anglo-Frisian languages
[{'concept': 'Q5962346'}, 'P361', 'Q26721'] [{'concept': 'Q5962346'}, 'P361', 'Q5329170']
SELECT DISTINCT ?p WHERE { { ?p property:P361 resource:Q5329170 . ?p rdf:type ontology:Q5962346 } UNION { ?p property:P361 resource:Q26721 . ?p rdf:type ontology:Q5962346 } }
Low German languages Anglic languages High German languages Anglo-Frisian languages Ingvaeonic languages Anglic languages
Anglic languages, High German languages and Anglo-Frisian languages are a portion of West Germanic languages and Anglo-Frisian languages
Anglic languages High German languages Anglo-Frisian languages
action union
action filter_type
action find_reverse
entity West Germanic languages
relation part of
type classification scheme
action filter_type
action find_reverse
entity Anglo-Frisian languages
relation part of
type classification scheme
[{'concept': 'classification scheme'}, 'part of', 'West Germanic languages'] [{'concept': 'classification scheme'}, 'part of', 'Anglo-Frisian languages']
SELECT DISTINCT ?p WHERE { { ?p property:part_of resource:Anglo-Frisian_languages . ?p rdf:type ontology:classification_scheme } UNION { ?p property:part_of resource:West_Germanic_languages . ?p rdf:type ontology:classification_scheme } }
[]