Simple Question (Direct)
Simple Question
Q44244
P190
Q1048835
USER
Which political territories are partner towns of Santa Fe ?
(Q44244,P190,c(Q1048835))
action filter_type
action find
entity Q44244
relation P190
type Q1048835
['Q44244', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q44244 property:P190 ?k }
Santa Fe
action filter_type
action find
entity Santa Fe
relation sister city
type political territorial entity
['Santa Fe', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Santa_Fe property:sister_city ?k }
[]
political territorial entity
Q615722 Q226009 Q1643574
SYSTEM
Santa Fe, Encantado, Junta de Villalba de Losa
Q615722 Q226009 Q1643574
(Q44244,P190,c(Q1048835))
action filter_type
action find
entity Q44244
relation P190
type Q1048835
[ANSWERS] are partner towns of Santa Fe
['Q44244', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q44244 property:P190 ?k }
Santa Fe Encantado Junta de Villalba de Losa
Santa Fe, Encantado and Junta de Villalba de Losa are partner towns of Santa Fe
Santa Fe Encantado Junta de Villalba de Losa
action filter_type
action find
entity Santa Fe
relation sister city
type political territorial entity
['Santa Fe', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Santa_Fe property:sister_city ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q615722
P47
Q1048835
USER
Which political territories share border with that one ?
(c(Q1048835),P47,Q615722)
action filter_type
action find
entity Q615722
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q615722']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q615722 property:P47 ?i }
Santa Fe
action filter_type
action find
entity Santa Fe
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Santa Fe']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Santa_Fe property:shares_border_with ?i }
[]
political territorial entity
Clarification for simple ques.
Q615722
SYSTEM
Did you mean Santa Fe ?
Q615722 Q226009 Q1643574
(c(Q1048835),P47,Q615722) (c(Q1048835),P47,Q226009) (c(Q1048835),P47,Q1643574)
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q615722'] [{'concept': 'Q1048835'}, 'P47', 'Q226009'] [{'concept': 'Q1048835'}, 'P47', 'Q1643574']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q615722 property:P47 ?i }
Santa Fe Encantado Junta de Villalba de Losa
Did you mean Santa Fe ?
Santa Fe
[{'concept': 'political territorial entity'}, 'shares border with', 'Santa Fe'] [{'concept': 'political territorial entity'}, 'shares border with', 'Encantado'] [{'concept': 'political territorial entity'}, 'shares border with', 'Junta de Villalba de Losa']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Santa_Fe property:shares_border_with ?i }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1048835),P47,Q615722)
[{'concept': 'Q1048835'}, 'P47', 'Q615722']
[{'concept': 'political territorial entity'}, 'shares border with', 'Santa Fe']
[]
Q574340 Q557953 Q611199
SYSTEM
Las Gabias, Chimeneas, Pinos Puente
Q574340 Q574513 Q611199 Q618377 Q550974 Q557953 Q555943
(c(Q1048835),P47,Q615722)
action filter_type
action find
entity Q615722
relation P47
type Q1048835
[ANSWERS] share border with that one
[{'concept': 'Q1048835'}, 'P47', 'Q615722']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q615722 property:P47 ?i }
Las Gabias Fuente Vaqueros Pinos Puente Vegas del Genil Atarfe Chimeneas Chauchina
Las Gabias, Chimeneas and Pinos Puente share border with that one
Las Gabias Chimeneas Pinos Puente
action filter_type
action find
entity Santa Fe
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Santa Fe']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Santa_Fe property:shares_border_with ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q271669 Q56061 Q1048835
USER
How many political territories are located in around 2 landforms or administrative territories ?
(c(Q1048835),P706,c(Q271669)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q56061
value 2
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?v ) WHERE { { ?n property:P706 ?g . ?n rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q271669 } UNION { ?n property:P706 ?g . ?g rdf:type ontology:Q56061 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?n } . FILTER ( ?v = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?v ) WHERE { { ?n property:located_on_terrain_feature ?g . ?n rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:landform } UNION { ?n property:located_on_terrain_feature ?g . ?g rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . FILTER ( ?v = 2 ) }
[]
landform administrative territorial entity political territorial entity
SYSTEM
1
Q13752
(c(Q1048835),P706,c(Q271669)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q56061
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?v ) WHERE { { ?n property:P706 ?g . ?n rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q271669 } UNION { ?n property:P706 ?g . ?g rdf:type ontology:Q56061 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?n } . FILTER ( ?v = 2 ) }
Bohol
1
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?v ) WHERE { { ?n property:located_on_terrain_feature ?g . ?n rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:landform } UNION { ?n property:located_on_terrain_feature ?g . ?g rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . FILTER ( ?v = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q44244
P190
Q15617994
USER
How many administrative territories are twin towns of Santa Fe ?
(Q44244,P190,c(Q15617994))
action count
action filter_type
action find
entity Q44244
relation P190
type Q15617994
['Q44244', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q44244 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Santa Fe
action count
action filter_type
action find
entity Santa Fe
relation sister city
type designation for an administrative territorial entity
['Santa Fe', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Santa_Fe property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q489872 Q241 Q5968
(Q44244,P190,c(Q15617994))
action count
action filter_type
action find
entity Q44244
relation P190
type Q15617994
[ANSWER]
['Q44244', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q44244 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Rosolini Cuba Cuneo
3
action count
action filter_type
action find
entity Santa Fe
relation sister city
type designation for an administrative territorial entity
['Santa Fe', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Santa_Fe property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q81607
Q15617994
USER
And how about Aichwald?
(Q81607,P190,c(Q15617994))
action count
action filter_type
action find
entity Q81607
relation P190
type Q15617994
['Q81607', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q81607 property:P190 ?h }
Aichwald
action count
action filter_type
action find
entity Aichwald
relation sister city
type designation for an administrative territorial entity
['Aichwald', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aichwald property:sister_city ?h }
[]
designation for an administrative territorial entity
SYSTEM
2
(Q81607,P190,c(Q15617994))
action count
action filter_type
action find
entity Q81607
relation P190
type Q15617994
[ANSWER]
['Q81607', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q81607 property:P190 ?h }
2
action count
action filter_type
action find
entity Aichwald
relation sister city
type designation for an administrative territorial entity
['Aichwald', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aichwald property:sister_city ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with approximately 2 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?x ) WHERE { ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 . ?r property:P530 ?m } GROUP BY ?r } . FILTER ( ?x = 2 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?x ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation ?m } GROUP BY ?r } . FILTER ( ?x = 2 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
150
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?x ) WHERE { ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 . ?r property:P530 ?m } GROUP BY ?r } . FILTER ( ?x = 2 ) }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Ecuador Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 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
150
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?x ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation ?m } GROUP BY ?r } . FILTER ( ?x = 2 ) }
[]