Simple Question (Direct)
Simple Question
Q5272816
P39
Q12737077
USER
Which occupation was a position occupied by Dick Day ?
(Q5272816,P39,c(Q12737077))
action filter_type
action find
entity Q5272816
relation P39
type Q12737077
['Q5272816', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5272816 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Dick Day
action filter_type
action find
entity Dick Day
relation position held
type occupation
['Dick Day', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Dick_Day property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q21363942
SYSTEM
member of the State Senate of Minnesota
Q21363942
(Q5272816,P39,c(Q12737077))
action filter_type
action find
entity Q5272816
relation P39
type Q12737077
Two [ANSWER] was a position occupied by Dick Day
['Q5272816', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5272816 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
member of the State Senate of Minnesota
Two member of the State Senate of Minnesota was a position occupied by Dick Day
member of the State Senate of Minnesota
action filter_type
action find
entity Dick Day
relation position held
type occupation
['Dick Day', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Dick_Day property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21363942
P1001
Q852446
USER
Which US administrative territory comes under the supervision of that occupation ?
(Q21363942,P1001,c(Q852446))
action filter_type
action find
entity Q21363942
relation P1001
type Q852446
['Q21363942', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q852446 . resource:Q21363942 property:P1001 ?p }
member of the State Senate of Minnesota
action filter_type
action find
entity member of the State Senate of Minnesota
relation applies to jurisdiction
type administrative territorial entity of the United States
['member of the State Senate of Minnesota', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:member_of_the_State_Senate_of_Minnesota property:applies_to_jurisdiction ?p }
[]
administrative territorial entity of the United States
Q1527
SYSTEM
Minnesota
Q1527
(Q21363942,P1001,c(Q852446))
action filter_type
action find
entity Q21363942
relation P1001
type Q852446
[ANSWER] comes under the supervision of that occupation
['Q21363942', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q852446 . resource:Q21363942 property:P1001 ?p }
Minnesota
Minnesota comes under the supervision of that occupation
Minnesota
action filter_type
action find
entity member of the State Senate of Minnesota
relation applies to jurisdiction
type administrative territorial entity of the United States
['member of the State Senate of Minnesota', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:member_of_the_State_Senate_of_Minnesota property:applies_to_jurisdiction ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20644070
Q852446
USER
And what about Governor of Ohio?
(Q20644070,P1001,c(Q852446))
action filter_type
action find
entity Q20644070
relation P1001
type Q852446
['Q20644070', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q20644070 property:P1001 ?j . ?j rdf:type ontology:Q852446 }
Governor of Ohio
action filter_type
action find
entity Governor of Ohio
relation applies to jurisdiction
type administrative territorial entity of the United States
['Governor of Ohio', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Governor_of_Ohio property:applies_to_jurisdiction ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1397
SYSTEM
Ohio
Q1397
(Q20644070,P1001,c(Q852446))
action filter_type
action find
entity Q20644070
relation P1001
type Q852446
[ANSWER]
['Q20644070', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q20644070 property:P1001 ?j . ?j rdf:type ontology:Q852446 }
Ohio
Ohio
action filter_type
action find
entity Governor of Ohio
relation applies to jurisdiction
type administrative territorial entity of the United States
['Governor of Ohio', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Governor_of_Ohio property:applies_to_jurisdiction ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1397 Q580722
P190
Q515
USER
Is Őriszentpéter twin city of that US administrative territory ?
(Q1397,P190,Q580722)
action is_in
entity Q580722
action find
entity Q1397
relation P190
['Q1397', 'P190', 'Q580722']
ASK WHERE { resource:Q1397 property:P190 resource:Q580722 }
Ohio Őriszentpéter
action is_in
entity Őriszentpéter
action find
entity Ohio
relation sister city
['Ohio', 'sister city', 'Őriszentpéter']
ASK WHERE { resource:Ohio property:sister_city resource:Őriszentpéter }
[]
city
SYSTEM
NO
(Q1397,P190,Q580722)
action is_in
entity Q580722
action find
entity Q1397
relation P190
[ANSWER]
['Q1397', 'P190', 'Q580722']
ASK WHERE { resource:Q1397 property:P190 resource:Q580722 }
No
action is_in
entity Őriszentpéter
action find
entity Ohio
relation sister city
['Ohio', 'sister city', 'Őriszentpéter']
ASK WHERE { resource:Ohio property:sister_city resource:Őriszentpéter }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q852446 Q166142 Q2342494
USER
Which US administrative territories are max number of applications and collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q852446))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?c WHERE { { ?c rdf:type ontology:Q852446 . ?l rdf:type ontology:Q2342494 . ?l property:P840 ?c } UNION { ?c rdf:type ontology:Q852446 . ?l rdf:type ontology:Q166142 . ?l property:P840 ?c } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?q WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?q } . FILTER ( ?w = ?n ) }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?c WHERE { { ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?l rdf:type ontology:collectable . ?l property:narrative_location ?c } UNION { ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?l rdf:type ontology:application . ?l property:narrative_location ?c } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?q WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?q } . FILTER ( ?w = ?n ) }
[]
administrative territorial entity of the United States application collectable
Q99
SYSTEM
California
Q99
(c(Q166142)|c(Q2342494),P840,c(Q852446))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
[ANSWER] is max number of applications and collectables set in
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?c WHERE { { ?c rdf:type ontology:Q852446 . ?l rdf:type ontology:Q2342494 . ?l property:P840 ?c } UNION { ?c rdf:type ontology:Q852446 . ?l rdf:type ontology:Q166142 . ?l property:P840 ?c } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?q WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?q } . FILTER ( ?w = ?n ) }
California
California is max number of applications and collectables set in
California
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?c WHERE { { ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?l rdf:type ontology:collectable . ?l property:narrative_location ?c } UNION { ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?l rdf:type ontology:application . ?l property:narrative_location ?c } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?q WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?q } . FILTER ( ?w = ?n ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q99 Q30
P17
Q15617994
USER
Is California a part of United States of America ?
(Q99,P17,Q30)
action is_in
entity Q30
action find
entity Q99
relation P17
['Q99', 'P17', 'Q30']
ASK WHERE { resource:Q99 property:P17 resource:Q30 }
California United States of America
action is_in
entity United States of America
action find
entity California
relation country
['California', 'country', 'United States of America']
ASK WHERE { resource:California property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q99,P17,Q30)
action is_in
entity Q30
action find
entity Q99
relation P17
[ANSWER]
['Q99', 'P17', 'Q30']
ASK WHERE { resource:Q99 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity California
relation country
['California', 'country', 'United States of America']
ASK WHERE { resource:California property:country resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19961118
P194
Q701632 Q852446
USER
How many municipal councils represent around the same number of US administrative territories as Båstad Municipal Council ?
(c(Q852446),P194,c(Q701632))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find
entity Q19961118
relation P194
type Q701632
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P194 ?e . ?e rdf:type ontology:Q701632 . ?c rdf:type ontology:Q852446 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:Q701632 . resource:Q19961118 property:P194 ?g } } . FILTER ( ?y = ?f ) }
Båstad Municipal Council
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Båstad Municipal Council
relation legislative body
type municipal council
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:legislative_body ?e . ?e rdf:type ontology:municipal_council . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:municipal_council . resource:Båstad_Municipal_Council property:legislative_body ?g } } . FILTER ( ?y = ?f ) }
[]
municipal council administrative territorial entity of the United States
SYSTEM
18
Q4813169 Q27664348 Q27655424 Q20198781 Q27655510 Q27671513 Q27691912 Q27671767 Q19961118 Q4721499 Q6528155 Q4718854 Q27691982 Q4804754 Q23074103 Q27691927 Q27691835 Q27666941
(c(Q852446),P194,c(Q701632))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find
entity Q19961118
relation P194
type Q701632
[ANSWER]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P194 ?e . ?e rdf:type ontology:Q701632 . ?c rdf:type ontology:Q852446 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:Q701632 . resource:Q19961118 property:P194 ?g } } . FILTER ( ?y = ?f ) }
Athabasca Chipewyan First Nation Atikamekw d'Opitciwan Oujé-Bougoumou Cree Nation Eagle Village First Nation - Kipawa Conseil des Atikamekw de Wemotaci Mohawks of Kahnawá:ke nation innu Matimekush-Lac John Mohawks of Kanesatake Båstad Municipal Council Alexis Nakota Sioux First Nation Luxembourg communal council Alexander Montagnais du Lac St-Jean Ashcroft First Nation Mikisew Cree First Nation Innus de Ekuanitshit Cree Nation of Chisasibi Atikamekw de Manawan
18
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Båstad Municipal Council
relation legislative body
type municipal council
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:legislative_body ?e . ?e rdf:type ontology:municipal_council . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:municipal_council . resource:Båstad_Municipal_Council property:legislative_body ?g } } . FILTER ( ?y = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q510511
P194
Q1752346 Q852446
USER
How many assemblies are the legislative bodies for approximately the same number of US administrative territories as Landtag of Hesse ?
(c(Q852446),P194,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q852446
action count
action filter_type
action find
entity Q510511
relation P194
type Q1752346
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P194 ?l . ?l rdf:type ontology:Q1752346 . ?i rdf:type ontology:Q852446 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q510511 property:P194 ?b . ?b rdf:type ontology:Q1752346 } } . FILTER ( ?f = ?q ) }
Landtag of Hesse
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Landtag of Hesse
relation legislative body
type assembly
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:legislative_body ?l . ?l rdf:type ontology:assembly . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Landtag_of_Hesse property:legislative_body ?b . ?b rdf:type ontology:assembly } } . FILTER ( ?f = ?q ) }
[]
assembly administrative territorial entity of the United States
SYSTEM
171
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,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q852446
action count
action filter_type
action find
entity Q510511
relation P194
type Q1752346
[ANSWER]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P194 ?l . ?l rdf:type ontology:Q1752346 . ?i rdf:type ontology:Q852446 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q510511 property:P194 ?b . ?b rdf:type ontology:Q1752346 } } . FILTER ( ?f = ?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
171
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Landtag of Hesse
relation legislative body
type assembly
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:legislative_body ?l . ?l rdf:type ontology:assembly . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Landtag_of_Hesse property:legislative_body ?b . ?b rdf:type ontology:assembly } } . FILTER ( ?f = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q637829
P194
Q1752346 Q852446
USER
And also tell me about Reichstag?
(c(Q852446),P194,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q852446
action count
action filter_type
action find
entity Q637829
relation P194
type Q1752346
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P194 ?t . ?t rdf:type ontology:Q1752346 . ?v rdf:type ontology:Q852446 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q637829 property:P194 ?q . ?q rdf:type ontology:Q1752346 } } . FILTER ( ?o = ?c ) }
Reichstag
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Reichstag
relation legislative body
type assembly
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:legislative_body ?t . ?t rdf:type ontology:assembly . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Reichstag property:legislative_body ?q . ?q rdf:type ontology:assembly } } . FILTER ( ?o = ?c ) }
[]
assembly administrative territorial entity of the United States
SYSTEM
171
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,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q852446
action count
action filter_type
action find
entity Q637829
relation P194
type Q1752346
[ANSWER]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P194 ?t . ?t rdf:type ontology:Q1752346 . ?v rdf:type ontology:Q852446 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q637829 property:P194 ?q . ?q rdf:type ontology:Q1752346 } } . FILTER ( ?o = ?c ) }
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
171
action count
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Reichstag
relation legislative body
type assembly
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:legislative_body ?t . ?t rdf:type ontology:assembly . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Reichstag property:legislative_body ?q . ?q rdf:type ontology:assembly } } . FILTER ( ?o = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1397 Q2036593
P47
Q486972
USER
How many human settlements are next to the border of Ohio or St. Elizabeths Hospital ?
(c(Q486972),P47,Q1397) (c(Q486972),P47,Q2036593)
action count
action union
action filter_type
action find_reverse
entity Q1397
relation P47
type Q486972
action filter_type
action find_reverse
entity Q2036593
relation P47
type Q486972
[{'concept': 'Q486972'}, 'P47', 'Q1397'] [{'concept': 'Q486972'}, 'P47', 'Q2036593']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P47 resource:Q1397 . ?o rdf:type ontology:Q486972 } UNION { ?o property:P47 resource:Q2036593 . ?o rdf:type ontology:Q486972 } }
Ohio St. Elizabeths Hospital
action count
action union
action filter_type
action find_reverse
entity Ohio
relation shares border with
type human settlement
action filter_type
action find_reverse
entity St. Elizabeths Hospital
relation shares border with
type human settlement
[{'concept': 'human settlement'}, 'shares border with', 'Ohio'] [{'concept': 'human settlement'}, 'shares border with', 'St. Elizabeths Hospital']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:shares_border_with resource:Ohio . ?o rdf:type ontology:human_settlement } UNION { ?o property:shares_border_with resource:St._Elizabeths_Hospital . ?o rdf:type ontology:human_settlement } }
[]
human settlement
SYSTEM
2
Q4864219 Q4985434
(c(Q486972),P47,Q1397) (c(Q486972),P47,Q2036593)
action count
action union
action filter_type
action find_reverse
entity Q1397
relation P47
type Q486972
action filter_type
action find_reverse
entity Q2036593
relation P47
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P47', 'Q1397'] [{'concept': 'Q486972'}, 'P47', 'Q2036593']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P47 resource:Q1397 . ?o rdf:type ontology:Q486972 } UNION { ?o property:P47 resource:Q2036593 . ?o rdf:type ontology:Q486972 } }
Barry Farm Buena Vista
2
action count
action union
action filter_type
action find_reverse
entity Ohio
relation shares border with
type human settlement
action filter_type
action find_reverse
entity St. Elizabeths Hospital
relation shares border with
type human settlement
[{'concept': 'human settlement'}, 'shares border with', 'Ohio'] [{'concept': 'human settlement'}, 'shares border with', 'St. Elizabeths Hospital']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:shares_border_with resource:Ohio . ?o rdf:type ontology:human_settlement } UNION { ?o property:shares_border_with resource:St._Elizabeths_Hospital . ?o rdf:type ontology:human_settlement } }
[]