Simple Question (Direct)
Simple Question
Q10468895
P106
Q12737077
USER
Which occupation has John Hirons as his/her 's career ?
(Q10468895,P106,c(Q12737077))
action filter_type
action find
entity Q10468895
relation P106
type Q12737077
['Q10468895', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q10468895 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
John Hirons
action filter_type
action find
entity John Hirons
relation occupation
type occupation
['John Hirons', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:John_Hirons property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10468895,P106,c(Q12737077))
action filter_type
action find
entity Q10468895
relation P106
type Q12737077
Player [ANSWER] has John Hirons as his/her 's career
['Q10468895', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q10468895 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Player association football player has John Hirons as his/her 's career
association football player
action filter_type
action find
entity John Hirons
relation occupation
type occupation
['John Hirons', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:John_Hirons property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10468895
P27
Q15617994
USER
Which administrative territory is the country of citizenship of John Hirons ?
(Q10468895,P27,c(Q15617994))
action filter_type
action find
entity Q10468895
relation P27
type Q15617994
['Q10468895', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q10468895 property:P27 ?j }
John Hirons
action filter_type
action find
entity John Hirons
relation country of citizenship
type designation for an administrative territorial entity
['John Hirons', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Hirons property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q10468895,P27,c(Q15617994))
action filter_type
action find
entity Q10468895
relation P27
type Q15617994
[ANSWER] is the country of citizenship of John Hirons
['Q10468895', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q10468895 property:P27 ?j }
United Kingdom
United Kingdom is the country of citizenship of John Hirons
United Kingdom
action filter_type
action find
entity John Hirons
relation country of citizenship
type designation for an administrative territorial entity
['John Hirons', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Hirons property:country_of_citizenship ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10468895
P641
Q349
USER
What did John Hirons participate in ?
(Q10468895,P641,c(Q349))
action filter_type
action find
entity Q10468895
relation P641
type Q349
['Q10468895', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q10468895 property:P641 ?k }
John Hirons
action filter_type
action find
entity John Hirons
relation sport
type sport
['John Hirons', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:John_Hirons property:sport ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10468895,P641,c(Q349))
action filter_type
action find
entity Q10468895
relation P641
type Q349
John Hirons participated in [ANSWER]
['Q10468895', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q10468895 property:P641 ?k }
association football
John Hirons participated in association football
association football
action filter_type
action find
entity John Hirons
relation sport
type sport
['John Hirons', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:John_Hirons property:sport ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10468895
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q10468895
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q10468895 property:P21 ?o . ?o rdf:type ontology:Q290 }
John Hirons
action filter_type
action find
entity John Hirons
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:John_Hirons property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q10468895
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q10468895 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity John Hirons
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:John_Hirons property:gender ?o . ?o rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes do approximately the same number of people possess as that sex ?
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P21 ?n . ?n rdf:type ontology:Q290 . ?q rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q6581097 property:P21 ?m . ?m rdf:type ontology:Q290 } } . FILTER ( ?j = ?z ) }
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:gender ?n . ?n rdf:type ontology:sex . ?q rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:male property:gender ?m . ?m rdf:type ontology:sex } } . FILTER ( ?j = ?z ) }
[]
sex common name
SYSTEM
1
Q6581097
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P21 ?n . ?n rdf:type ontology:Q290 . ?q rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q6581097 property:P21 ?m . ?m rdf:type ontology:Q290 } } . FILTER ( ?j = ?z ) }
male
1
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:gender ?n . ?n rdf:type ontology:sex . ?q rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:male property:gender ?m . ?m rdf:type ontology:sex } } . FILTER ( ?j = ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q22676587 Q43229 Q15617994
USER
Which administrative territories have atmost 1 monarchic systems or organizations as the form of government ?
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action atmost
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?t ) WHERE { { ?c property:P122 ?f . ?c rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q22676587 } UNION { ?c property:P122 ?f . ?f rdf:type ontology:Q43229 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?c } . FILTER ( ?t <= 1 ) }
action atmost
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?t ) WHERE { { ?c property:basic_form_of_government ?f . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:monarchic_system } UNION { ?c property:basic_form_of_government ?f . ?f rdf:type ontology:organization . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . FILTER ( ?t <= 1 ) }
[]
monarchic system organization designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q208500 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action atmost
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
value 1
[ANSWERS] have atmost 1 monarchic systems or organizations as the form of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?t ) WHERE { { ?c property:P122 ?f . ?c rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q22676587 } UNION { ?c property:P122 ?f . ?f rdf:type ontology:Q43229 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?c } . FILTER ( ?t <= 1 ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal principality Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have atmost 1 monarchic systems or organizations as the form of government
Italy Brazil United States of America
action atmost
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?t ) WHERE { { ?c property:basic_form_of_government ?f . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:monarchic_system } UNION { ?c property:basic_form_of_government ?f . ?f rdf:type ontology:organization . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . FILTER ( ?t <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q766
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with greater number of administrative territories than Jamaica ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?i ) WHERE { ?b property:P530 ?y . ?b rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q766 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?i > ?f ) }
Jamaica
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?i ) WHERE { ?b property:diplomatic_relation ?y . ?b rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Jamaica property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?i > ?f ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?i ) WHERE { ?b property:P530 ?y . ?b rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q766 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?i > ?f ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?i ) WHERE { ?b property:diplomatic_relation ?y . ?b rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Jamaica property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?i > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q664
P530
Q15617994 Q1048835
USER
And what about New Zealand?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?x rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 . ?x property:P530 ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q664 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?s ) }
New Zealand
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?x rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:New_Zealand property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?s ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5
Q40 Q183 Q408 Q35 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?x rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 . ?x property:P530 ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q664 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?s ) }
Austria Germany Australia Denmark Canada
5
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?n ) WHERE { ?x rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?c } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:New_Zealand property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q55
P194
Q11204 Q1752346 Q15617994
USER
How many administrative territories have approximately the same number of legislatures or assemblies as their council as Netherlands ?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q55
relation P194
type Q11204
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?s WHERE { { ?s property:P194 ?v . ?s rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q11204 } UNION { ?s property:P194 ?v . ?s rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1752346 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q55 property:P194 ?j . { { ?j rdf:type ontology:Q11204 } UNION { ?j rdf:type ontology:Q1752346 } } } } . FILTER ( ?m = ?f ) }
Netherlands
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Netherlands
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?s WHERE { { ?s property:legislative_body ?v . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:legislature } UNION { ?s property:legislative_body ?v . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:assembly } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Netherlands property:legislative_body ?j . { { ?j rdf:type ontology:legislature } UNION { ?j rdf:type ontology:assembly } } } } . FILTER ( ?m = ?f ) }
[]
legislature assembly designation for an administrative territorial entity
SYSTEM
116
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q1460 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q4628 Q779011 Q889 Q884 Q958 Q12574 Q1965 Q12761 Q242 Q244 Q33 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q79 Q77 Q1222 Q774 Q811 Q1016 Q27 Q1243 Q1013 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q55
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?s WHERE { { ?s property:P194 ?v . ?s rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q11204 } UNION { ?s property:P194 ?v . ?s rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1752346 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q55 property:P194 ?j . { { ?j rdf:type ontology:Q11204 } UNION { ?j rdf:type ontology:Q1752346 } } } } . FILTER ( ?m = ?f ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Sicily Chad South Africa Portugal Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Afghanistan South Korea South Sudan Loiret New Brunswick Seine-Saint-Denis Belize Barbados Finland Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Egypt Uruguay Aosta Valley Guatemala Nicaragua Libya Ireland Veneto Lesotho Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
116
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Netherlands
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?s WHERE { { ?s property:legislative_body ?v . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:legislature } UNION { ?s property:legislative_body ?v . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:assembly } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Netherlands property:legislative_body ?j . { { ?j rdf:type ontology:legislature } UNION { ?j rdf:type ontology:assembly } } } } . FILTER ( ?m = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q224
P194
Q11204 Q1752346 Q15617994
USER
And how about Croatia?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q224
relation P194
type Q11204
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?f ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?q rdf:type ?f } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q224 property:P194 ?u . { { ?u rdf:type ontology:Q11204 } UNION { ?u rdf:type ontology:Q1752346 } } } } . FILTER ( ?p = ?h ) }
Croatia
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Croatia
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?f ) { ( ontology:legislature ) ( ontology:assembly ) } . ?q rdf:type ?f } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Croatia property:legislative_body ?u . { { ?u rdf:type ontology:legislature } UNION { ?u rdf:type ontology:assembly } } } } . FILTER ( ?p = ?h ) }
[]
legislature assembly designation for an administrative territorial entity
SYSTEM
116
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q1460 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q4628 Q779011 Q889 Q884 Q958 Q12574 Q1965 Q12761 Q242 Q244 Q33 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q79 Q77 Q1222 Q774 Q811 Q1016 Q27 Q1243 Q1013 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q224
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?f ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?q rdf:type ?f } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q224 property:P194 ?u . { { ?u rdf:type ontology:Q11204 } UNION { ?u rdf:type ontology:Q1752346 } } } } . FILTER ( ?p = ?h ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Sicily Chad South Africa Portugal Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Afghanistan South Korea South Sudan Loiret New Brunswick Seine-Saint-Denis Belize Barbados Finland Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Egypt Uruguay Aosta Valley Guatemala Nicaragua Libya Ireland Veneto Lesotho Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
116
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Croatia
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?f ) { ( ontology:legislature ) ( ontology:assembly ) } . ?q rdf:type ?f } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Croatia property:legislative_body ?u . { { ?u rdf:type ontology:legislature } UNION { ?u rdf:type ontology:assembly } } } } . FILTER ( ?p = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P1313 ?v . ?v rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?v . ?v rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P1313 ?v . ?v rdf:type ontology:Q895526 }
President of the United States of America
The President of the United States of America serves as the political office that is fulfilled by the head of the government of United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?v . ?v rdf:type ontology:authority_organ }
[]