Simple Question (Direct)
Simple Question
Q4962393
P21
Q290
USER
What is the sex of Brett Storey ?
(Q4962393,P21,c(Q290))
action filter_type
action find
entity Q4962393
relation P21
type Q290
['Q4962393', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q4962393 property:P21 ?n }
Brett Storey
action filter_type
action find
entity Brett Storey
relation gender
type sex
['Brett Storey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Brett_Storey property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4962393,P21,c(Q290))
action filter_type
action find
entity Q4962393
relation P21
type Q290
The sex of Brett Storey is a [ANSWER]
['Q4962393', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q4962393 property:P21 ?n }
male
The sex of Brett Storey is a male
male
action filter_type
action find
entity Brett Storey
relation gender
type sex
['Brett Storey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Brett_Storey property:gender ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4962393
P19
Q56061
USER
Where was Brett Storey born ?
(Q4962393,P19,c(Q56061))
action filter_type
action find
entity Q4962393
relation P19
type Q56061
['Q4962393', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q4962393 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Brett Storey
action filter_type
action find
entity Brett Storey
relation place of birth
type administrative territorial entity
['Brett Storey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Brett_Storey property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42448
SYSTEM
Sheffield
Q42448
(Q4962393,P19,c(Q56061))
action filter_type
action find
entity Q4962393
relation P19
type Q56061
Brett Storey was born in [ANSWER]
['Q4962393', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q4962393 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Sheffield
Brett Storey was born in Sheffield
Sheffield
action filter_type
action find
entity Brett Storey
relation place of birth
type administrative territorial entity
['Brett Storey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Brett_Storey property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are sister towns of that administrative territory ?
(Q42448,P190,c(Q56061))
action count
action filter_type
action find
entity Q42448
relation P190
type Q56061
['Q42448', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:Q56061 . resource:Q42448 property:P190 ?m }
action count
action filter_type
action find
entity Sheffield
relation sister city
type administrative territorial entity
['Sheffield', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Sheffield property:sister_city ?m }
[]
administrative territorial entity
SYSTEM
5
Q239580 Q2103 Q43070 Q2586558 Q1007634
(Q42448,P190,c(Q56061))
action count
action filter_type
action find
entity Q42448
relation P190
type Q56061
[ANSWER]
['Q42448', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:Q56061 . resource:Q42448 property:P190 ?m }
Kitwe Bochum Donetsk Kotli Estelí
5
action count
action filter_type
action find
entity Sheffield
relation sister city
type administrative territorial entity
['Sheffield', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Sheffield property:sister_city ?m }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q56061 Q3305213 Q11060274
USER
Which administrative territories are expressed in exactly 1 paintings and prints ?
(c(Q3305213)|c(Q11060274),P180,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q56061
type Q11060274
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?n property:P180 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q3305213 } UNION { ?n property:P180 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q11060274 } } GROUP BY ?d } . FILTER ( ?w = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type print
value 1
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?n property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:painting } UNION { ?n property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:print } } GROUP BY ?d } . FILTER ( ?w = 1 ) }
[]
administrative territorial entity painting print
Q1085 Q1524 Q33959
SYSTEM
Prague, Athens, Nice
Q33959 Q15682 Q62289 Q178835 Q12892 Q179815 Q1247496 Q8818 Q174054 Q1524 Q3561 Q1012797 Q3834 Q748777 Q85 Q2100774 Q4914513 Q101254 Q634054 Q49146 Q8717 Q180141 Q6441 Q1085
(c(Q3305213)|c(Q11060274),P180,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q56061
type Q11060274
value 1
[ANSWERS] are expressed in exactly 1 paintings and prints
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?n property:P180 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q3305213 } UNION { ?n property:P180 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q11060274 } } GROUP BY ?d } . FILTER ( ?w = 1 ) }
Nice Cádiz Rockaway Beach Baalbek Antwerp Durham Rievaulx Abbey Valencia Isola Bella Athens Algiers Ostia Antica Konstanz Tintagel Cairo Point Judith, Rhode Island Binsey, Oxfordshire Newport Conwy New London Seville Sodom and Gomorrah Montpellier Prague
Prague, Athens and Nice are expressed in exactly 1 paintings and prints
Prague Athens Nice
action equal
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type print
value 1
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?n property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:painting } UNION { ?n property:depicts ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:print } } GROUP BY ?d } . FILTER ( ?w = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6430398 Q4962393
P27 P17
Q15617994
USER
Which administrative territories do Brett Storey belong to or are Kontrewers, Łódź Voivodeship a part of ?
OR((Q4962393,P27,c(Q15617994)), (Q6430398,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4962393
relation P27
action find
entity Q6430398
relation P17
type Q15617994
{'OR': [['Q4962393', 'P27', {'concept': 'Q15617994'}], ['Q6430398', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q4962393 property:P27 ?h } UNION { resource:Q6430398 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Kontrewers, Łódź Voivodeship Brett Storey
action filter_type
action union
action find
entity Brett Storey
relation country of citizenship
action find
entity Kontrewers, Łódź Voivodeship
relation country
type designation for an administrative territorial entity
{'OR': [['Brett Storey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kontrewers, Łódź Voivodeship', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Brett_Storey property:country_of_citizenship ?h } UNION { resource:Kontrewers,_Łódź_Voivodeship property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q145
SYSTEM
Poland, United Kingdom
Q36 Q145
OR((Q4962393,P27,c(Q15617994)), (Q6430398,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4962393
relation P27
action find
entity Q6430398
relation P17
type Q15617994
Brett Storey belong to [ANSWERS] or are Kontrewers , Łódź Voivodeship a part of
{'OR': [['Q4962393', 'P27', {'concept': 'Q15617994'}], ['Q6430398', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q4962393 property:P27 ?h } UNION { resource:Q6430398 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Poland United Kingdom
Brett Storey belong to Poland and United Kingdom or are Kontrewers , Łódź Voivodeship a part of
Poland United Kingdom
action filter_type
action union
action find
entity Brett Storey
relation country of citizenship
action find
entity Kontrewers, Łódź Voivodeship
relation country
type designation for an administrative territorial entity
{'OR': [['Brett Storey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kontrewers, Łódź Voivodeship', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Brett_Storey property:country_of_citizenship ?h } UNION { resource:Kontrewers,_Łódź_Voivodeship property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36 Q145
P1001
Q1292279
USER
Which political borders apply to jurisdiction over those administrative territories ?
(c(Q1292279),P1001,Q36) (c(Q1292279),P1001,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q36'] [{'concept': 'Q1292279'}, 'P1001', 'Q145']
SELECT DISTINCT ?i WHERE { ?i property:P1001 ?e . ?i rdf:type ontology:Q1292279 . VALUES ( ?e ) { ( resource:Q36 ) ( resource:Q145 ) } }
Poland United Kingdom
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Poland'] [{'concept': 'political border'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction ?e . ?i rdf:type ontology:political_border . VALUES ( ?e ) { ( resource:Poland ) ( resource:United_Kingdom ) } }
[]
political border
Q3088906 Q2499730 Q782109
SYSTEM
France–United Kingdom border, Belarus–Poland border, Poland–Russia border
Q2499730 Q782109 Q9275849 Q15214996 Q1991994 Q2708432 Q14905346 Q2453834 Q16025260 Q1992001 Q17351713 Q17351824 Q17351805 Q17351819 Q17351790 Q17351840 Q17351351 Q17351357 Q670200 Q17351344 Q16467748 Q3088906 Q17351746 Q16025208 Q16025205 Q17351738 Q17351706 Q3088648
(c(Q1292279),P1001,Q36) (c(Q1292279),P1001,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q1292279
[ANSWERS] apply to jurisdiction over those administrative territories
[{'concept': 'Q1292279'}, 'P1001', 'Q36'] [{'concept': 'Q1292279'}, 'P1001', 'Q145']
SELECT DISTINCT ?i WHERE { ?i property:P1001 ?e . ?i rdf:type ontology:Q1292279 . VALUES ( ?e ) { ( resource:Q36 ) ( resource:Q145 ) } }
Belarus–Poland border Poland–Russia border Latvia–Poland border Germany–Poland border Poland–Slovakia border Poland–Ukraine border Denmark–Poland border Lithuania–Poland border Poland–Sweden border Czech Republic–Poland border Bahamas–United Kingdom border Saint Kitts and Nevis–United Kingdom border Maldives–United Kingdom border Norway–United Kingdom border Jamaica–United Kingdom border United Kingdom–United States border Antigua and Barbuda–United Kingdom border United Kingdom–Venezuela border Ireland–United Kingdom border Netherlands–United Kingdom border Belgium–United Kingdom border France–United Kingdom border Dominican Republic–United Kingdom border Denmark–United Kingdom border Germany–United Kingdom border Cuba–United Kingdom border Argentina–United Kingdom border Cyprus–United Kingdom border
France–United Kingdom border, Belarus–Poland border and Poland–Russia border apply to jurisdiction over those administrative territories
France–United Kingdom border Belarus–Poland border Poland–Russia border
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Poland'] [{'concept': 'political border'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction ?e . ?i rdf:type ontology:political_border . VALUES ( ?e ) { ( resource:Poland ) ( resource:United_Kingdom ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3088906 Q2499730 Q782109
P1001
Q15617994
USER
Which administrative territories belong to jurisdiction of those political borders ?
(Q3088906,P1001,c(Q15617994)) (Q2499730,P1001,c(Q15617994)) (Q782109,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q3088906', 'P1001', {'concept': 'Q15617994'}] ['Q2499730', 'P1001', {'concept': 'Q15617994'}] ['Q782109', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?a property:P1001 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?a ) { ( resource:Q2499730 ) ( resource:Q782109 ) ( resource:Q9275849 ) } }
France–United Kingdom border Belarus–Poland border Poland–Russia border
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['France–United Kingdom border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Belarus–Poland border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Poland–Russia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?a property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?a ) { ( resource:Belarus–Poland_border ) ( resource:Poland–Russia_border ) ( resource:Latvia–Poland_border ) } }
[]
designation for an administrative territorial entity
Q159 Q142 Q36
SYSTEM
Russia, France, Poland
Q142 Q145 Q184 Q36 Q159 Q36
(Q3088906,P1001,c(Q15617994)) (Q2499730,P1001,c(Q15617994)) (Q782109,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS] belong to jurisdiction of those political borders
['Q3088906', 'P1001', {'concept': 'Q15617994'}] ['Q2499730', 'P1001', {'concept': 'Q15617994'}] ['Q782109', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?a property:P1001 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?a ) { ( resource:Q2499730 ) ( resource:Q782109 ) ( resource:Q9275849 ) } }
France United Kingdom Belarus Poland Russia Poland
Russia, France and Poland belong to jurisdiction of those political borders
Russia France Poland
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['France–United Kingdom border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Belarus–Poland border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Poland–Russia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?a property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?a ) { ( resource:Belarus–Poland_border ) ( resource:Poland–Russia_border ) ( resource:Latvia–Poland_border ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q159 Q142 Q36
P1001
Q4164871
USER
Which positions apply to jurisdiction over those administrative territories ?
(c(Q4164871),P1001,Q159) (c(Q4164871),P1001,Q142) (c(Q4164871),P1001,Q36)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q159'] [{'concept': 'Q4164871'}, 'P1001', 'Q142'] [{'concept': 'Q4164871'}, 'P1001', 'Q36']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4164871 . ?u property:P1001 ?e . VALUES ( ?e ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q184 ) } }
Russia France Poland
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Russia'] [{'concept': 'position'}, 'applies to jurisdiction', 'France'] [{'concept': 'position'}, 'applies to jurisdiction', 'Poland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:position . ?u property:applies_to_jurisdiction ?e . VALUES ( ?e ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Belarus ) } }
[]
position
Q1965788 Q3409222 Q25398921
SYSTEM
First Deputy Chairman of the Government of the Russian Federation, President of the Senate of France, Minister of Higher Education
Q1965788 Q25398921 Q3409222 Q25711733 Q25598671 Q25917007 Q25598713
(c(Q4164871),P1001,Q159) (c(Q4164871),P1001,Q142) (c(Q4164871),P1001,Q36)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q4164871
[ANSWERS] apply to jurisdiction over those administrative territories
[{'concept': 'Q4164871'}, 'P1001', 'Q159'] [{'concept': 'Q4164871'}, 'P1001', 'Q142'] [{'concept': 'Q4164871'}, 'P1001', 'Q36']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4164871 . ?u property:P1001 ?e . VALUES ( ?e ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q184 ) } }
First Deputy Chairman of the Government of the Russian Federation Minister of Higher Education President of the Senate of France Minister of Education Minister of Foreign Affairs Minister of Regional Development Minister of the Interior and Administration
First Deputy Chairman of the Government of the Russian Federation, President of the Senate of France and Minister of Higher Education apply to jurisdiction over those administrative territories
First Deputy Chairman of the Government of the Russian Federation President of the Senate of France Minister of Higher Education
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Russia'] [{'concept': 'position'}, 'applies to jurisdiction', 'France'] [{'concept': 'position'}, 'applies to jurisdiction', 'Poland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:position . ?u property:applies_to_jurisdiction ?e . VALUES ( ?e ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Belarus ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1965788
P361
Q2324993
USER
What is that position a part of ?
(Q1965788,P361,c(Q2324993))
action filter_type
action find
entity Q1965788
relation P361
type Q2324993
['Q1965788', 'P361', {'concept': 'Q2324993'}]
SELECT DISTINCT ?f WHERE { resource:Q1965788 property:P361 ?f . ?f rdf:type ontology:Q2324993 }
First Deputy Chairman of the Government of the Russian Federation
action filter_type
action find
entity First Deputy Chairman of the Government of the Russian Federation
relation part of
type branch
['First Deputy Chairman of the Government of the Russian Federation', 'part of', {'concept': 'branch'}]
SELECT DISTINCT ?f WHERE { resource:First_Deputy_Chairman_of_the_Government_of_the_Russian_Federation property:part_of ?f . ?f rdf:type ontology:branch }
[]
branch
Clarification for simple ques.
Q3409222
SYSTEM
Did you mean President of the Senate of France ?
Q1965788 Q3409222 Q25398921
(Q1965788,P361,c(Q2324993)) (Q3409222,P361,c(Q2324993)) (Q25398921,P361,c(Q2324993))
[ANSWER]
['Q1965788', 'P361', {'concept': 'Q2324993'}] ['Q3409222', 'P361', {'concept': 'Q2324993'}] ['Q25398921', 'P361', {'concept': 'Q2324993'}]
SELECT DISTINCT ?f WHERE { resource:Q1965788 property:P361 ?f . ?f rdf:type ontology:Q2324993 }
First Deputy Chairman of the Government of the Russian Federation President of the Senate of France Minister of Higher Education
Did you mean President of the Senate of France ?
President of the Senate of France
['First Deputy Chairman of the Government of the Russian Federation', 'part of', {'concept': 'branch'}] ['President of the Senate of France', 'part of', {'concept': 'branch'}] ['Minister of Higher Education', 'part of', {'concept': 'branch'}]
SELECT DISTINCT ?f WHERE { resource:First_Deputy_Chairman_of_the_Government_of_the_Russian_Federation property:part_of ?f . ?f rdf:type ontology:branch }
[]
Simple Question (Coreferenced)
USER
No, I meant First Deputy Chairman of the Government of the Russian Federation. Could you tell me the answer for that?
(Q1965788,P361,c(Q2324993))
Q1965788
['Q1965788', 'P361', {'concept': 'Q2324993'}]
['First Deputy Chairman of the Government of the Russian Federation', 'part of', {'concept': 'branch'}]
[]
Q1140115
SYSTEM
Government of the Russian Federation
Q1140115
(Q1965788,P361,c(Q2324993))
action filter_type
action find
entity Q1965788
relation P361
type Q2324993
That position a part of is the [ANSWER]
['Q1965788', 'P361', {'concept': 'Q2324993'}]
SELECT DISTINCT ?f WHERE { resource:Q1965788 property:P361 ?f . ?f rdf:type ontology:Q2324993 }
Government of the Russian Federation
That position a part of is the Government of the Russian Federation
Government of the Russian Federation
action filter_type
action find
entity First Deputy Chairman of the Government of the Russian Federation
relation part of
type branch
['First Deputy Chairman of the Government of the Russian Federation', 'part of', {'concept': 'branch'}]
SELECT DISTINCT ?f WHERE { resource:First_Deputy_Chairman_of_the_Government_of_the_Russian_Federation property:part_of ?f . ?f rdf:type ontology:branch }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q1048835 Q56061 Q1292279
USER
Which political borders have jurisdiction over min number of political territories and administrative territories ?
(c(Q1292279),P1001,c(Q1048835)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P1001
type Q1292279
type Q1048835
action find_tuple_counts
relation P1001
type Q1292279
type Q56061
[{'concept': 'Q1292279'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { { ?p property:P1001 ?v . ?p rdf:type ontology:Q1292279 . ?v rdf:type ontology:Q1048835 } UNION { ?p property:P1001 ?v . ?p rdf:type ontology:Q1292279 . ?v rdf:type ontology:Q56061 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?r WHERE { { ?r property:P1001 ?j . ?r rdf:type ontology:Q1292279 . ?j rdf:type ontology:Q56061 } UNION { ?r property:P1001 ?j . ?r rdf:type ontology:Q1292279 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?r } . FILTER ( ?z = ?h ) }
action argmin
action union
action find_tuple_counts
relation applies to jurisdiction
type political border
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type political border
type administrative territorial entity
[{'concept': 'political border'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { { ?p property:applies_to_jurisdiction ?v . ?p rdf:type ontology:political_border . ?v rdf:type ontology:political_territorial_entity } UNION { ?p property:applies_to_jurisdiction ?v . ?p rdf:type ontology:political_border . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?r WHERE { { ?r property:applies_to_jurisdiction ?j . ?r rdf:type ontology:political_border . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?r property:applies_to_jurisdiction ?j . ?r rdf:type ontology:political_border . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?r } . FILTER ( ?z = ?h ) }
[]
political territorial entity administrative territorial entity political border
Q2637319 Q3088893 Q3088906
SYSTEM
France–Spain border, Dominica–France border, France–United Kingdom border
Q3089119 Q3089118 Q3089114 Q3089116 Q3089110 Q3089113 Q3089112 Q1991288 Q16025263 Q3088909 Q3088908 Q3088866 Q3088864 Q3088905 Q3088904 Q3088907 Q3088906 Q4398223 Q3089187 Q4398224 Q3089021 Q3089020 Q3089023 Q3089025 Q3089024 Q3089027 Q631348 Q3088888 Q3088889 Q17351357 Q3088768 Q2473841 Q3088884 Q3088885 Q3089202 Q3089204 Q3089207 Q3089206 Q16025279 Q3088843 Q376744 Q390088 Q2658266 Q1993066 Q17351735 Q17351734 Q17351737 Q603662 Q17351731 Q17351730 Q17351733 Q17351732 Q17351739 Q17351755 Q2623774 Q2749165 Q3088648 Q3088649 Q10286074 Q3088642 Q3088643 Q558660 Q16467748 Q1992781 Q2456673 Q17351841 Q17351840 Q3089012 Q3089013 Q3089014 Q3089018 Q2629898 Q3088945 Q3089029 Q3088947 Q3088946 Q3088943 Q3088942 Q2379519 Q2635466 Q3089089 Q3089120 Q3089121 Q3089082 Q3089081 Q3089128 Q3089188 Q3089085 Q3088839 Q3088831 Q3088830 Q3088835 Q1996259 Q3088930 Q3088932 Q2573418 Q3088937 Q3088939 Q576324 Q1993022 Q1993845 Q2747810 Q17351795 Q3088686 Q17351785 Q3088684 Q3088685 Q17351780 Q3088728 Q17351782 Q17351783 Q2778786 Q17351788 Q3088720 Q3088723 Q17351768 Q17351762 Q17351761 Q17351766 Q17351809 Q17351808 Q17351801 Q17351800 Q17351807 Q17351806 Q17351805 Q17351804 Q1992001 Q730240 Q1996372 Q17351784 Q3088687 Q26833475 Q17351798 Q16802111 Q26833578 Q26833579 Q17351787 Q782109 Q3088683 Q641617 Q3088875 Q3088877 Q3088876 Q3088978 Q3088979 Q3088873 Q3089150 Q3088974 Q3088975 Q3088977 Q3088970 Q3088878 Q3088972 Q3088973 Q2634555 Q3089058 Q3089050 Q3089051 Q3088714 Q3088715 Q3088899 Q3088898 Q3088710 Q3088712 Q3088713 Q3088893 Q3088892 Q3088891 Q3088890 Q6026342 Q3088719 Q3089173 Q3089177 Q3089176 Q3089174 Q2453169 Q16025260 Q13390223 Q3088800 Q3088801 Q3088803 Q3088804 Q1057263 Q3088806 Q3088807 Q384982 Q17351726 Q17351727 Q17351724 Q17351725 Q17351722 Q17351723 Q17351720 Q17351721 Q17351728 Q17351729 Q3088659 Q3088786 Q3089185 Q3088651 Q3088652 Q542085 Q2637319 Q17009319 Q2661853 Q3089002 Q3089001 Q3089000 Q3089007 Q1991994 Q3089005 Q3089009 Q1992790 Q2631181 Q2631814 Q2742785 Q966245 Q3088996 Q3088995 Q2453047 Q3088844 Q3088841 Q3088842 Q17351738 Q3088923 Q3088922 Q3088921 Q3088920 Q3088927 Q3088929 Q2877502 Q3088665 Q3088749 Q3088748 Q3088661 Q3088662 Q1993836 Q3088747 Q3088669 Q1991697 Q3088699 Q2748867 Q927228 Q2742537 Q3088693 Q3088692 Q3088694 Q3088696 Q16025257 Q16025252 Q2720214 Q17351759 Q17351758 Q17351757 Q1993494 Q17351754 Q17351753 Q17351752 Q17351751 Q17351750 Q17351818 Q17351819 Q664063 Q17351815 Q17351810 Q17351812 Q17351813 Q17351688 Q1993859 Q9275849 Q15921319 Q2576553 Q6742083 Q1991264 Q495735 Q7886162 Q3088969 Q3089079 Q3088964 Q2682071 Q3089041 Q3089040 Q3088706 Q3088704 Q3088702 Q3089149 Q3089147 Q935227 Q3088792 Q3088817 Q3088818 Q17351718 Q2630440 Q17351717 Q17351716 Q17351715 Q581065 Q2749127 Q2749121 Q26833470 Q2708432 Q3088998 Q1993469 Q2052849 Q2717530 Q17351827 Q17351821 Q17351820 Q17351823 Q771362 Q3089036 Q3089034 Q3089035 Q3089038 Q17355401 Q682804 Q740278 Q544772 Q3088981 Q3089108 Q3089109 Q3088985 Q3089102 Q3088988 Q3089100 Q3089101 Q3089106 Q3089104 Q26833632 Q17351740 Q3088859 Q3088858 Q3088857 Q3088856 Q3088855 Q3088853 Q3088916 Q3088915 Q3088912 Q3088913 Q16025029 Q3088919 Q3088677 Q3088676 Q3088674 Q3088673 Q3088777 Q3088770 Q2630766 Q1993093 Q3089016 Q2578683 Q16025249 Q1993076 Q1993481 Q17351741 Q17351742 Q17351744 Q17351745 Q17351746 Q17351747 Q17351748 Q17351749 Q2546051 Q670200 Q7886197 Q17351692 Q2749284 Q17351690 Q2453561 Q3088879 Q640742 Q2499730 Q3088667 Q2364598 Q1991951 Q17351786 Q3497695 Q2452547 Q3088668 Q2629888 Q1991311 Q3088952 Q3088957 Q3089199 Q3088959 Q3089071 Q3089077 Q3089075 Q2913944 Q17351344 Q17351781 Q3089151 Q3089099 Q3089152 Q3089091 Q3089096 Q3088789 Q3088788 Q3088787 Q572463 Q3088785 Q3088782 Q3088827 Q3088824 Q3088825 Q3088822 Q17351706 Q3089062 Q2467764 Q1994949 Q17351793 Q17351792 Q17351791 Q2399139 Q17351797 Q975685 Q17351794 Q3088732 Q17351799 Q3088731 Q3088737 Q3088734 Q2748217 Q17351771 Q17351770 Q17351773 Q17351772 Q17351775 Q17351774 Q17351777 Q17351776 Q17351836 Q17351837 Q17351835 Q17351832 Q17351833 Q17351830 Q17351831 Q17351838 Q17351839 Q2009420 Q2699571 Q2453834 Q26833474 Q3081870 Q17351789 Q700754
(c(Q1292279),P1001,c(Q1048835)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P1001
type Q1292279
type Q1048835
action find_tuple_counts
relation P1001
type Q1292279
type Q56061
[ANSWERS] have jurisdiction over min number of political territories and administrative territories
[{'concept': 'Q1292279'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { { ?p property:P1001 ?v . ?p rdf:type ontology:Q1292279 . ?v rdf:type ontology:Q1048835 } UNION { ?p property:P1001 ?v . ?p rdf:type ontology:Q1292279 . ?v rdf:type ontology:Q56061 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?r WHERE { { ?r property:P1001 ?j . ?r rdf:type ontology:Q1292279 . ?j rdf:type ontology:Q56061 } UNION { ?r property:P1001 ?j . ?r rdf:type ontology:Q1292279 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?r } . FILTER ( ?z = ?h ) }
Malawi–Tanzania border Malawi–Zambia border Laos–Vietnam border Liberia–Sierra Leone border Lebanon–Syria border China–Laos border China–Kyrgyzstan border France–Italy border Russia–Sweden border France–Samoa border France–Kiribati border Bulgaria–Serbia border Bulgaria–Macedonia border France–Vanuatu border France–Saint Lucia border France–Venezuela border France–United Kingdom border South Ossetia–Russia border South Sudan–Sudan border Japan–Russia border Burkina Faso–Niger border Burkina Faso–Mali border Burundi–Democratic Republic of the Congo border Burundi–Rwanda border Burundi–Tanzania border Burkina Faso–Togo border North Korea–Russia border Côte d'Ivoire–Guinea border Côte d'Ivoire–Ghana border United Kingdom–Venezuela border India–Nepal border Gibraltar–Spain border North Korea–South Korea border Croatia–Hungary border Kiribati–Nauru border Marshall Islands–Nauru border Oman–United Arab Emirates border Fiji–France border Russia–Turkey border Belgium–Netherlands border China–Mongolia border Guatemala–Mexico border Russia–Ukraine border Bolivia–Brazil border Cuba–Honduras border Cuba–Haiti border Cuba–Mexico border Estonia–Russia border Comoros–Tanzania border Comoros–Seychelles border Croatia–Italy border Costa Rica–Ecuador border Cuba–United States border Eritrea–Yemen border Belarus–Lithuania border India–Myanmar border Cyprus–United Kingdom border Djibouti–Eritrea border Kosovo–Macedonia border Cyprus–Israel border Cyprus–Syria border Colombia–Peru border Belgium–United Kingdom border Czech Republic–Slovakia border Brazil–Uruguay border United States–Venezuela border United Kingdom–United States border Brunei–Malaysia border Brazil–Suriname border Burkina Faso–Côte d'Ivoire border Brazil–Venezuela border Kazakhstan–Russia border Hungary–Slovenia border Benin–Burkina Faso border Libya–Sudan border Chad–Libya border Libya–Tunisia border Hungary–Serbia border Libya–Niger border India–Pakistan border El Salvador–Honduras border Malawi–Mozambique border Mali–Niger border Guyana–Venezuela border El Salvador–Guatemala border Mali–Mauritania border Chad–Sudan border Honduras–Nicaragua border Belgium–Luxembourg border Ethiopia–South Sudan border Ethiopia–Sudan border Ethiopia–Somalia border France–Netherlands border Guinea–Mali border Guinea–Senegal border Brazil–France border Georgia–Turkey border Georgia–Russia border Bosnia and Herzegovina–Croatia border Hungary–Ukraine border Brazil–Paraguay border Namibia–South Africa border Kiribati–Marshall Islands border Albania–Greece border Italy–Libya border Albania–Montenegro border Albania–Serbia border Iran–Kuwait border Argentina–Bolivia border Iran–Qatar border Iran–Saudi Arabia border Estonia–Latvia border Italy–Spain border Saudi Arabia–United Arab Emirates border Qatar–Saudi Arabia border Haiti–United States border Greece–Libya border Greece–Italy border Guyana–Trinidad and Tobago border Mauritius–Seychelles border Marshall Islands–United States border Madagascar–Seychelles border Madagascar–Mozambique border Marshall Islands–Micronesia border Malta–Tunisia border Maldives–United Kingdom border Maldives–Sri Lanka border Czech Republic–Poland border Laos–Thailand border France–Monaco border Iran–United Arab Emirates border Algeria–Libya border Democratic Republic of the Congo–Sudan border Kiribati–United States border Cameroon–Central African Republic border Kosovo–Montenegro border Albania–Kosovo border Italy–Montenegro border Poland–Russia border Albania–Macedonia border Croatia–Serbia border Colombia–Haiti border Colombia–Honduras border Colombia–Dominican Republic border Democratic Republic of the Congo–Zambia border Democratic Republic of the Congo–Rwanda border Bulgaria–Turkey border Mozambique–Zambia border Central African Republic–Democratic Republic of the Congo border Democratic Republic of the Congo–Republic of the Congo border Democratic Republic of the Congo–Tanzania border Central African Republic–Sudan border Colombia–Costa Rica border Romania–Serbia border Central African Republic–South Sudan border Latvia–Lithuania border Central African Republic–Republic of the Congo border Cameroon–Nigeria border Cameroon–Chad border Jordan–Saudi Arabia border Kuwait–Saudi Arabia border France–Mauritius border France–Madagascar border Angola–Zambia border Oman–Saudi Arabia border Iraq–Saudi Arabia border Dominica–France border Côte d'Ivoire–Mali border Croatia–Montenegro border Côte d'Ivoire–Liberia border Indonesia–Thailand border Saudi Arabia–Yemen border Niger–Nigeria border China–Nepal border Chad–Nigeria border Chad–Niger border Romania–Ukraine border Poland–Sweden border Cambodia–Thailand border Democratic Republic of the Congo–Uganda border Rwanda–Uganda border Tanzania–Uganda border South Sudan–Uganda border Mexico–United States border Tajikistan–Uzbekistan border Turkmenistan–Uzbekistan border Israel–Lebanon border China–Philippines border China–South Korea border Cape Verde–Senegal border China–Japan border Cape Verde–Gambia border Cape Verde–Mauritania border Barbados–Trinidad and Tobago border Belize–Honduras border Comoros–Madagascar border Comoros–Mozambique border Israel–Jordan border Iraq–Jordan border Rwanda–Tanzania border Dominican Republic–Haiti border Djibouti–Ethiopia border Jordan–Syria border France–Spain border Malaysia–Vietnam border Norway–Russia border Botswana–Namibia border Bhutan–China border Belize–Guatemala border Botswana–Zimbabwe border Poland–Slovakia border Botswana–Zambia border Belize–Mexico border China–India border Moldova–Romania border Brazil–Colombia border Norway–Sweden border Belarus–Latvia border Syria–Turkey border Tanzania–Zambia border Moldova–Ukraine border China–Myanmar border Myanmar–Thailand border Laos–Myanmar border Cuba–United Kingdom border Guinea-Bissau–Senegal border Greece–Turkey border Greece–Macedonia border Gambia–Senegal border Guinea–Sierra Leone border Guinea–Liberia border Colombia–Panama border Afghanistan–China border Azerbaijan–Turkey border Azerbaijan–Georgia border Oman–Yemen border Afghanistan–Iran border Ecuador–Peru border Azerbaijan–Iran border Afghanistan–Turkmenistan border France–Switzerland border Angola–Namibia border Lesotho–South Africa border Colombia–Ecuador border Algeria–Morocco border Algeria–Tunisia border Algeria–Mauritania border Algeria–Mali border Algeria–Niger border Lithuania–Sweden border Latvia–Sweden border Brazil–Guyana border Fiji–Vanuatu border Fiji–Tuvalu border Fiji–Tonga border Brazil–Peru border Eritrea–Saudi Arabia border Equatorial Guinea–São Tomé and Príncipe border El Salvador–Nicaragua border Egypt–Saudi Arabia border Egypt–Jordan border Nigeria–São Tomé and Príncipe border Norway–United Kingdom border Italy–Switzerland border Netherlands–Venezuela border Micronesia–Palau border Micronesia–United States border Morocco–Portugal border Albania–Italy border Chile–Peru border Latvia–Poland border Indonesia–Vietnam border Belarus–Russia border Malaysia–Philippines border Italy–San Marino border Finland–Russia border Israel–Syria border Central African Republic–Chad border Guyana–Suriname border Malaysia–Thailand border Iran–Iraq border Cameroon–Equatorial Guinea border Cameroon–Republic of the Congo border Bahrain–Saudi Arabia border Angola–Democratic Republic of the Congo border Angola–Republic of the Congo border Mozambique–Tanzania border Montenegro–Serbia border China–Pakistan border Iran–Turkmenistan border Egypt–Israel border Eritrea–Ethiopia border Barbados–Saint Lucia border Latvia–Russia border Barbados–Guyana border Bahrain–Qatar border Bahrain–Iran border Afghanistan–Uzbekistan border Azerbaijan–Russia border Bhutan–India border Kenya–Sudan border Poland–Ukraine border Zambia–Zimbabwe border Argentina–Brazil border Belgium–France border Finland–Sweden border Saint Lucia–Venezuela border Palau–Philippines border Oman–Pakistan border Qatar–United Arab Emirates border Mongolia–Russia border Cambodia–Vietnam border Benin–Niger border Cambodia–Laos border Benin–Nigeria border France–Mozambique border Guinea–Guinea-Bissau border Djibouti–Somalia border Bangladesh–Myanmar border Democratic Republic of the Congo–South Sudan border Kyrgyzstan–Uzbekistan border Kyrgyzstan–Tajikistan border China–Tajikistan border Kenya–Somalia border China–Vietnam border Kazakhstan–Kyrgyzstan border Kenya–Uganda border Kenya–South Sudan border Kenya–Tanzania border South Yemen-Yemen Arab Republic border Cyprus–Egypt border Bosnia and Herzegovina–Serbia border Bolivia–Peru border Bolivia–Paraguay border Bulgaria–Greece border Bolivia–Chile border Bosnia and Herzegovina–Montenegro border France–Seychelles border France–Tuvalu border France–Luxembourg border France–Suriname border Estonia–Finland border France–Tonga border South Africa–Swaziland border South Africa–Zimbabwe border Mozambique–South Africa border Botswana–South Africa border Indonesia–Malaysia border East Timor–Indonesia border Slovakia–Ukraine border Hungary–Slovakia border Burkina Faso–Ghana border Mali–Senegal border Estonia–Sweden border Argentina–Chile border Argentina–Paraguay border Cyprus–Lebanon border Cyprus–Turkey border Dominica–Venezuela border Dominican Republic–Netherlands border Dominican Republic–United Kingdom border Dominican Republic–United States border Dominican Republic–Venezuela border Egypt–Greece border Belarus–Ukraine border Ireland–United Kingdom border Colombia–Venezuela border Algeria–Italy border Bulgaria–Romania border Algeria–Spain border Lithuania–Russia border Colombia–Nicaragua border Mauritania–Senegal border Belarus–Poland border Afghanistan–Tajikistan border Djibouti–Yemen border Liechtenstein–Switzerland border Italy–Malta border Abkhazia–Russia border Hungary–Romania border Afghanistan–Pakistan border China–Russia border Croatia–Slovenia border Macedonia–Serbia border Namibia–Zambia border Comoros–France border Mauritania–Western Sahara border Costa Rica–Panama border Guatemala–Honduras border Ghana–Togo border Finland–Norway border Netherlands–United Kingdom border Iran–Oman border Mozambique–Swaziland border China–Kazakhstan border Mozambique–Zimbabwe border Kazakhstan–Uzbekistan border Kazakhstan–Turkmenistan border Iran–Pakistan border Iraq–Turkey border Iran–Turkey border Italy–Slovenia border Iraq–Kuwait border Iraq–Syria border Ethiopia–Kenya border Egypt–Libya border Egypt–Sudan border Eritrea–Sudan border Argentina–United Kingdom border Costa Rica–Nicaragua border Andorra–Spain border Argentina–Uruguay border Japan–Taiwan border Japan–South Korea border Japan–Philippines border Bangladesh–India border Kiribati–Tuvalu border Benin–Togo border Japan–United States border Armenia–Azerbaijan border Libya–Malta border Armenia–Turkey border Armenia–Georgia border Armenia–Iran border Morocco–Spain border Iceland–Norway border Honduras–Mexico border India–Maldives border India–Indonesia border India–Thailand border India–Sri Lanka border Indonesia–Philippines border Indonesia–Palau border Thailand–Vietnam border Tonga–United States border Somalia–Yemen border Saudi Arabia–Sudan border Seychelles–Tanzania border Samoa–Tonga border Samoa–United States border Trinidad and Tobago–Venezuela border Turkey–Ukraine border Andorra–France border Portugal–Spain border Lithuania–Poland border Sudan–Uganda border Russia–United States border Italy–Tunisia border Inner German border
France–Spain border, Dominica–France border and France–United Kingdom border have jurisdiction over min number of political territories and administrative territories
France–Spain border Dominica–France border France–United Kingdom border
action argmin
action union
action find_tuple_counts
relation applies to jurisdiction
type political border
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type political border
type administrative territorial entity
[{'concept': 'political border'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { { ?p property:applies_to_jurisdiction ?v . ?p rdf:type ontology:political_border . ?v rdf:type ontology:political_territorial_entity } UNION { ?p property:applies_to_jurisdiction ?v . ?p rdf:type ontology:political_border . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?r WHERE { { ?r property:applies_to_jurisdiction ?j . ?r rdf:type ontology:political_border . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?r property:applies_to_jurisdiction ?j . ?r rdf:type ontology:political_border . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?r } . FILTER ( ?z = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q242
P1001
Q15617994 Q1292279
USER
How many administrative territories come under the jurisdiction of lesser number of political borders than Belize ?
(c(Q1292279),P1001,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_type
action find_reverse
entity Q242
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { ?i rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1292279 . ?v property:P1001 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1001 resource:Q242 . ?l rdf:type ontology:Q1292279 } } . FILTER ( ?o < ?h ) }
Belize
action count
action less
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_type
action find_reverse
entity Belize
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_border . ?v property:applies_to_jurisdiction ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:applies_to_jurisdiction resource:Belize . ?l rdf:type ontology:political_border } } . FILTER ( ?o < ?h ) }
[]
designation for an administrative territorial entity political border
SYSTEM
114
Q701 Q804 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q189 Q784 Q24764 Q2742 Q711 Q837 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q1979 Q45 Q4628 Q7688 Q3097 Q158893 Q2942 Q1965 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q3389 Q423 Q854 Q163966 Q769680 Q3068 Q1013 Q11323 Q1948 Q1093 Q238 Q119284 Q3403547 Q27 Q2667658 Q1027 Q2009 Q2007 Q1101 Q2003 Q1904 Q228 Q3462133 Q223 Q347 Q1050 Q1989 Q2838 Q902 Q697 Q694 Q752 Q22274534 Q11337 Q11331 Q217 Q12642 Q154547 Q1216 Q12753 Q2805 Q917 Q2107 Q1007 Q1005 Q1951 Q1438 Q34020 Q2380910 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q775 Q776 Q770 Q773 Q772 Q158083 Q1243 Q72449 Q12549 Q22273285 Q129003 Q176 Q33788 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q1292279),P1001,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_type
action find_reverse
entity Q242
relation P1001
type Q1292279
[ANSWER]
[{'concept': 'Q1292279'}, 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { ?i rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1292279 . ?v property:P1001 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1001 resource:Q242 . ?l rdf:type ontology:Q1292279 } } . FILTER ( ?o < ?h ) }
North Holland Panama Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Iceland Dominica municipality of the Philippines Münster Mongolia Nepal Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France Prince Edward Island Portugal Faroe Islands raion Remscheid Friedrichshain-Kreuzberg Solingen New Brunswick Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Finistère North Korea Sri Lanka Mitte Bornholm Loire-Atlantique Lesotho Breckerfeld Manitoba Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritius Yukon Northwest Territories North Brabant Newfoundland and Labrador Ontario Andorra Saxe-Coburg and Gotha Greenland Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Nauru South Holland Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Morbihan duchy Piedmont Seine-et-Marne Krefeld Bhutan Wuppertal Guinea-Bissau Gambia Alberta Campania Niue Duchy of Zaslawye East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay Gelderland Utrecht Friesland Overijssel Drenthe Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Quebec New Caledonia Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
114
action count
action less
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_type
action find_reverse
entity Belize
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_border . ?v property:applies_to_jurisdiction ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:applies_to_jurisdiction resource:Belize . ?l rdf:type ontology:political_border } } . FILTER ( ?o < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1044
P1001
Q15617994 Q1292279
USER
And what about Sierra Leone?
(c(Q1292279),P1001,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_type
action find_reverse
entity Q1044
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?p ) WHERE { ?m rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1292279 . ?x property:P1001 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P1001 resource:Q1044 . ?b rdf:type ontology:Q1292279 } } . FILTER ( ?p < ?d ) }
Sierra Leone
action count
action less
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_type
action find_reverse
entity Sierra Leone
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?p ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_border . ?x property:applies_to_jurisdiction ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:applies_to_jurisdiction resource:Sierra_Leone . ?b rdf:type ontology:political_border } } . FILTER ( ?p < ?d ) }
[]
designation for an administrative territorial entity political border
SYSTEM
93
Q701 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q1979 Q4628 Q7688 Q3097 Q158893 Q2942 Q1965 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q3389 Q163966 Q769680 Q3068 Q1013 Q11323 Q1948 Q1093 Q238 Q119284 Q3403547 Q27 Q2667658 Q2009 Q2007 Q1101 Q2003 Q1904 Q3462133 Q223 Q1989 Q2838 Q694 Q752 Q22274534 Q11337 Q11331 Q12642 Q154547 Q1216 Q12753 Q2805 Q2107 Q1951 Q1438 Q34020 Q2380910 Q11301 Q2904 Q158095 Q775 Q776 Q770 Q773 Q772 Q158083 Q1243 Q72449 Q12549 Q22273285 Q129003 Q176 Q33788 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q1292279),P1001,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_type
action find_reverse
entity Q1044
relation P1001
type Q1292279
[ANSWER]
[{'concept': 'Q1292279'}, 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?p ) WHERE { ?m rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1292279 . ?x property:P1001 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P1001 resource:Q1044 . ?b rdf:type ontology:Q1292279 } } . FILTER ( ?p < ?d ) }
North Holland Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France Prince Edward Island Faroe Islands raion Remscheid Friedrichshain-Kreuzberg Solingen New Brunswick Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Finistère Mitte Bornholm Loire-Atlantique Lesotho Breckerfeld Manitoba Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Yukon Northwest Territories North Brabant Newfoundland and Labrador Ontario Saxe-Coburg and Gotha Greenland Saskatchewan Oberhausen South Holland Groningen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Piedmont Seine-et-Marne Krefeld Wuppertal Alberta Campania Niue Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Gelderland Utrecht Friesland Overijssel Drenthe Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Quebec New Caledonia Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
93
action count
action less
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_type
action find_reverse
entity Sierra Leone
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?p ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_border . ?x property:applies_to_jurisdiction ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:applies_to_jurisdiction resource:Sierra_Leone . ?b rdf:type ontology:political_border } } . FILTER ( ?p < ?d ) }
[]