Simple Question (Direct)
Simple Question
Q21979920
P17
Q15617994
USER
Which administrative territory is Beaufort-en-Anjou a part of ?
(Q21979920,P17,c(Q15617994))
action filter_type
action find
entity Q21979920
relation P17
type Q15617994
['Q21979920', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q21979920 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Beaufort-en-Anjou
action filter_type
action find
entity Beaufort-en-Anjou
relation country
type designation for an administrative territorial entity
['Beaufort-en-Anjou', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Beaufort-en-Anjou property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q21979920,P17,c(Q15617994))
action filter_type
action find
entity Q21979920
relation P17
type Q15617994
Which administrative territory is Beaufort-en-Anjou a part of
['Q21979920', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q21979920 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France
Which administrative territory is Beaufort-en-Anjou a part of
France
action filter_type
action find
entity Beaufort-en-Anjou
relation country
type designation for an administrative territorial entity
['Beaufort-en-Anjou', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Beaufort-en-Anjou property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21979920
P47
Q20667921
USER
Which french administrative divisions share border with Beaufort-en-Anjou ?
(c(Q20667921),P47,Q21979920)
action filter_type
action find
entity Q21979920
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q21979920']
SELECT DISTINCT ?z WHERE { resource:Q21979920 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Beaufort-en-Anjou
action filter_type
action find
entity Beaufort-en-Anjou
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Beaufort-en-Anjou']
SELECT DISTINCT ?z WHERE { resource:Beaufort-en-Anjou property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q819364 Q819812 Q21008044
SYSTEM
Longué-Jumelles, Mazé, Les Bois-d'Anjou
Q21008044 Q1384871 Q1332854 Q590566 Q1384149 Q819364 Q819812
(c(Q20667921),P47,Q21979920)
action filter_type
action find
entity Q21979920
relation P47
type Q20667921
[ANSWERS] share border with Beaufort-en-Anjou
[{'concept': 'Q20667921'}, 'P47', 'Q21979920']
SELECT DISTINCT ?z WHERE { resource:Q21979920 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Les Bois-d'Anjou La Ménitré Brion Gée Les Rosiers-sur-Loire Longué-Jumelles Mazé
Longué-Jumelles, Mazé and Les Bois-d'Anjou share border with Beaufort-en-Anjou
Longué-Jumelles Mazé Les Bois-d'Anjou
action filter_type
action find
entity Beaufort-en-Anjou
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Beaufort-en-Anjou']
SELECT DISTINCT ?z WHERE { resource:Beaufort-en-Anjou property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q819364
P190
Q56061
USER
Which administrative territory is partner town of that french administrative division ?
(Q819364,P190,c(Q56061))
action filter_type
action find
entity Q819364
relation P190
type Q56061
['Q819364', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q819364 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Longué-Jumelles
action filter_type
action find
entity Longué-Jumelles
relation sister city
type administrative territorial entity
['Longué-Jumelles', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Longué-Jumelles property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q21008044
SYSTEM
Did you mean Les Bois-d'Anjou ?
Q819364 Q819812 Q21008044
(Q819364,P190,c(Q56061)) (Q819812,P190,c(Q56061)) (Q21008044,P190,c(Q56061))
[ANSWER]
['Q819364', 'P190', {'concept': 'Q56061'}] ['Q819812', 'P190', {'concept': 'Q56061'}] ['Q21008044', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q819364 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Longué-Jumelles Mazé Les Bois-d'Anjou
Did you mean Les Bois-d'Anjou ?
Les Bois-d'Anjou
['Longué-Jumelles', 'sister city', {'concept': 'administrative territorial entity'}] ['Mazé', 'sister city', {'concept': 'administrative territorial entity'}] ["Les Bois-d'Anjou", 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Longué-Jumelles property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Longué-Jumelles. Could you tell me the answer for that?
(Q819364,P190,c(Q56061))
Q819364
['Q819364', 'P190', {'concept': 'Q56061'}]
['Longué-Jumelles', 'sister city', {'concept': 'administrative territorial entity'}]
[]
Q14950
SYSTEM
Sinsheim
Q14950
(Q819364,P190,c(Q56061))
action filter_type
action find
entity Q819364
relation P190
type Q56061
[ANSWER] is partner town of that french administrative division
['Q819364', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q819364 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Sinsheim
Sinsheim is partner town of that french administrative division
Sinsheim
action filter_type
action find
entity Longué-Jumelles
relation sister city
type administrative territorial entity
['Longué-Jumelles', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Longué-Jumelles property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q14950 Q183 Q1620185
P17
Q1048835
USER
Is Sinsheim present in Germany and Laxe ?
(Q14950,P17,Q183) (Q14950,P17,Q1620185)
action is_in
entity Q14950
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1620185
relation P17
['Q14950', 'P17', 'Q183'] ['Q14950', 'P17', 'Q1620185']
ASK WHERE { resource:Q14950 property:P17 resource:Q1620185 . resource:Q14950 property:P17 resource:Q183 }
Sinsheim Germany Laxe
action is_in
entity Sinsheim
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Laxe
relation country
['Sinsheim', 'country', 'Germany'] ['Sinsheim', 'country', 'Laxe']
ASK WHERE { resource:Sinsheim property:country resource:Laxe . resource:Sinsheim property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q14950,P17,Q183) (Q14950,P17,Q1620185)
action is_in
entity Q14950
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1620185
relation P17
[ANSWER]
['Q14950', 'P17', 'Q183'] ['Q14950', 'P17', 'Q1620185']
ASK WHERE { resource:Q14950 property:P17 resource:Q1620185 . resource:Q14950 property:P17 resource:Q183 }
YES and NO respectively
action is_in
entity Sinsheim
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Laxe
relation country
['Sinsheim', 'country', 'Germany'] ['Sinsheim', 'country', 'Laxe']
ASK WHERE { resource:Sinsheim property:country resource:Laxe . resource:Sinsheim property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19511628 Q142
P47 P17
Q15617994
USER
Which administrative territories share border with France or are Schoolstraat situated in ?
OR((Q142,P47,c(Q15617994)), (Q19511628,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q19511628
relation P17
type Q15617994
{'OR': [['Q142', 'P47', {'concept': 'Q15617994'}], ['Q19511628', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q142 property:P47 ?g } UNION { resource:Q19511628 property:P17 ?g } } }
Schoolstraat France
action filter_type
action union
action find
entity France
relation shares border with
action find
entity Schoolstraat
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Schoolstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:France property:shares_border_with ?g } UNION { resource:Schoolstraat property:country ?g } } }
[]
designation for an administrative territorial entity
Q228 Q145 Q38 Q29 Q29999 Q155 Q31 Q730 Q717 Q39
SYSTEM
Some of them are Andorra, United Kingdom, Italy, Spain, Kingdom of the Netherlands, Brazil, Belgium, Suriname, Venezuela, Switzerland
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38 Q55
OR((Q142,P47,c(Q15617994)), (Q19511628,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q19511628
relation P17
type Q15617994
[ANSWERS] share border with France or are Schoolstraat situated in
{'OR': [['Q142', 'P47', {'concept': 'Q15617994'}], ['Q19511628', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q142 property:P47 ?g } UNION { resource:Q19511628 property:P17 ?g } } }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy Netherlands
Andorra, United Kingdom, Italy, Spain, Kingdom of the Netherlands, Brazil, Belgium, Suriname, Venezuela and Switzerland share border with France or are Schoolstraat situated in
Andorra United Kingdom Italy Spain Kingdom of the Netherlands Brazil Belgium Suriname Venezuela Switzerland
action filter_type
action union
action find
entity France
relation shares border with
action find
entity Schoolstraat
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Schoolstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:France property:shares_border_with ?g } UNION { resource:Schoolstraat property:country ?g } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with atleast 38 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 38
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?v ) WHERE { ?g property:P530 ?r . ?g rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?v >= 38 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?v ) WHERE { ?g property:diplomatic_relation ?r . ?g rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?v >= 38 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 38
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?v ) WHERE { ?g property:P530 ?r . ?g rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?v >= 38 ) }
Germany Australia Canada
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?v ) WHERE { ?g property:diplomatic_relation ?r . ?g rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?v >= 38 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q817
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with approximately the same number of administrative territories as Kuwait ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?j ) WHERE { ?s property:P530 ?g . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q817 property:P530 ?t } } }
Kuwait
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?j ) WHERE { ?s property:diplomatic_relation ?g . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kuwait property:diplomatic_relation ?t } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with approximately the same number of administrative territories as Kuwait
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?j ) WHERE { ?s property:P530 ?g . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q817 property:P530 ?t } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China are known to have diplomatic connections with approximately the same number of administrative territories as Kuwait
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?j ) WHERE { ?s property:diplomatic_relation ?g . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kuwait property:diplomatic_relation ?t } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q52957
P530
Q15617994
USER
Are Bagnacavallo known to have diplomatic connections with those ones ?
(Q52957,P530,Q55) (Q52957,P530,Q36) (Q52957,P530,Q148)
action is_in
entity prev_answer
action find
entity Q52957
relation P530
['Q52957', 'P530', 'Q55'] ['Q52957', 'P530', 'Q36'] ['Q52957', 'P530', 'Q148']
ASK WHERE { resource:Q52957 property:P530 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Bagnacavallo
action is_in
entity prev_answer
action find
entity Bagnacavallo
relation diplomatic relation
['Bagnacavallo', 'diplomatic relation', 'Netherlands'] ['Bagnacavallo', 'diplomatic relation', 'Poland'] ['Bagnacavallo', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Bagnacavallo property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q52957,P530,Q55) (Q52957,P530,Q36) (Q52957,P530,Q148)
action is_in
entity prev_answer
action find
entity Q52957
relation P530
[ANSWER]
['Q52957', 'P530', 'Q55'] ['Q52957', 'P530', 'Q36'] ['Q52957', 'P530', 'Q148']
ASK WHERE { resource:Q52957 property:P530 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Bagnacavallo
relation diplomatic relation
['Bagnacavallo', 'diplomatic relation', 'Netherlands'] ['Bagnacavallo', 'diplomatic relation', 'Poland'] ['Bagnacavallo', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Bagnacavallo property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q819364
P36 P17
Q20667921
USER
Which french administrative divisions consists of Longué-Jumelles as their capital and are situated in France ?
AND((c(Q20667921),P36,Q819364), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q819364
relation P36
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P36', 'Q819364'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q819364 . ?e property:P17 resource:Q142 . ?e rdf:type ontology:Q20667921 }
France Longué-Jumelles
action filter_type
action intersection
action find_reverse
entity Longué-Jumelles
relation capital
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'capital', 'Longué-Jumelles'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Longué-Jumelles . ?e property:country resource:France . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725962
SYSTEM
canton of Longué-Jumelles
Q1725962
AND((c(Q20667921),P36,Q819364), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q819364
relation P36
action find_reverse
entity Q142
relation P17
type Q20667921
The [ANSWER] consists of Longué-Jumelles as their capital and are situated in France
{'AND': [[{'concept': 'Q20667921'}, 'P36', 'Q819364'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q819364 . ?e property:P17 resource:Q142 . ?e rdf:type ontology:Q20667921 }
canton of Longué-Jumelles
The canton of Longué-Jumelles consists of Longué-Jumelles as their capital and are situated in France
canton of Longué-Jumelles
action filter_type
action intersection
action find_reverse
entity Longué-Jumelles
relation capital
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'capital', 'Longué-Jumelles'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Longué-Jumelles . ?e property:country resource:France . ?e rdf:type ontology:type_of_french_administrative_division }
[]