Simple Question (Direct)
Simple Question
Q51966
P17
Q15617994
USER
Which administrative territory is Vico del Gargano located in ?
(Q51966,P17,c(Q15617994))
action filter_type
action find
entity Q51966
relation P17
type Q15617994
['Q51966', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q51966 property:P17 ?r }
Vico del Gargano
action filter_type
action find
entity Vico del Gargano
relation country
type designation for an administrative territorial entity
['Vico del Gargano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vico_del_Gargano property:country ?r }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q51966,P17,c(Q15617994))
action filter_type
action find
entity Q51966
relation P17
type Q15617994
Vico del Gargano is located in [ANSWER]
['Q51966', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q51966 property:P17 ?r }
Italy
Vico del Gargano is located in Italy
Italy
action filter_type
action find
entity Vico del Gargano
relation country
type designation for an administrative territorial entity
['Vico del Gargano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vico_del_Gargano property:country ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q51966
P190
Q15617994
USER
Which administrative territory is twin town of Vico del Gargano ?
(Q51966,P190,c(Q15617994))
action filter_type
action find
entity Q51966
relation P190
type Q15617994
['Q51966', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q51966 property:P190 ?d . ?d rdf:type ontology:Q15617994 }
Vico del Gargano
action filter_type
action find
entity Vico del Gargano
relation sister city
type designation for an administrative territorial entity
['Vico del Gargano', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vico_del_Gargano property:sister_city ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20397
SYSTEM
Vernio
Q20397
(Q51966,P190,c(Q15617994))
action filter_type
action find
entity Q51966
relation P190
type Q15617994
[ANSWER] is twin town of Vico del Gargano
['Q51966', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q51966 property:P190 ?d . ?d rdf:type ontology:Q15617994 }
Vernio
Vernio is twin town of Vico del Gargano
Vernio
action filter_type
action find
entity Vico del Gargano
relation sister city
type designation for an administrative territorial entity
['Vico del Gargano', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vico_del_Gargano property:sister_city ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q320950
Q15617994
USER
And also tell me about Trutnov?
(Q320950,P190,c(Q15617994))
action filter_type
action find
entity Q320950
relation P190
type Q15617994
['Q320950', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q320950 property:P190 ?h . ?h rdf:type ontology:Q15617994 }
Trutnov
action filter_type
action find
entity Trutnov
relation sister city
type designation for an administrative territorial entity
['Trutnov', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Trutnov property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q562032
SYSTEM
Lohfelden
Q562032
(Q320950,P190,c(Q15617994))
action filter_type
action find
entity Q320950
relation P190
type Q15617994
[ANSWER]
['Q320950', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q320950 property:P190 ?h . ?h rdf:type ontology:Q15617994 }
Lohfelden
Lohfelden
action filter_type
action find
entity Trutnov
relation sister city
type designation for an administrative territorial entity
['Trutnov', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Trutnov property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q562032 Q7190028
P190
Q1048835
USER
Is Chortalka partner town of that administrative territory ?
(Q7190028,P190,Q562032)
action is_in
entity Q7190028
action find
entity Q562032
relation P190
['Q7190028', 'P190', 'Q562032']
ASK WHERE { resource:Q562032 property:P190 resource:Q7190028 }
Lohfelden Chortalka
action is_in
entity Chortalka
action find
entity Lohfelden
relation sister city
['Chortalka', 'sister city', 'Lohfelden']
ASK WHERE { resource:Lohfelden property:sister_city resource:Chortalka }
[]
political territorial entity
SYSTEM
NO
(Q7190028,P190,Q562032)
action is_in
entity Q7190028
action find
entity Q562032
relation P190
[ANSWER]
['Q7190028', 'P190', 'Q562032']
ASK WHERE { resource:Q562032 property:P190 resource:Q7190028 }
No
action is_in
entity Chortalka
action find
entity Lohfelden
relation sister city
['Chortalka', 'sister city', 'Lohfelden']
ASK WHERE { resource:Lohfelden property:sister_city resource:Chortalka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with around 9 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 9
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { { ?p rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?g property:P530 ?p } UNION { ?g property:P530 ?p . ?g rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?h = 9 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 9
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?p } UNION { ?g property:diplomatic_relation ?p . ?g rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?h = 9 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
160
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 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 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 9
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { { ?p rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?g property:P530 ?p } UNION { ?g property:P530 ?p . ?g rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?h = 9 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 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 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
160
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 9
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?p } UNION { ?g property:diplomatic_relation ?p . ?g rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?h = 9 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q562032
P6
Q502895
USER
What people are Lohfelden the head of goverment of ?
(Q562032,P6,c(Q502895))
action filter_type
action find
entity Q562032
relation P6
type Q502895
['Q562032', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q562032 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Lohfelden
action filter_type
action find
entity Lohfelden
relation head of government
type common name
['Lohfelden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Lohfelden property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q16632489 Q16632486 Q16632484
SYSTEM
Gerhard Kühne, Wilhelm Richter, Paul Althans
Q16632489 Q16632486 Q16632484 Q16632485 Q16632491 Q16632490 Q16632492
(Q562032,P6,c(Q502895))
action filter_type
action find
entity Q562032
relation P6
type Q502895
[ANSWERS] are Lohfelden the head of goverment of
['Q562032', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q562032 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Gerhard Kühne Wilhelm Richter Paul Althans Heinrich Malsch Bernhard Blank Walter Knoche Michael Reuter
Gerhard Kühne, Wilhelm Richter and Paul Althans are Lohfelden the head of goverment of
Gerhard Kühne Wilhelm Richter Paul Althans
action filter_type
action find
entity Lohfelden
relation head of government
type common name
['Lohfelden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Lohfelden property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q562032
P19
Q502895
USER
Who has location of birth at Lohfelden ?
(c(Q502895),P19,Q562032)
action filter_type
action find_reverse
entity Q562032
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q562032']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q562032 . ?t rdf:type ontology:Q502895 }
Lohfelden
action filter_type
action find_reverse
entity Lohfelden
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Lohfelden']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Lohfelden . ?t rdf:type ontology:common_name }
[]
common name
Q203195
SYSTEM
Karl Rüdiger
Q203195
(c(Q502895),P19,Q562032)
action filter_type
action find_reverse
entity Q562032
relation P19
type Q502895
[ANSWER] has location of birth at Lohfelden
[{'concept': 'Q502895'}, 'P19', 'Q562032']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q562032 . ?t rdf:type ontology:Q502895 }
Karl Rüdiger
Karl Rüdiger has location of birth at Lohfelden
Karl Rüdiger
action filter_type
action find_reverse
entity Lohfelden
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Lohfelden']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Lohfelden . ?t rdf:type ontology:common_name }
[]