Simple Question (Direct)
Simple Question
Q522805
P47
Q20667921
USER
Which french administrative divisions have a shared border with La Houssaye-Béranger ?
(Q522805,P47,c(Q20667921))
action filter_type
action find
entity Q522805
relation P47
type Q20667921
['Q522805', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q522805 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
La Houssaye-Béranger
action filter_type
action find
entity La Houssaye-Béranger
relation shares border with
type type of french administrative division
['La Houssaye-Béranger', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:La_Houssaye-Béranger property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1057646 Q967175 Q1157775
SYSTEM
Clères, Varneville-Bretteville, Étaimpuis
Q1057646 Q1416309 Q548121 Q1157775 Q1378212 Q1416221 Q1113743 Q967175
(Q522805,P47,c(Q20667921))
action filter_type
action find
entity Q522805
relation P47
type Q20667921
[ANSWERS] have a shared border with La Houssaye-Béranger
['Q522805', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q522805 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Clères Le Bocasse Frichemesnil Étaimpuis Grugny Fresnay-le-Long Beautot Varneville-Bretteville
Clères, Varneville-Bretteville and Étaimpuis have a shared border with La Houssaye-Béranger
Clères Varneville-Bretteville Étaimpuis
action filter_type
action find
entity La Houssaye-Béranger
relation shares border with
type type of french administrative division
['La Houssaye-Béranger', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:La_Houssaye-Béranger property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1057646 Q967175 Q1157775
P47
Q20667921
USER
Which french administrative divisions are next to the border of Clères, Varneville-Bretteville and Étaimpuis ?
(c(Q20667921),P47,Q1057646) (c(Q20667921),P47,Q967175) (c(Q20667921),P47,Q1157775)
action union
action filter_type
action find
entity Q1057646
relation P47
type Q20667921
action filter_type
action find
entity Q967175
relation P47
type Q20667921
action filter_type
action find
entity Q1157775
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1057646'] [{'concept': 'Q20667921'}, 'P47', 'Q967175'] [{'concept': 'Q20667921'}, 'P47', 'Q1157775']
SELECT DISTINCT ?q WHERE { ?r property:P47 ?q . VALUES ( ?r ) { ( resource:Q1057646 ) ( resource:Q967175 ) } }
Clères Varneville-Bretteville Étaimpuis
action union
action filter_type
action find
entity Clères
relation shares border with
type type of french administrative division
action filter_type
action find
entity Varneville-Bretteville
relation shares border with
type type of french administrative division
action filter_type
action find
entity Étaimpuis
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Clères'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Varneville-Bretteville'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Étaimpuis']
SELECT DISTINCT ?q WHERE { ?r property:shares_border_with ?q . VALUES ( ?r ) { ( resource:Clères ) ( resource:Varneville-Bretteville ) } }
[]
type of french administrative division
Q522805 Q1108773 Q522805
SYSTEM
Tôtes for 2nd, La Houssaye-Béranger for 1st, 3rd
Q1167687 Q1416309 Q1113050 Q548121 Q686656 Q1378212 Q1135164 Q522805 Q1135432 Q1416221 Q1113743 Q631161 Q1165340 Q1108773 Q1164307 Q522805 Q1416221 Q1164149 Q547569 Q548121 Q1167979 Q522805 Q1415995
(c(Q20667921),P47,Q1057646) (c(Q20667921),P47,Q967175) (c(Q20667921),P47,Q1157775)
action union
action filter_type
action find
entity Q1057646
relation P47
type Q20667921
action filter_type
action find
entity Q967175
relation P47
type Q20667921
action filter_type
action find
entity Q1157775
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q1057646'] [{'concept': 'Q20667921'}, 'P47', 'Q967175'] [{'concept': 'Q20667921'}, 'P47', 'Q1157775']
SELECT DISTINCT ?q WHERE { ?r property:P47 ?q . VALUES ( ?r ) { ( resource:Q1057646 ) ( resource:Q967175 ) } }
Mont-Cauvaire Le Bocasse Anceaumeville Frichemesnil Sierville Grugny Authieux-Ratiéville La Houssaye-Béranger Bertrimont Fresnay-le-Long Beautot Gueutteville Saint-Vaast-du-Val Tôtes Saint-Maclou-de-Folleville La Houssaye-Béranger Fresnay-le-Long Saint-Victor-l'Abbaye Bosc-le-Hard Frichemesnil Bracquetuit La Houssaye-Béranger Grigneuseville
La Houssaye-Béranger, Tôtes and La Houssaye-Béranger are next to the border of Clères, Varneville-Bretteville and Étaimpuis
La Houssaye-Béranger Tôtes La Houssaye-Béranger
action union
action filter_type
action find
entity Clères
relation shares border with
type type of french administrative division
action filter_type
action find
entity Varneville-Bretteville
relation shares border with
type type of french administrative division
action filter_type
action find
entity Étaimpuis
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Clères'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Varneville-Bretteville'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Étaimpuis']
SELECT DISTINCT ?q WHERE { ?r property:shares_border_with ?q . VALUES ( ?r ) { ( resource:Clères ) ( resource:Varneville-Bretteville ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q522805
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
(Q522805,P17,c(Q15617994))
action filter_type
action find
entity Q522805
relation P17
type Q15617994
['Q522805', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q522805 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
La Houssaye-Béranger
action filter_type
action find
entity La Houssaye-Béranger
relation country
type designation for an administrative territorial entity
['La Houssaye-Béranger', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:La_Houssaye-Béranger property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q522805
SYSTEM
Did you mean La Houssaye-Béranger ?
Q522805 Q1108773 Q522805
(Q522805,P17,c(Q15617994)) (Q1108773,P17,c(Q15617994)) (Q522805,P17,c(Q15617994))
[ANSWER]
['Q522805', 'P17', {'concept': 'Q15617994'}] ['Q1108773', 'P17', {'concept': 'Q15617994'}] ['Q522805', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q522805 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
La Houssaye-Béranger Tôtes La Houssaye-Béranger
Did you mean La Houssaye-Béranger ?
La Houssaye-Béranger
['La Houssaye-Béranger', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tôtes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['La Houssaye-Béranger', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:La_Houssaye-Béranger property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q522805,P17,c(Q15617994))
['Q522805', 'P17', {'concept': 'Q15617994'}]
['La Houssaye-Béranger', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q522805,P17,c(Q15617994))
action filter_type
action find
entity Q522805
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
['Q522805', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q522805 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity La Houssaye-Béranger
relation country
type designation for an administrative territorial entity
['La Houssaye-Béranger', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:La_Houssaye-Béranger property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q10510243
P27
Q502895
USER
Is Steeve Gerard Fankà a citizen of that administrative territory ?
(Q10510243,P27,Q142)
action is_in
entity Q10510243
action find
entity Q142
relation P27
['Q10510243', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q10510243 }
France Steeve Gerard Fankà
action is_in
entity Steeve Gerard Fankà
action find
entity France
relation country of citizenship
['Steeve Gerard Fankà', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Steeve_Gerard_Fankà }
[]
common name
SYSTEM
NO
(Q10510243,P27,Q142)
action is_in
entity Q10510243
action find
entity Q142
relation P27
[ANSWER]
['Q10510243', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q10510243 }
No
action is_in
entity Steeve Gerard Fankà
action find
entity France
relation country of citizenship
['Steeve Gerard Fankà', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Steeve_Gerard_Fankà }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q324516
P172
Q502895
USER
How many people have France or Choctaw as his/her race ?
(c(Q502895),P172,Q142) (c(Q502895),P172,Q324516)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
action filter_type
action find_reverse
entity Q324516
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q142'] [{'concept': 'Q502895'}, 'P172', 'Q324516']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:P172 resource:Q142 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P172 resource:Q324516 . ?y rdf:type ontology:Q502895 } }
France Choctaw
action count
action union
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
action filter_type
action find_reverse
entity Choctaw
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'France'] [{'concept': 'common name'}, 'ethnic group', 'Choctaw']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:ethnic_group resource:France . ?y rdf:type ontology:common_name } UNION { ?y property:ethnic_group resource:Choctaw . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
8
Q561686 Q2750183 Q1360194 Q437306 Q1379099 Q26247991 Q3153987 Q26132975
(c(Q502895),P172,Q142) (c(Q502895),P172,Q324516)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
action filter_type
action find_reverse
entity Q324516
relation P172
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q142'] [{'concept': 'Q502895'}, 'P172', 'Q324516']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:P172 resource:Q142 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P172 resource:Q324516 . ?y rdf:type ontology:Q502895 } }
François Sagat Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan Pushmataha Mushulatubbee Pierre François Xavier de Charlevoix Czarina Conlan Ines Ligron Jean Butteau
8
action count
action union
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
action filter_type
action find_reverse
entity Choctaw
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'France'] [{'concept': 'common name'}, 'ethnic group', 'Choctaw']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:ethnic_group resource:France . ?y rdf:type ontology:common_name } UNION { ?y property:ethnic_group resource:Choctaw . ?y rdf:type ontology:common_name } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q811
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with approximately the same number of administrative territories as Nicaragua ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q811
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P530 ?d . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q811 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?f ) }
Nicaragua
action approx
action find_reverse_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 Nicaragua
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:diplomatic_relation ?d . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Nicaragua property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q811
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with approximately the same number of administrative territories as Nicaragua
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P530 ?d . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q811 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?f ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relations with approximately the same number of administrative territories as Nicaragua
Georgia Netherlands Poland
action approx
action find_reverse_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 Nicaragua
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:diplomatic_relation ?d . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Nicaragua property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q191
P530
Q15617994 Q15617994
USER
And what about Estonia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?m } GROUP BY ?m } . FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q191 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } }
Estonia
action approx
action find_reverse_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 Estonia
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?m } GROUP BY ?m } . FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Estonia property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?m } GROUP BY ?m } . FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q191 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_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 Estonia
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?z ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?m } GROUP BY ?m } . FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Estonia property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1198415
P530
Q15617994
USER
Do Shizhong District have ambassadorial relations with those ones ?
(Q1198415,P530,Q230) (Q1198415,P530,Q55) (Q1198415,P530,Q36)
action is_in
entity prev_answer
action find
entity Q1198415
relation P530
['Q1198415', 'P530', 'Q230'] ['Q1198415', 'P530', 'Q55'] ['Q1198415', 'P530', 'Q36']
ASK WHERE { resource:Q1198415 property:P530 ?a . VALUES ( ?a ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Shizhong District
action is_in
entity prev_answer
action find
entity Shizhong District
relation diplomatic relation
['Shizhong District', 'diplomatic relation', 'Georgia'] ['Shizhong District', 'diplomatic relation', 'Netherlands'] ['Shizhong District', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Shizhong_District property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1198415,P530,Q230) (Q1198415,P530,Q55) (Q1198415,P530,Q36)
action is_in
entity prev_answer
action find
entity Q1198415
relation P530
[ANSWER]
['Q1198415', 'P530', 'Q230'] ['Q1198415', 'P530', 'Q55'] ['Q1198415', 'P530', 'Q36']
ASK WHERE { resource:Q1198415 property:P530 ?a . VALUES ( ?a ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Shizhong District
relation diplomatic relation
['Shizhong District', 'diplomatic relation', 'Georgia'] ['Shizhong District', 'diplomatic relation', 'Netherlands'] ['Shizhong District', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Shizhong_District property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q967175 Q7354471
P17
Q15617994
USER
Is Varneville-Bretteville a part of Rock Hill Local School District ?
(Q967175,P17,Q7354471)
action is_in
entity Q7354471
action find
entity Q967175
relation P17
['Q967175', 'P17', 'Q7354471']
ASK WHERE { resource:Q967175 property:P17 resource:Q7354471 }
Varneville-Bretteville Rock Hill Local School District
action is_in
entity Rock Hill Local School District
action find
entity Varneville-Bretteville
relation country
['Varneville-Bretteville', 'country', 'Rock Hill Local School District']
ASK WHERE { resource:Varneville-Bretteville property:country resource:Rock_Hill_Local_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q967175,P17,Q7354471)
action is_in
entity Q7354471
action find
entity Q967175
relation P17
[ANSWER]
['Q967175', 'P17', 'Q7354471']
ASK WHERE { resource:Q967175 property:P17 resource:Q7354471 }
No
action is_in
entity Rock Hill Local School District
action find
entity Varneville-Bretteville
relation country
['Varneville-Bretteville', 'country', 'Rock Hill Local School District']
ASK WHERE { resource:Varneville-Bretteville property:country resource:Rock_Hill_Local_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with exactly 106 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?n ) WHERE { ?e rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 . ?e property:P530 ?r } GROUP BY ?e } . FILTER ( ?n = 106 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?n ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?r } GROUP BY ?e } . FILTER ( ?n = 106 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1
Q408
(c(Q1048835),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?n ) WHERE { ?e rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 . ?e property:P530 ?r } GROUP BY ?e } . FILTER ( ?n = 106 ) }
Australia
1
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?n ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?r } GROUP BY ?e } . FILTER ( ?n = 106 ) }
[]