Simple Question (Direct)
Simple Question
Q7106225
P19
Q56061
USER
Which administrative territory is the birthplace of Oscar Reed ?
(Q7106225,P19,c(Q56061))
action filter_type
action find
entity Q7106225
relation P19
type Q56061
['Q7106225', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q7106225 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Oscar Reed
action filter_type
action find
entity Oscar Reed
relation place of birth
type administrative territorial entity
['Oscar Reed', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Oscar_Reed property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1136080
SYSTEM
Jonestown
Q1136080
(Q7106225,P19,c(Q56061))
action filter_type
action find
entity Q7106225
relation P19
type Q56061
[ANSWER] is the birthplace of Oscar Reed
['Q7106225', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q7106225 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Jonestown
Jonestown is the birthplace of Oscar Reed
Jonestown
action filter_type
action find
entity Oscar Reed
relation place of birth
type administrative territorial entity
['Oscar Reed', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Oscar_Reed property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7106225
P21
Q290
USER
Which sex does Oscar Reed have ?
(Q7106225,P21,c(Q290))
action filter_type
action find
entity Q7106225
relation P21
type Q290
['Q7106225', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7106225 property:P21 ?w . ?w rdf:type ontology:Q290 }
Oscar Reed
action filter_type
action find
entity Oscar Reed
relation gender
type sex
['Oscar Reed', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Oscar_Reed property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7106225,P21,c(Q290))
action filter_type
action find
entity Q7106225
relation P21
type Q290
Oscar Reed has a [ANSWER]
['Q7106225', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7106225 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Oscar Reed has a male
male
action filter_type
action find
entity Oscar Reed
relation gender
type sex
['Oscar Reed', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Oscar_Reed property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1136080
P17
Q15617994
USER
Which administrative territory is Jonestown situated in ?
(Q1136080,P17,c(Q15617994))
action filter_type
action find
entity Q1136080
relation P17
type Q15617994
['Q1136080', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1136080 property:P17 ?x }
Jonestown
action filter_type
action find
entity Jonestown
relation country
type designation for an administrative territorial entity
['Jonestown', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jonestown property:country ?x }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1136080,P17,c(Q15617994))
action filter_type
action find
entity Q1136080
relation P17
type Q15617994
Jonestown is situated in [ANSWER]
['Q1136080', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1136080 property:P17 ?x }
United States of America
Jonestown is situated in United States of America
United States of America
action filter_type
action find
entity Jonestown
relation country
type designation for an administrative territorial entity
['Jonestown', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jonestown property:country ?x }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q215
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as Slovenia ?
(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 Q215
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?c = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q215 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?v } }
Slovenia
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 Slovenia
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 ?v WHERE { FILTER ( ?c = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Slovenia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
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 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 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),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as Slovenia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?c = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q215 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria 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 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
Georgia, Netherlands and Poland have diplomatic relationships with around the same number of administrative territories as Slovenia
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 Slovenia
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 ?v WHERE { FILTER ( ?c = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Slovenia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q230 Q55 Q36
P1001
Q14660
USER
Which flags have jurisdiction over those administrative territories ?
(c(Q14660),P1001,Q230) (c(Q14660),P1001,Q55) (c(Q14660),P1001,Q36)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q230'] [{'concept': 'Q14660'}, 'P1001', 'Q55'] [{'concept': 'Q14660'}, 'P1001', 'Q36']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q14660 . ?j property:P1001 ?b . VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Georgia Netherlands Poland
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Georgia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Netherlands'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Poland']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag . ?j property:applies_to_jurisdiction ?b . VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
flag
Q26491 Q46585 Q42436
SYSTEM
Flag of Georgia, flag of the Netherlands, Flag of Poland
Q26491 Q46585 Q42436
(c(Q14660),P1001,Q230) (c(Q14660),P1001,Q55) (c(Q14660),P1001,Q36)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[ANSWERS] have jurisdiction over those administrative territories
[{'concept': 'Q14660'}, 'P1001', 'Q230'] [{'concept': 'Q14660'}, 'P1001', 'Q55'] [{'concept': 'Q14660'}, 'P1001', 'Q36']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q14660 . ?j property:P1001 ?b . VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Flag of Georgia flag of the Netherlands Flag of Poland
Flag of Georgia, flag of the Netherlands and Flag of Poland have jurisdiction over those administrative territories
Flag of Georgia flag of the Netherlands Flag of Poland
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Georgia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Netherlands'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Poland']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag . ?j property:applies_to_jurisdiction ?b . VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42436
P163
Q15617994
USER
Which administrative territory can be described by that flag ?
(c(Q15617994),P163,Q42436)
action filter_type
action find_reverse
entity Q42436
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q42436']
SELECT DISTINCT ?k WHERE { ?k property:P163 resource:Q42436 . ?k rdf:type ontology:Q15617994 }
Flag of Poland
action filter_type
action find_reverse
entity Flag of Poland
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Poland']
SELECT DISTINCT ?k WHERE { ?k property:flag resource:Flag_of_Poland . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q46585
SYSTEM
Did you mean flag of the Netherlands ?
Q26491 Q46585 Q42436
(c(Q15617994),P163,Q26491) (c(Q15617994),P163,Q46585) (c(Q15617994),P163,Q42436)
[ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q26491'] [{'concept': 'Q15617994'}, 'P163', 'Q46585'] [{'concept': 'Q15617994'}, 'P163', 'Q42436']
SELECT DISTINCT ?k WHERE { ?k property:P163 resource:Q42436 . ?k rdf:type ontology:Q15617994 }
Flag of Georgia flag of the Netherlands Flag of Poland
Did you mean flag of the Netherlands ?
flag of the Netherlands
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Georgia'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of the Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Poland']
SELECT DISTINCT ?k WHERE { ?k property:flag resource:Flag_of_Poland . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Flag of Poland. Could you tell me the answer for that?
(c(Q15617994),P163,Q42436)
Q42436
[{'concept': 'Q15617994'}, 'P163', 'Q42436']
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Poland']
[]
Q36
SYSTEM
Poland
Q36
(c(Q15617994),P163,Q42436)
action filter_type
action find_reverse
entity Q42436
relation P163
type Q15617994
[ANSWER] can be described by that flag
[{'concept': 'Q15617994'}, 'P163', 'Q42436']
SELECT DISTINCT ?k WHERE { ?k property:P163 resource:Q42436 . ?k rdf:type ontology:Q15617994 }
Poland
Poland can be described by that flag
Poland
action filter_type
action find_reverse
entity Flag of Poland
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Poland']
SELECT DISTINCT ?k WHERE { ?k property:flag resource:Flag_of_Poland . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P840
Q15416
USER
Which television programs have their narrative set in United States of America ?
(c(Q15416),P840,Q30)
action filter_type
action find_reverse
entity Q30
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q30']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q30 . ?e rdf:type ontology:Q15416 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:United_States_of_America . ?e rdf:type ontology:television_program }
[]
television program
Q974961 Q1753093 Q509805
SYSTEM
Les Uns et les Autres, Ben 10: Race Against Time, Sanctimony
Q7246112 Q6939624 Q7753207 Q974961 Q7805092 Q509805 Q18153618 Q5902601 Q1753093 Q1767491 Q5915000
(c(Q15416),P840,Q30)
action filter_type
action find_reverse
entity Q30
relation P840
type Q15416
[ANSWERS] have their narrative set in United States of America
[{'concept': 'Q15416'}, 'P840', 'Q30']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q30 . ?e rdf:type ontology:Q15416 }
Private Lies Murrow The National Parks: America's Best Idea Les Uns et les Autres Time Share Sanctimony The Roosevelts Horatio's Drive: America's First Road Trip Ben 10: Race Against Time Ben 10: Alien Swarm House of Harmony
Les Uns et les Autres, Ben 10: Race Against Time and Sanctimony have their narrative set in United States of America
Les Uns et les Autres Ben 10: Race Against Time Sanctimony
action filter_type
action find_reverse
entity United States of America
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:United_States_of_America . ?e rdf:type ontology:television_program }
[]