Simple Question (Direct)
Simple Question
Q16026566
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Charles Tramu ?
(Q16026566,P27,c(Q15617994))
action filter_type
action find
entity Q16026566
relation P27
type Q15617994
['Q16026566', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16026566 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Charles Tramu
action filter_type
action find
entity Charles Tramu
relation country of citizenship
type designation for an administrative territorial entity
['Charles Tramu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Tramu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16026566,P27,c(Q15617994))
action filter_type
action find
entity Q16026566
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Charles Tramu
['Q16026566', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16026566 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Charles Tramu
France
action filter_type
action find
entity Charles Tramu
relation country of citizenship
type designation for an administrative territorial entity
['Charles Tramu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Tramu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16026566
P106
Q12737077
USER
Which occupation is the profession of Charles Tramu ?
(Q16026566,P106,c(Q12737077))
action filter_type
action find
entity Q16026566
relation P106
type Q12737077
['Q16026566', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16026566 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Charles Tramu
action filter_type
action find
entity Charles Tramu
relation occupation
type occupation
['Charles Tramu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Charles_Tramu property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16026566,P106,c(Q12737077))
action filter_type
action find
entity Q16026566
relation P106
type Q12737077
So [ANSWER] is the profession of Charles Tramu
['Q16026566', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16026566 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
So politician is the profession of Charles Tramu
politician
action filter_type
action find
entity Charles Tramu
relation occupation
type occupation
['Charles Tramu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Charles_Tramu property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P137
Q811430
USER
Which constructions were operated by France ?
(c(Q811430),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P137 resource:Q142 . ?w rdf:type ontology:Q811430 }
France
action filter_type
action find_reverse
entity France
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'France']
SELECT DISTINCT ?w WHERE { ?w property:operator resource:France . ?w rdf:type ontology:construction }
[]
construction
Q653784 Q578060 Q554046
SYSTEM
Embassy of France, Ottawa, Longwood House, Embassy of France, Berlin
Q653784 Q578060 Q554046
(c(Q811430),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q811430
[ANSWERS]
[{'concept': 'Q811430'}, 'P137', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P137 resource:Q142 . ?w rdf:type ontology:Q811430 }
Embassy of France, Ottawa Longwood House Embassy of France, Berlin
Embassy of France, Ottawa, Longwood House and Embassy of France, Berlin were operated by France
Embassy of France, Ottawa Longwood House Embassy of France, Berlin
action filter_type
action find_reverse
entity France
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'France']
SELECT DISTINCT ?w WHERE { ?w property:operator resource:France . ?w rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Which human behaviour has politician as thier associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?g WHERE { resource:Q82955 property:P425 ?g . ?g rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?g WHERE { resource:politician property:field_of_this_occupation ?g . ?g rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has politician as thier associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?g WHERE { resource:Q82955 property:P425 ?g . ?g rdf:type ontology:Q3769299 }
politics
Politics has politician as thier associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?g WHERE { resource:politician property:field_of_this_occupation ?g . ?g rdf:type ontology:human_behaviour }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q721390 Q16026566
P47 P20
Q20667921
USER
Which french administrative divisions did the expiration of Charles Tramu occur or are bordered by Rimeize ?
OR((Q16026566,P20,c(Q20667921)), (Q721390,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q16026566
relation P20
action find
entity Q721390
relation P47
type Q20667921
{'OR': [['Q16026566', 'P20', {'concept': 'Q20667921'}], ['Q721390', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . { { resource:Q16026566 property:P20 ?u } UNION { resource:Q721390 property:P47 ?u } } }
Rimeize Charles Tramu
action filter_type
action union
action find
entity Charles Tramu
relation place of death
action find
entity Rimeize
relation shares border with
type type of french administrative division
{'OR': [['Charles Tramu', 'place of death', {'concept': 'type of french administrative division'}], ['Rimeize', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . { { resource:Charles_Tramu property:place_of_death ?u } UNION { resource:Rimeize property:shares_border_with ?u } } }
[]
type of french administrative division
Q454186 Q720522 Q326270 Q720585 Q906399 Q478932 Q718510 Q676708
SYSTEM
Saint-Alban-sur-Limagnole, Saint-Chély-d'Apcher, Aumont-Aubrac, Prunières, Saint-Vit, Javols, Fontans, Les Bessons
Q454186 Q720522 Q326270 Q720585 Q906399 Q478932 Q718510 Q676708
OR((Q16026566,P20,c(Q20667921)), (Q721390,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q16026566
relation P20
action find
entity Q721390
relation P47
type Q20667921
The expiration of Charles Tramu occurred in [ANSWERS]
{'OR': [['Q16026566', 'P20', {'concept': 'Q20667921'}], ['Q721390', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . { { resource:Q16026566 property:P20 ?u } UNION { resource:Q721390 property:P47 ?u } } }
Saint-Alban-sur-Limagnole Saint-Chély-d'Apcher Aumont-Aubrac Prunières Saint-Vit Javols Fontans Les Bessons
The expiration of Charles Tramu occurred in Saint-Alban-sur-Limagnole, Saint-Chély-d'Apcher, Aumont-Aubrac, Prunières, Saint-Vit, Javols, Fontans and Les Bessons
Saint-Alban-sur-Limagnole Saint-Chély-d'Apcher Aumont-Aubrac Prunières Saint-Vit Javols Fontans Les Bessons
action filter_type
action union
action find
entity Charles Tramu
relation place of death
action find
entity Rimeize
relation shares border with
type type of french administrative division
{'OR': [['Charles Tramu', 'place of death', {'concept': 'type of french administrative division'}], ['Rimeize', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . { { resource:Charles_Tramu property:place_of_death ?u } UNION { resource:Rimeize property:shares_border_with ?u } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6408901 Q16026566
P39 P106
Q12737077
USER
Which occupations were a position held by Charles Tramu or do Kim Jin-il do for a living ?
OR((Q16026566,P39,c(Q12737077)), (Q6408901,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16026566
relation P39
action find
entity Q6408901
relation P106
type Q12737077
{'OR': [['Q16026566', 'P39', {'concept': 'Q12737077'}], ['Q6408901', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q16026566 property:P39 ?f } UNION { resource:Q6408901 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
Kim Jin-il Charles Tramu
action filter_type
action union
action find
entity Charles Tramu
relation position held
action find
entity Kim Jin-il
relation occupation
type occupation
{'OR': [['Charles Tramu', 'position held', {'concept': 'occupation'}], ['Kim Jin-il', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Charles_Tramu property:position_held ?f } UNION { resource:Kim_Jin-il property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918 Q937857
SYSTEM
maire, member of the French National Assembly, association football player
Q382617 Q3044918 Q937857
OR((Q16026566,P39,c(Q12737077)), (Q6408901,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16026566
relation P39
action find
entity Q6408901
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q16026566', 'P39', {'concept': 'Q12737077'}], ['Q6408901', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q16026566 property:P39 ?f } UNION { resource:Q6408901 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
maire member of the French National Assembly association football player
Maire, member of the French National Assembly and association football player were a position held by Charles Tramu or do Kim Jin-il do for a living
maire member of the French National Assembly association football player
action filter_type
action union
action find
entity Charles Tramu
relation position held
action find
entity Kim Jin-il
relation occupation
type occupation
{'OR': [['Charles Tramu', 'position held', {'concept': 'occupation'}], ['Kim Jin-il', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Charles_Tramu property:position_held ?f } UNION { resource:Kim_Jin-il property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6408901
P21
Q290
USER
What is the sex of Kim Jin-il ?
(Q6408901,P21,c(Q290))
action filter_type
action find
entity Q6408901
relation P21
type Q290
['Q6408901', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q6408901 property:P21 ?d . ?d rdf:type ontology:Q290 }
Kim Jin-il
action filter_type
action find
entity Kim Jin-il
relation gender
type sex
['Kim Jin-il', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Kim_Jin-il property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6408901,P21,c(Q290))
action filter_type
action find
entity Q6408901
relation P21
type Q290
The sex of Kim Jin-il is the [ANSWER]
['Q6408901', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q6408901 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Kim Jin-il is the male
male
action filter_type
action find
entity Kim Jin-il
relation gender
type sex
['Kim Jin-il', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Kim_Jin-il property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q720522
P1376
Q20667921
USER
Which french administrative division has Saint-Chély-d'Apcher has its center of administration ?
(Q720522,P1376,c(Q20667921))
action filter_type
action find
entity Q720522
relation P1376
type Q20667921
['Q720522', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q720522 property:P1376 ?q . ?q rdf:type ontology:Q20667921 }
Saint-Chély-d'Apcher
action filter_type
action find
entity Saint-Chély-d'Apcher
relation capital of
type type of french administrative division
["Saint-Chély-d'Apcher", 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Saint-Chély-d'Apcher property:capital_of ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q277299
SYSTEM
canton of Saint-Chély-d'Apcher
Q277299
(Q720522,P1376,c(Q20667921))
action filter_type
action find
entity Q720522
relation P1376
type Q20667921
The [ANSWER] has Saint-Chély-d'Apcher has its center of administration
['Q720522', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q720522 property:P1376 ?q . ?q rdf:type ontology:Q20667921 }
canton of Saint-Chély-d'Apcher
The canton of Saint-Chély-d'Apcher has Saint-Chély-d'Apcher has its center of administration
canton of Saint-Chély-d'Apcher
action filter_type
action find
entity Saint-Chély-d'Apcher
relation capital of
type type of french administrative division
["Saint-Chély-d'Apcher", 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Saint-Chély-d'Apcher property:capital_of ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q277299
P36
Q20667921
USER
Which french administrative division is the capital of that one ?
(Q277299,P36,c(Q20667921))
action filter_type
action find
entity Q277299
relation P36
type Q20667921
['Q277299', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q277299 property:P36 ?c . ?c rdf:type ontology:Q20667921 }
canton of Saint-Chély-d'Apcher
action filter_type
action find
entity canton of Saint-Chély-d'Apcher
relation capital
type type of french administrative division
["canton of Saint-Chély-d'Apcher", 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:canton_of_Saint-Chély-d'Apcher property:capital ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q720522
SYSTEM
Saint-Chély-d'Apcher
Q720522
(Q277299,P36,c(Q20667921))
action filter_type
action find
entity Q277299
relation P36
type Q20667921
[ANSWER] is the capital of that one
['Q277299', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q277299 property:P36 ?c . ?c rdf:type ontology:Q20667921 }
Saint-Chély-d'Apcher
Saint-Chély-d'Apcher is the capital of that one
Saint-Chély-d'Apcher
action filter_type
action find
entity canton of Saint-Chély-d'Apcher
relation capital
type type of french administrative division
["canton of Saint-Chély-d'Apcher", 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:canton_of_Saint-Chély-d'Apcher property:capital ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13527933
P748
Q178706 Q502895 Q12737077
USER
How many occupations are appointed by greater number of institutions and people than Premier of Tasmania ?
(c(Q12737077),P748,c(Q178706)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q13527933
relation P748
type Q178706
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q178706 ) } . ?s rdf:type ?l } . resource:Q13527933 property:P748 ?s } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?v WHERE { { ?v property:P748 ?q . ?v rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q178706 } UNION { ?v property:P748 ?q . ?v rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } } GROUP BY ?v } }
Premier of Tasmania
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Premier of Tasmania
relation appointed by
type institution
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { VALUES ( ?l ) { ( ontology:common_name ) ( ontology:institution ) } . ?s rdf:type ?l } . resource:Premier_of_Tasmania property:appointed_by ?s } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?v WHERE { { ?v property:appointed_by ?q . ?v rdf:type ontology:occupation . ?q rdf:type ontology:institution } UNION { ?v property:appointed_by ?q . ?v rdf:type ontology:occupation . ?q rdf:type ontology:common_name } } GROUP BY ?v } }
[]
institution common name occupation
SYSTEM
46
Q1846384 Q2631987 Q740126 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q835586 Q4970706 Q1161813 Q531471 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q862559 Q182762 Q8882 Q1060844 Q3397406 Q691615 Q152814 Q195965 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q3315134 Q3777749 Q111784 Q634291 Q1362216 Q735587 Q81066 Q25860233
(c(Q12737077),P748,c(Q178706)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q13527933
relation P748
type Q178706
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q178706 ) } . ?s rdf:type ?l } . resource:Q13527933 property:P748 ?s } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?v WHERE { { ?v property:P748 ?q . ?v rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q178706 } UNION { ?v property:P748 ?q . ?v rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } } GROUP BY ?v } }
Secretary of State for Wales Attorney General for England and Wales President of the European Parliament Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Federal Chancellor of Germany President of the United Nations General Assembly Chancellor of the Exchequer Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Malaysia Prime Minister of Algeria President of the European Commission Paymaster General Secretary of State for Health Governor of the Virgin Islands Prime Minister of Malta Governor of Gibraltar Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland High Representative of the Union for Foreign Affairs and Security Policy First Minister of Scotland President of the European Council United Nations Secretary-General Secretary of State for Exiting the European Union
46
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Premier of Tasmania
relation appointed by
type institution
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { VALUES ( ?l ) { ( ontology:common_name ) ( ontology:institution ) } . ?s rdf:type ?l } . resource:Premier_of_Tasmania property:appointed_by ?s } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?v WHERE { { ?v property:appointed_by ?q . ?v rdf:type ontology:occupation . ?q rdf:type ontology:institution } UNION { ?v property:appointed_by ?q . ?v rdf:type ontology:occupation . ?q rdf:type ontology:common_name } } GROUP BY ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q20667921
USER
Which administrative territories have atmost 1 french administrative division as their county seat ?
(c(Q20667921),P1376,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q <= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P1376 ?w . ?w rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q20667921 } GROUP BY ?w } }
action atmost
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q <= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:type_of_french_administrative_division } GROUP BY ?w } }
[]
designation for an administrative territorial entity type of french administrative division
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q414 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q3044731 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q12574 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q1243 Q945 Q3266 Q3105 Q639100 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q12816 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q1270623 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q3240 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q347 Q3462133 Q12679 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q20667921),P1376,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[ANSWERS] have atmost 1 french administrative division as their county seat
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q <= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P1376 ?w . ?w rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q20667921 } GROUP BY ?w } }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Argentina Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Guyane Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Loiret Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Ems-Supérieur Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Veneto Togo Charente Vosges Principality of Reuss-Gera Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Apennins Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy, Brazil and United States of America have atmost 1 french administrative division as their county seat
Italy Brazil United States of America
action atmost
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q <= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:type_of_french_administrative_division } GROUP BY ?w } }
[]