Simple Question (Direct)
Simple Question
Q3421095
P19
Q20667921
USER
Which french administrative division is the birthplace of Raymond Poirier ?
(Q3421095,P19,c(Q20667921))
action filter_type
action find
entity Q3421095
relation P19
type Q20667921
['Q3421095', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q3421095 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
Raymond Poirier
action filter_type
action find
entity Raymond Poirier
relation place of birth
type type of french administrative division
['Raymond Poirier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Raymond_Poirier property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1139312
SYSTEM
Luisant
Q1139312
(Q3421095,P19,c(Q20667921))
action filter_type
action find
entity Q3421095
relation P19
type Q20667921
[ANSWER] is the birthplace of Raymond Poirier
['Q3421095', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q3421095 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
Luisant
Luisant is the birthplace of Raymond Poirier
Luisant
action filter_type
action find
entity Raymond Poirier
relation place of birth
type type of french administrative division
['Raymond Poirier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Raymond_Poirier property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3421095
P937
Q56061
USER
Which is the work location of Raymond Poirier ?
(Q3421095,P937,c(Q56061))
action filter_type
action find
entity Q3421095
relation P937
type Q56061
['Q3421095', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3421095 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Raymond Poirier
action filter_type
action find
entity Raymond Poirier
relation work location
type administrative territorial entity
['Raymond Poirier', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Raymond_Poirier property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3421095,P937,c(Q56061))
action filter_type
action find
entity Q3421095
relation P937
type Q56061
[ANSWER] is the work location of Raymond Poirier
['Q3421095', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3421095 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Paris
Paris is the work location of Raymond Poirier
Paris
action filter_type
action find
entity Raymond Poirier
relation work location
type administrative territorial entity
['Raymond Poirier', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Raymond_Poirier property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q300269
Q56061
USER
And also tell me about Pat Doherty?
(Q300269,P937,c(Q56061))
action filter_type
action find
entity Q300269
relation P937
type Q56061
['Q300269', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q300269 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Pat Doherty
action filter_type
action find
entity Pat Doherty
relation work location
type administrative territorial entity
['Pat Doherty', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Pat_Doherty property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q300269,P937,c(Q56061))
action filter_type
action find
entity Q300269
relation P937
type Q56061
[ANSWER]
['Q300269', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q300269 property:P937 ?i . ?i rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Pat Doherty
relation work location
type administrative territorial entity
['Pat Doherty', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Pat_Doherty property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q300269
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q300269
relation P27
type Q15617994
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q300269 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Pat Doherty
action filter_type
action find
entity Pat Doherty
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pat_Doherty property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q300269
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q300269 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Pat Doherty
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pat_Doherty property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origins of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q145
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2031291 . ?y property:P495 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q145 property:P495 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?w ) }
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United Kingdom
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:release . ?y property:country_of_origin ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:United_Kingdom property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?w ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q145
relation P495
type Q15617994
[ANSWERS] are the origins of around the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2031291 . ?y property:P495 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q145 property:P495 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?w ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of around the same number of releases as that administrative territory
Italy Brazil Georgia
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United Kingdom
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:release . ?y property:country_of_origin ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:United_Kingdom property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P19
Q15619164 Q12737077
USER
How many abstract beings or occupations were born at United Kingdom ?
(c(Q15619164),P19,Q145) (c(Q12737077),P19,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P19
type Q15619164
action filter_type
action find_reverse
entity Q145
relation P19
type Q12737077
[{'concept': 'Q15619164'}, 'P19', 'Q145'] [{'concept': 'Q12737077'}, 'P19', 'Q145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:P19 resource:Q145 . ?c rdf:type ontology:Q15619164 } UNION { ?c property:P19 resource:Q145 . ?c rdf:type ontology:Q12737077 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation place of birth
type abstract being
action filter_type
action find_reverse
entity United Kingdom
relation place of birth
type occupation
[{'concept': 'abstract being'}, 'place of birth', 'United Kingdom'] [{'concept': 'occupation'}, 'place of birth', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:place_of_birth resource:United_Kingdom . ?c rdf:type ontology:abstract_being } UNION { ?c property:place_of_birth resource:United_Kingdom . ?c rdf:type ontology:occupation } }
[]
abstract being occupation
SYSTEM
2
Q6119244 Q2406921
(c(Q15619164),P19,Q145) (c(Q12737077),P19,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P19
type Q15619164
action filter_type
action find_reverse
entity Q145
relation P19
type Q12737077
[ANSWER]
[{'concept': 'Q15619164'}, 'P19', 'Q145'] [{'concept': 'Q12737077'}, 'P19', 'Q145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:P19 resource:Q145 . ?c rdf:type ontology:Q15619164 } UNION { ?c property:P19 resource:Q145 . ?c rdf:type ontology:Q12737077 } }
Michael Woodford Jonathan Joestar
2
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation place of birth
type abstract being
action filter_type
action find_reverse
entity United Kingdom
relation place of birth
type occupation
[{'concept': 'abstract being'}, 'place of birth', 'United Kingdom'] [{'concept': 'occupation'}, 'place of birth', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:place_of_birth resource:United_Kingdom . ?c rdf:type ontology:abstract_being } UNION { ?c property:place_of_birth resource:United_Kingdom . ?c rdf:type ontology:occupation } }
[]