Simple Question (Direct)
Simple Question
Q446313
P21
Q290
USER
Which sex does Richard Southwood possess ?
(Q446313,P21,c(Q290))
action filter_type
action find
entity Q446313
relation P21
type Q290
['Q446313', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q446313 property:P21 ?h . ?h rdf:type ontology:Q290 }
Richard Southwood
action filter_type
action find
entity Richard Southwood
relation gender
type sex
['Richard Southwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Richard_Southwood property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q446313,P21,c(Q290))
action filter_type
action find
entity Q446313
relation P21
type Q290
Richard Southwood possesses a [ANSWER]
['Q446313', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q446313 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Richard Southwood possesses a male
male
action filter_type
action find
entity Richard Southwood
relation gender
type sex
['Richard Southwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Richard_Southwood property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q446313
P463
Q811430
USER
Which construction was Richard Southwood a member of ?
(Q446313,P463,c(Q811430))
action filter_type
action find
entity Q446313
relation P463
type Q811430
['Q446313', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?h WHERE { resource:Q446313 property:P463 ?h . ?h rdf:type ontology:Q811430 }
Richard Southwood
action filter_type
action find
entity Richard Southwood
relation member of
type construction
['Richard Southwood', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?h WHERE { resource:Richard_Southwood property:member_of ?h . ?h rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q446313,P463,c(Q811430))
action filter_type
action find
entity Q446313
relation P463
type Q811430
The [ANSWER] was Richard Southwood a member of
['Q446313', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?h WHERE { resource:Q446313 property:P463 ?h . ?h rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
The American Academy of Arts and Sciences was Richard Southwood a member of
American Academy of Arts and Sciences
action filter_type
action find
entity Richard Southwood
relation member of
type construction
['Richard Southwood', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?h WHERE { resource:Richard_Southwood property:member_of ?h . ?h rdf:type ontology:construction }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1773328
Q811430
USER
And also tell me about Robert Redfield?
(Q1773328,P463,c(Q811430))
action filter_type
action find
entity Q1773328
relation P463
type Q811430
['Q1773328', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q1773328 property:P463 ?w . ?w rdf:type ontology:Q811430 }
Robert Redfield
action filter_type
action find
entity Robert Redfield
relation member of
type construction
['Robert Redfield', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:Robert_Redfield property:member_of ?w . ?w rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1773328,P463,c(Q811430))
action filter_type
action find
entity Q1773328
relation P463
type Q811430
[ANSWER]
['Q1773328', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q1773328 property:P463 ?w . ?w rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Robert Redfield
relation member of
type construction
['Robert Redfield', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:Robert_Redfield property:member_of ?w . ?w rdf:type ontology:construction }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q463303 Q13493233
P463
Q502895
USER
Is Alex Wood a part of that construction ?
(Q13493233,P463,Q463303)
action is_in
entity Q13493233
action find
entity Q463303
relation P463
['Q13493233', 'P463', 'Q463303']
ASK WHERE { resource:Q463303 property:P463 resource:Q13493233 }
American Academy of Arts and Sciences Alex Wood
action is_in
entity Alex Wood
action find
entity American Academy of Arts and Sciences
relation member of
['Alex Wood', 'member of', 'American Academy of Arts and Sciences']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:member_of resource:Alex_Wood }
[]
common name
SYSTEM
NO
(Q13493233,P463,Q463303)
action is_in
entity Q13493233
action find
entity Q463303
relation P463
[ANSWER]
['Q13493233', 'P463', 'Q463303']
ASK WHERE { resource:Q463303 property:P463 resource:Q13493233 }
No
action is_in
entity Alex Wood
action find
entity American Academy of Arts and Sciences
relation member of
['Alex Wood', 'member of', 'American Academy of Arts and Sciences']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:member_of resource:Alex_Wood }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q446313
P106
Q12737077
USER
Which occupations have Richard Southwood as his/her 's career ?
(Q446313,P106,c(Q12737077))
action filter_type
action find
entity Q446313
relation P106
type Q12737077
['Q446313', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q446313 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Richard Southwood
action filter_type
action find
entity Richard Southwood
relation occupation
type occupation
['Richard Southwood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Richard_Southwood property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q3055126 Q1622272 Q350979
SYSTEM
entomologist, university teacher, zoologist
Q3055126 Q1622272 Q350979
(Q446313,P106,c(Q12737077))
action filter_type
action find
entity Q446313
relation P106
type Q12737077
As [ANSWERS] have Richard Southwood as his/her 's career
['Q446313', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q446313 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
entomologist university teacher zoologist
As entomologist, university teacher and zoologist have Richard Southwood as his/her 's career
entomologist university teacher zoologist
action filter_type
action find
entity Richard Southwood
relation occupation
type occupation
['Richard Southwood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Richard_Southwood property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q350979
P425
Q336
USER
Which science has that one as thier associated field of occupation ?
(Q350979,P425,c(Q336))
action filter_type
action find
entity Q350979
relation P425
type Q336
['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q336 . resource:Q350979 property:P425 ?e }
zoologist
action filter_type
action find
entity zoologist
relation field of this occupation
type science
['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:science . resource:zoologist property:field_of_this_occupation ?e }
[]
science
Clarification for simple ques.
Q350979
SYSTEM
Did you mean zoologist ?
Q3055126 Q1622272 Q350979
(Q3055126,P425,c(Q336)) (Q1622272,P425,c(Q336)) (Q350979,P425,c(Q336))
[ANSWER]
['Q3055126', 'P425', {'concept': 'Q336'}] ['Q1622272', 'P425', {'concept': 'Q336'}] ['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q336 . resource:Q350979 property:P425 ?e }
entomologist university teacher zoologist
Did you mean zoologist ?
zoologist
['entomologist', 'field of this occupation', {'concept': 'science'}] ['university teacher', 'field of this occupation', {'concept': 'science'}] ['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:science . resource:zoologist property:field_of_this_occupation ?e }
[]
Simple Question (Coreferenced)
USER
Yes
(Q350979,P425,c(Q336))
['Q350979', 'P425', {'concept': 'Q336'}]
['zoologist', 'field of this occupation', {'concept': 'science'}]
[]
Q431
SYSTEM
zoology
Q431
(Q350979,P425,c(Q336))
action filter_type
action find
entity Q350979
relation P425
type Q336
[ANSWER] has that one as thier associated field of occupation
['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q336 . resource:Q350979 property:P425 ?e }
zoology
Zoology has that one as thier associated field of occupation
zoology
action filter_type
action find
entity zoologist
relation field of this occupation
type science
['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:science . resource:zoologist property:field_of_this_occupation ?e }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4948826 Q446313
P27
Q15617994
USER
Which administrative territories are Richard Southwood or Amanda Fredin a civilian of ?
OR((Q446313,P27,c(Q15617994)), (Q4948826,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q446313
relation P27
action find
entity Q4948826
relation P27
type Q15617994
{'OR': [['Q446313', 'P27', {'concept': 'Q15617994'}], ['Q4948826', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q446313 property:P27 ?n } UNION { resource:Q4948826 property:P27 ?n } } }
Amanda Fredin Richard Southwood
action filter_type
action union
action find
entity Richard Southwood
relation country of citizenship
action find
entity Amanda Fredin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Richard Southwood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Amanda Fredin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Richard_Southwood property:country_of_citizenship ?n } UNION { resource:Amanda_Fredin property:country_of_citizenship ?n } } }
[]
designation for an administrative territorial entity
Q145 Q34
SYSTEM
United Kingdom, Sweden
Q145 Q34
OR((Q446313,P27,c(Q15617994)), (Q4948826,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q446313
relation P27
action find
entity Q4948826
relation P27
type Q15617994
[ANSWERS] are Richard Southwood or Amanda Fredin a civilian of
{'OR': [['Q446313', 'P27', {'concept': 'Q15617994'}], ['Q4948826', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q446313 property:P27 ?n } UNION { resource:Q4948826 property:P27 ?n } } }
United Kingdom Sweden
United Kingdom and Sweden are Richard Southwood or Amanda Fredin a civilian of
United Kingdom Sweden
action filter_type
action union
action find
entity Richard Southwood
relation country of citizenship
action find
entity Amanda Fredin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Richard Southwood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Amanda Fredin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Richard_Southwood property:country_of_citizenship ?n } UNION { resource:Amanda_Fredin property:country_of_citizenship ?n } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q7725634
USER
Which administrative territories are the origins of approximately the same number of television programs and literary works as that administrative territory ?
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity television program literary work
Comparative|More/Less|Mult. entity type|Clarification
Q34
SYSTEM
Did you mean Sweden ?
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Sweden ?
Sweden
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 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(Q15416)|c(Q7725634),P495,c(Q15617994))
[ANSWERS] are the origins of approximately the same number of television programs and literary works as that administrative territory
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands 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 approximately the same number of television programs and literary works as that administrative territory
Italy Brazil Georgia
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Clarification
Simple Question|Single Entity|Indirect
Q230
P530
Q15617994
USER
Who have diplomatic relationships with that one ?
(Q230,P530,c(Q15617994))
action filter_type
action find
entity Q230
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q230 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Georgia
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Georgia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q230
SYSTEM
Did you mean Georgia ?
Q38 Q155 Q230
(Q38,P530,c(Q15617994)) (Q155,P530,c(Q15617994)) (Q230,P530,c(Q15617994))
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q230 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Italy Brazil Georgia
Did you mean Georgia ?
Georgia
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Georgia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q230,P530,c(Q15617994))
['Q230', 'P530', {'concept': 'Q15617994'}]
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
Q155 Q38 Q30
SYSTEM
Brazil, Italy, United States of America
Q739 Q805 Q1007 Q117 Q801 Q800 Q1006 Q184 Q1008 Q971 Q822 Q241 Q229 Q668 Q32 Q228 Q414 Q983 Q227 Q225 Q686 Q222 Q1005 Q145 Q115 Q262 Q189 Q784 Q17 Q786 Q347 Q1016 Q921 Q31 Q30 Q37 Q79 Q965 Q38 Q902 Q1009 Q878 Q874 Q986 Q774 Q423 Q710 Q970 Q424 Q1013 Q191 Q851 Q963 Q967 Q974 Q734 Q1011 Q252 Q114 Q399 Q398 Q736 Q750 Q211 Q43 Q155 Q792 Q219 Q810 Q796 Q794 Q954 Q889 Q27 Q29 Q819 Q884 Q953 Q881 Q916
(Q230,P530,c(Q15617994))
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with that one
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q230 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Colombia Yemen Guinea-Bissau Ghana Israel Costa Rica Guinea Belarus Côte d'Ivoire Republic of the Congo Lebanon Cuba Cyprus India Luxembourg Andorra Argentina Equatorial Guinea Azerbaijan Bosnia and Herzegovina Vanuatu Albania Gambia United Kingdom Ethiopia Algeria Iceland Dominica Japan Dominican Republic Liechtenstein Libya Brunei Belgium United States of America Lithuania Egypt Burkina Faso Italy Bangladesh Cameroon United Arab Emirates Turkmenistan Eritrea Guatemala North Korea Kiribati Comoros Cambodia Lesotho Estonia Saudi Arabia Botswana Burundi Democratic Republic of the Congo Guyana Cape Verde Indonesia Kenya Armenia Bahrain Ecuador Bolivia Latvia Turkey Brazil El Salvador Bulgaria Jordan Iraq Iran Zimbabwe Afghanistan Ireland Spain Laos South Korea Zambia Vietnam Angola
Brazil, Italy and United States of America have diplomatic relationships with that one
Brazil Italy United States of America
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Georgia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P138
Q102786
USER
Which abbreviation comes from that administrative territory ?
(c(Q102786),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q102786
[{'concept': 'Q102786'}, 'P138', 'Q155']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q155 . ?y rdf:type ontology:Q102786 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation named after
type abbreviation
[{'concept': 'abbreviation'}, 'named after', 'Brazil']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Brazil . ?y rdf:type ontology:abbreviation }
[]
abbreviation
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q155 Q38 Q30
(c(Q102786),P138,Q155) (c(Q102786),P138,Q38) (c(Q102786),P138,Q30)
[ANSWER]
[{'concept': 'Q102786'}, 'P138', 'Q155'] [{'concept': 'Q102786'}, 'P138', 'Q38'] [{'concept': 'Q102786'}, 'P138', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q155 . ?y rdf:type ontology:Q102786 }
Brazil Italy United States of America
Did you mean Italy ?
Italy
[{'concept': 'abbreviation'}, 'named after', 'Brazil'] [{'concept': 'abbreviation'}, 'named after', 'Italy'] [{'concept': 'abbreviation'}, 'named after', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Brazil . ?y rdf:type ontology:abbreviation }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q102786),P138,Q155)
Q155
[{'concept': 'Q102786'}, 'P138', 'Q155']
[{'concept': 'abbreviation'}, 'named after', 'Brazil']
[]
Q833202
SYSTEM
BRIC
Q833202
(c(Q102786),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q102786
[ANSWER] comes from that administrative territory
[{'concept': 'Q102786'}, 'P138', 'Q155']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q155 . ?y rdf:type ontology:Q102786 }
BRIC
BRIC comes from that administrative territory
BRIC
action filter_type
action find_reverse
entity Brazil
relation named after
type abbreviation
[{'concept': 'abbreviation'}, 'named after', 'Brazil']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Brazil . ?y rdf:type ontology:abbreviation }
[]