Simple Question (Direct)
Simple Question
Q1429376
P734
Q82799
USER
Which name is associated with Florence Meyer ?
(Q1429376,P734,c(Q82799))
action filter_type
action find
entity Q1429376
relation P734
type Q82799
['Q1429376', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q1429376 property:P734 ?o }
Florence Meyer
action filter_type
action find
entity Florence Meyer
relation family name
type name
['Florence Meyer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Florence_Meyer property:family_name ?o }
[]
name
Q46767
SYSTEM
Meyer
Q46767
(Q1429376,P734,c(Q82799))
action filter_type
action find
entity Q1429376
relation P734
type Q82799
It [ANSWER] is associated with Florence [ANSWER]
['Q1429376', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q1429376 property:P734 ?o }
Meyer
It Meyer is associated with Florence Meyer
Meyer
action filter_type
action find
entity Florence Meyer
relation family name
type name
['Florence Meyer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Florence_Meyer property:family_name ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46767
P495
Q1048835
USER
Which political territory is the country of origin of that name ?
(Q46767,P495,c(Q1048835))
action filter_type
action find
entity Q46767
relation P495
type Q1048835
['Q46767', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q46767 property:P495 ?q . ?q rdf:type ontology:Q1048835 }
Meyer
action filter_type
action find
entity Meyer
relation country of origin
type political territorial entity
['Meyer', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Meyer property:country_of_origin ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q46767,P495,c(Q1048835))
action filter_type
action find
entity Q46767
relation P495
type Q1048835
[ANSWER] is the country of origin of that name
['Q46767', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q46767 property:P495 ?q . ?q rdf:type ontology:Q1048835 }
Germany
Germany is the country of origin of that name
Germany
action filter_type
action find
entity Meyer
relation country of origin
type political territorial entity
['Meyer', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Meyer property:country_of_origin ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q11675759 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and are not the countries of citizenship of Katsuo Ukai ?
AND((Q183,P530,c(Q15617994)), NOT((Q11675759,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q11675759
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q11675759', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Q183 property:P530 ?j . FILTER NOT EXISTS { resource:Q11675759 property:P27 ?j } . ?j rdf:type ontology:Q15617994 }
Katsuo Ukai Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Katsuo Ukai
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Katsuo Ukai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Germany property:diplomatic_relation ?j . FILTER NOT EXISTS { resource:Katsuo_Ukai property:country_of_citizenship ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q958 Q1037 Q241 Q1019 Q929 Q45 Q230 Q262 Q419
SYSTEM
Some of them are South Korea, South Sudan, Rwanda, Cuba, Madagascar, Central African Republic, Portugal, Georgia, Algeria, Peru
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q11675759,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q11675759
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Germany and are not the countries of citizenship of Katsuo Ukai
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q11675759', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Q183 property:P530 ?j . FILTER NOT EXISTS { resource:Q11675759 property:P27 ?j } . ?j rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
South Korea, South Sudan, Rwanda, Cuba, Madagascar, Central African Republic, Portugal, Georgia, Algeria and Peru have diplomatic relationships with Germany and are not the countries of citizenship of Katsuo Ukai
South Korea South Sudan Rwanda Cuba Madagascar Central African Republic Portugal Georgia Algeria Peru
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Katsuo Ukai
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Katsuo Ukai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?j WHERE { resource:Germany property:diplomatic_relation ?j . FILTER NOT EXISTS { resource:Katsuo_Ukai property:country_of_citizenship ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q419
P27
Q502895
USER
Which people are a citizen of Peru and United States of America ?
AND((c(Q502895),P27,Q419), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q419
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q419'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P27 resource:Q419 . ?n property:P27 resource:Q30 }
United States of America Peru
action filter_type
action intersection
action find_reverse
entity Peru
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Peru'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:country_of_citizenship resource:Peru . ?n property:country_of_citizenship resource:United_States_of_America }
[]
common name
Q152266 Q242969 Q734544 Q4962000 Q83566 Q347368 Q6317478 Q447902 Q5274613 Q5135587
SYSTEM
Some of them are Susana Baca, Alexis Amore, Alex Olmedo, Jenny Lidback, Isabel Allende, Immortal Technique, Justin Coloma, Daniel Alarcón, Diego Chávarri, Clotilde Arias
Q3719806 Q239030 Q734544 Q4962000 Q347368 Q5135587 Q6254224 Q5379744 Q242969 Q381027 Q20830731 Q152266 Q447902 Q83566 Q6317478 Q5274613 Q720199 Q16221656 Q285232 Q3269706 Q5373197 Q3433439
AND((c(Q502895),P27,Q419), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q419
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are a citizen of Peru and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q419'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P27 resource:Q419 . ?n property:P27 resource:Q30 }
Eduardo González Viaña Yma Sumac Alex Olmedo Jenny Lidback Immortal Technique Clotilde Arias John Randolph Tucker Enrique M. Jurado Alexis Amore Pedro Pablo Kuczynski Isabela Mone Susana Baca Daniel Alarcón Isabel Allende Justin Coloma Diego Chávarri Jaime Bayly Juan Pablo Valdivieso Piermaria Oddone Armando Robles Godoy Emmanuel Crescimbeni Roberto Carcelen
Susana Baca, Alexis Amore, Alex Olmedo, Jenny Lidback, Isabel Allende, Immortal Technique, Justin Coloma, Daniel Alarcón, Diego Chávarri and Clotilde Arias are a citizen of Peru and United States of America
Susana Baca Alexis Amore Alex Olmedo Jenny Lidback Isabel Allende Immortal Technique Justin Coloma Daniel Alarcón Diego Chávarri Clotilde Arias
action filter_type
action intersection
action find_reverse
entity Peru
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Peru'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:country_of_citizenship resource:Peru . ?n property:country_of_citizenship resource:United_States_of_America }
[]
Clarification
Simple Question|Single Entity|Indirect
Q83566
P463
Q874405
USER
Which social group was that person a member of ?
(Q83566,P463,c(Q874405))
action filter_type
action find
entity Q83566
relation P463
type Q874405
['Q83566', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q83566 property:P463 ?v . ?v rdf:type ontology:Q874405 }
Isabel Allende
action filter_type
action find
entity Isabel Allende
relation member of
type social group
['Isabel Allende', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Isabel_Allende property:member_of ?v . ?v rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q734544
SYSTEM
Did you mean Alex Olmedo ?
Q152266 Q242969 Q734544 Q4962000 Q83566 Q347368 Q6317478 Q447902 Q5274613 Q5135587
(Q152266,P463,c(Q874405)) (Q242969,P463,c(Q874405)) (Q734544,P463,c(Q874405)) (Q4962000,P463,c(Q874405)) (Q83566,P463,c(Q874405)) (Q347368,P463,c(Q874405)) (Q6317478,P463,c(Q874405)) (Q447902,P463,c(Q874405)) (Q5274613,P463,c(Q874405)) (Q5135587,P463,c(Q874405))
[ANSWER]
['Q152266', 'P463', {'concept': 'Q874405'}] ['Q242969', 'P463', {'concept': 'Q874405'}] ['Q734544', 'P463', {'concept': 'Q874405'}] ['Q4962000', 'P463', {'concept': 'Q874405'}] ['Q83566', 'P463', {'concept': 'Q874405'}] ['Q347368', 'P463', {'concept': 'Q874405'}] ['Q6317478', 'P463', {'concept': 'Q874405'}] ['Q447902', 'P463', {'concept': 'Q874405'}] ['Q5274613', 'P463', {'concept': 'Q874405'}] ['Q5135587', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q83566 property:P463 ?v . ?v rdf:type ontology:Q874405 }
Susana Baca Alexis Amore Alex Olmedo Jenny Lidback Isabel Allende Immortal Technique Justin Coloma Daniel Alarcón Diego Chávarri Clotilde Arias
Did you mean Alex Olmedo ?
Alex Olmedo
['Susana Baca', 'member of', {'concept': 'social group'}] ['Alexis Amore', 'member of', {'concept': 'social group'}] ['Alex Olmedo', 'member of', {'concept': 'social group'}] ['Jenny Lidback', 'member of', {'concept': 'social group'}] ['Isabel Allende', 'member of', {'concept': 'social group'}] ['Immortal Technique', 'member of', {'concept': 'social group'}] ['Justin Coloma', 'member of', {'concept': 'social group'}] ['Daniel Alarcón', 'member of', {'concept': 'social group'}] ['Diego Chávarri', 'member of', {'concept': 'social group'}] ['Clotilde Arias', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Isabel_Allende property:member_of ?v . ?v rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Isabel Allende. Could you tell me the answer for that?
(Q83566,P463,c(Q874405))
Q83566
['Q83566', 'P463', {'concept': 'Q874405'}]
['Isabel Allende', 'member of', {'concept': 'social group'}]
[]
Q1159953
SYSTEM
Allende family
Q1159953
(Q83566,P463,c(Q874405))
action filter_type
action find
entity Q83566
relation P463
type Q874405
The [ANSWER] was that person a member of
['Q83566', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q83566 property:P463 ?v . ?v rdf:type ontology:Q874405 }
Allende family
The Allende family was that person a member of
Allende family
action filter_type
action find
entity Isabel Allende
relation member of
type social group
['Isabel Allende', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Isabel_Allende property:member_of ?v . ?v rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1159953 Q4877250
P53
Q502895
USER
Is Beatriz Allende from that social group ?
(Q4877250,P53,Q1159953)
action is_in
entity Q1159953
action find
entity Q4877250
relation P53
['Q4877250', 'P53', 'Q1159953']
ASK WHERE { resource:Q4877250 property:P53 resource:Q1159953 }
Allende family Beatriz Allende
action is_in
entity Allende family
action find
entity Beatriz Allende
relation noble family
['Beatriz Allende', 'noble family', 'Allende family']
ASK WHERE { resource:Beatriz_Allende property:noble_family resource:Allende_family }
[]
common name
SYSTEM
YES
(Q4877250,P53,Q1159953)
action is_in
entity Q1159953
action find
entity Q4877250
relation P53
[ANSWER]
['Q4877250', 'P53', 'Q1159953']
ASK WHERE { resource:Q4877250 property:P53 resource:Q1159953 }
Yes
action is_in
entity Allende family
action find
entity Beatriz Allende
relation noble family
['Beatriz Allende', 'noble family', 'Allende family']
ASK WHERE { resource:Beatriz_Allende property:noble_family resource:Allende_family }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q347368 Q3087198 Q680592
P27
Q15617994
USER
Is Immortal Technique a citizen of Fredericton-Nashwaaksis and Pucking ?
(Q347368,P27,Q3087198) (Q347368,P27,Q680592)
action is_in
entity Q347368
action intersection
action find_reverse
entity Q3087198
relation P27
action find_reverse
entity Q680592
relation P27
['Q347368', 'P27', 'Q3087198'] ['Q347368', 'P27', 'Q680592']
ASK WHERE { resource:Q347368 property:P27 resource:Q680592 . resource:Q347368 property:P27 resource:Q3087198 }
Immortal Technique Fredericton-Nashwaaksis Pucking
action is_in
entity Immortal Technique
action intersection
action find_reverse
entity Fredericton-Nashwaaksis
relation country of citizenship
action find_reverse
entity Pucking
relation country of citizenship
['Immortal Technique', 'country of citizenship', 'Fredericton-Nashwaaksis'] ['Immortal Technique', 'country of citizenship', 'Pucking']
ASK WHERE { resource:Immortal_Technique property:country_of_citizenship resource:Pucking . resource:Immortal_Technique property:country_of_citizenship resource:Fredericton-Nashwaaksis }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q347368,P27,Q3087198) (Q347368,P27,Q680592)
action is_in
entity Q347368
action intersection
action find_reverse
entity Q3087198
relation P27
action find_reverse
entity Q680592
relation P27
[ANSWER]
['Q347368', 'P27', 'Q3087198'] ['Q347368', 'P27', 'Q680592']
ASK WHERE { resource:Q347368 property:P27 resource:Q680592 . resource:Q347368 property:P27 resource:Q3087198 }
No
action is_in
entity Immortal Technique
action intersection
action find_reverse
entity Fredericton-Nashwaaksis
relation country of citizenship
action find_reverse
entity Pucking
relation country of citizenship
['Immortal Technique', 'country of citizenship', 'Fredericton-Nashwaaksis'] ['Immortal Technique', 'country of citizenship', 'Pucking']
ASK WHERE { resource:Immortal_Technique property:country_of_citizenship resource:Pucking . resource:Immortal_Technique property:country_of_citizenship resource:Fredericton-Nashwaaksis }
[]