Simple Question (Direct)
Simple Question
Q17715125
P19
Q56061
USER
Which administrative territory is the place of birth of Erhun Oztumer ?
(Q17715125,P19,c(Q56061))
action filter_type
action find
entity Q17715125
relation P19
type Q56061
['Q17715125', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q17715125 property:P19 ?d }
Erhun Oztumer
action filter_type
action find
entity Erhun Oztumer
relation place of birth
type administrative territorial entity
['Erhun Oztumer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Erhun_Oztumer property:place_of_birth ?d }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q17715125,P19,c(Q56061))
action filter_type
action find
entity Q17715125
relation P19
type Q56061
[ANSWER] is the place of birth of Erhun Oztumer
['Q17715125', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q17715125 property:P19 ?d }
London
London is the place of birth of Erhun Oztumer
London
action filter_type
action find
entity Erhun Oztumer
relation place of birth
type administrative territorial entity
['Erhun Oztumer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Erhun_Oztumer property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P931
Q62447
USER
Which aerodrome is served by that administrative territory ?
(c(Q62447),P931,Q84)
action filter_type
action find_reverse
entity Q84
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q84']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q62447 . ?b property:P931 resource:Q84 }
London
action filter_type
action find_reverse
entity London
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'London']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:aerodrome . ?b property:place_served_by_airport resource:London }
[]
aerodrome
Q1431914
SYSTEM
Croydon Airport
Q1431914
(c(Q62447),P931,Q84)
action filter_type
action find_reverse
entity Q84
relation P931
type Q62447
Airport [ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q84']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q62447 . ?b property:P931 resource:Q84 }
Croydon Airport
Airport Croydon Airport is served by that administrative territory
Croydon Airport
action filter_type
action find_reverse
entity London
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'London']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:aerodrome . ?b property:place_served_by_airport resource:London }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q1431914,P6,c(Q502895))
action filter_type
action find
entity Q84
relation P6
type Q502895
['Q1431914', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q84 property:P6 ?l . ?l rdf:type ontology:Q502895 }
London
action filter_type
action find
entity London
relation head of government
type common name
['Croydon Airport', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:London property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
common name
Q220723 Q180589 Q334155
SYSTEM
Ken Livingstone, Boris Johnson, Sadiq Khan
Q220723 Q180589 Q334155
(Q1431914,P6,c(Q502895))
action filter_type
action find
entity Q84
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q1431914', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q84 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Ken Livingstone Boris Johnson Sadiq Khan
Ken Livingstone, Boris Johnson and Sadiq Khan are that administrative territory the head of goverment of
Ken Livingstone Boris Johnson Sadiq Khan
action filter_type
action find
entity London
relation head of government
type common name
['Croydon Airport', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:London property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q220723
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q220723,P27,c(Q15617994))
action filter_type
action find
entity Q220723
relation P27
type Q15617994
['Q220723', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q220723 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Ken Livingstone
action filter_type
action find
entity Ken Livingstone
relation country of citizenship
type designation for an administrative territorial entity
['Ken Livingstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ken_Livingstone property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q334155
SYSTEM
Did you mean Sadiq Khan ?
Q220723 Q180589 Q334155
(Q220723,P27,c(Q15617994)) (Q180589,P27,c(Q15617994)) (Q334155,P27,c(Q15617994))
[ANSWER]
['Q220723', 'P27', {'concept': 'Q15617994'}] ['Q180589', 'P27', {'concept': 'Q15617994'}] ['Q334155', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q220723 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Ken Livingstone Boris Johnson Sadiq Khan
Did you mean Sadiq Khan ?
Sadiq Khan
['Ken Livingstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Boris Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sadiq Khan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ken_Livingstone property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Ken Livingstone. Could you tell me the answer for that?
(Q220723,P27,c(Q15617994))
Q220723
['Q220723', 'P27', {'concept': 'Q15617994'}]
['Ken Livingstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q220723,P27,c(Q15617994))
action filter_type
action find
entity Q220723
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q220723', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q220723 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Ken Livingstone
relation country of citizenship
type designation for an administrative territorial entity
['Ken Livingstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ken_Livingstone property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atmost 108 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 108
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?t ) WHERE { ?u property:P530 ?k . ?u rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?t <= 108 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 108
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?t ) WHERE { ?u property:diplomatic_relation ?k . ?u rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?t <= 108 ) }
[]
designation for an administrative territorial entity political territorial entity
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 108
[ANSWERS] have diplomatic relations with atmost 108 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?t ) WHERE { ?u property:P530 ?k . ?u rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?t <= 108 ) }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Australia, Denmark and Canada have diplomatic relations with atmost 108 administrative territories
Australia Denmark Canada
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 108
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?t ) WHERE { ?u property:diplomatic_relation ?k . ?u rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?t <= 108 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have a diplomatic relationship with approximately 1 political territory ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?w property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?m = 1 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?w property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?m = 1 ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have a diplomatic relationship with approximately 1 political territory
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?w property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?m = 1 ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia, Belarus and Luxembourg have a diplomatic relationship with approximately 1 political territory
Georgia Belarus Luxembourg
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?w property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?m = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have tactful political relations with those ones ?
(Q38,P530,Q230) (Q38,P530,Q184) (Q38,P530,Q32)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q230'] ['Q38', 'P530', 'Q184'] ['Q38', 'P530', 'Q32']
ASK WHERE { resource:Q38 property:P530 ?n . VALUES ( ?n ) { ( resource:Q702 ) ( resource:Q262 ) ( resource:Q265 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Georgia'] ['Italy', 'diplomatic relation', 'Belarus'] ['Italy', 'diplomatic relation', 'Luxembourg']
ASK WHERE { resource:Italy property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Federated_States_of_Micronesia ) ( resource:Algeria ) ( resource:Uzbekistan ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q230) (Q38,P530,Q184) (Q38,P530,Q32)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q230'] ['Q38', 'P530', 'Q184'] ['Q38', 'P530', 'Q32']
ASK WHERE { resource:Q38 property:P530 ?n . VALUES ( ?n ) { ( resource:Q702 ) ( resource:Q262 ) ( resource:Q265 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Georgia'] ['Italy', 'diplomatic relation', 'Belarus'] ['Italy', 'diplomatic relation', 'Luxembourg']
ASK WHERE { resource:Italy property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Federated_States_of_Micronesia ) ( resource:Algeria ) ( resource:Uzbekistan ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q32 Q30
P17
Q15617994
USER
Is that one located in United States of America ?
(Q32,P17,Q30)
action is_in
entity Q30
action find
entity Q32
relation P17
['Q32', 'P17', 'Q30']
ASK WHERE { resource:Q32 property:P17 resource:Q30 }
Luxembourg United States of America
action is_in
entity United States of America
action find
entity Luxembourg
relation country
['Luxembourg', 'country', 'United States of America']
ASK WHERE { resource:Luxembourg property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q32,P17,Q30)
action is_in
entity Q30
action find
entity Q32
relation P17
[ANSWER]
['Q32', 'P17', 'Q30']
ASK WHERE { resource:Q32 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Luxembourg
relation country
['Luxembourg', 'country', 'United States of America']
ASK WHERE { resource:Luxembourg property:country resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P610
Q8502
USER
Which is the highest point of Belarus ?
(Q184,P610,c(Q8502))
action filter_type
action find
entity Q184
relation P610
type Q8502
['Q184', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?t WHERE { resource:Q184 property:P610 ?t . ?t rdf:type ontology:Q8502 }
Belarus
action filter_type
action find
entity Belarus
relation highest point
type mountain
['Belarus', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?t WHERE { resource:Belarus property:highest_point ?t . ?t rdf:type ontology:mountain }
[]
mountain
Q921447
SYSTEM
Dzyarzhynskaya Hara
Q921447
(Q184,P610,c(Q8502))
action filter_type
action find
entity Q184
relation P610
type Q8502
The highest point of Belarus is the [ANSWER]
['Q184', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?t WHERE { resource:Q184 property:P610 ?t . ?t rdf:type ontology:Q8502 }
Dzyarzhynskaya Hara
The highest point of Belarus is the Dzyarzhynskaya Hara
Dzyarzhynskaya Hara
action filter_type
action find
entity Belarus
relation highest point
type mountain
['Belarus', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?t WHERE { resource:Belarus property:highest_point ?t . ?t rdf:type ontology:mountain }
[]