Simple Question (Direct)
Simple Question
Q3164482
P19
Q20667921
USER
Where was Jean-Baptiste Voysin de Gartempe born ?
(Q3164482,P19,c(Q20667921))
action filter_type
action find
entity Q3164482
relation P19
type Q20667921
['Q3164482', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q3164482 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Jean-Baptiste Voysin de Gartempe
action filter_type
action find
entity Jean-Baptiste Voysin de Gartempe
relation place of birth
type type of french administrative division
['Jean-Baptiste Voysin de Gartempe', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Baptiste_Voysin_de_Gartempe property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q188511
SYSTEM
Guéret
Q188511
(Q3164482,P19,c(Q20667921))
action filter_type
action find
entity Q3164482
relation P19
type Q20667921
Jean-Baptiste Voysin de Gartempe was born in [ANSWER]
['Q3164482', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q3164482 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Guéret
Jean-Baptiste Voysin de Gartempe was born in Guéret
Guéret
action filter_type
action find
entity Jean-Baptiste Voysin de Gartempe
relation place of birth
type type of french administrative division
['Jean-Baptiste Voysin de Gartempe', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Baptiste_Voysin_de_Gartempe property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3164482
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q188511,P27,c(Q15617994))
action filter_type
action find
entity Q3164482
relation P27
type Q15617994
['Q188511', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3164482 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Jean-Baptiste Voysin de Gartempe
action filter_type
action find
entity Jean-Baptiste Voysin de Gartempe
relation country of citizenship
type designation for an administrative territorial entity
['Guéret', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Baptiste_Voysin_de_Gartempe property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q188511,P27,c(Q15617994))
action filter_type
action find
entity Q3164482
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q188511', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3164482 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
France
The France is the native country of that person
France
action filter_type
action find
entity Jean-Baptiste Voysin de Gartempe
relation country of citizenship
type designation for an administrative territorial entity
['Guéret', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Baptiste_Voysin_de_Gartempe property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3164482
P20
Q56061
USER
Where did the demise of that person occur ?
(Q142,P20,c(Q56061))
action filter_type
action find
entity Q3164482
relation P20
type Q56061
['Q142', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3164482 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Jean-Baptiste Voysin de Gartempe
action filter_type
action find
entity Jean-Baptiste Voysin de Gartempe
relation place of death
type administrative territorial entity
['France', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Baptiste_Voysin_de_Gartempe property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q142,P20,c(Q56061))
action filter_type
action find
entity Q3164482
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q142', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3164482 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Paris
The demise of that person occurred in Paris
Paris
action filter_type
action find
entity Jean-Baptiste Voysin de Gartempe
relation place of death
type administrative territorial entity
['France', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Baptiste_Voysin_de_Gartempe property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q17562832 Q142
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with France and are not the countries of citizenship of Vladimir Zavyalov ?
AND((Q142,P530,c(Q15617994)), NOT((Q17562832,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P530
action find
entity Q17562832
relation P27
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q17562832', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?r WHERE { resource:Q142 property:P530 ?r . MINUS { resource:Q17562832 property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Vladimir Zavyalov France
action filter_type
action difference
action find
entity France
relation diplomatic relation
action find
entity Vladimir Zavyalov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Vladimir Zavyalov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?r WHERE { resource:France property:diplomatic_relation ?r . MINUS { resource:Vladimir_Zavyalov property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q32 Q30 Q145 Q711 Q228 Q222 Q38 Q27 Q155
SYSTEM
Some of them are Japan, Luxembourg, United States of America, United Kingdom, Mongolia, Andorra, Albania, Italy, Ireland, Brazil
Q711 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
AND((Q142,P530,c(Q15617994)), NOT((Q17562832,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P530
action find
entity Q17562832
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with France and are not the countries of citizenship of Vladimir Zavyalov
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q17562832', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?r WHERE { resource:Q142 property:P530 ?r . MINUS { resource:Q17562832 property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Mongolia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Japan, Luxembourg, United States of America, United Kingdom, Mongolia, Andorra, Albania, Italy, Ireland and Brazil have diplomatic relations with France and are not the countries of citizenship of Vladimir Zavyalov
Japan Luxembourg United States of America United Kingdom Mongolia Andorra Albania Italy Ireland Brazil
action filter_type
action difference
action find
entity France
relation diplomatic relation
action find
entity Vladimir Zavyalov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Vladimir Zavyalov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?r WHERE { resource:France property:diplomatic_relation ?r . MINUS { resource:Vladimir_Zavyalov property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q228
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q228,P194,c(Q1752346))
action filter_type
action find
entity Q228
relation P194
type Q1752346
['Q228', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q228 property:P194 ?d . ?d rdf:type ontology:Q1752346 }
Andorra
action filter_type
action find
entity Andorra
relation legislative body
type assembly
['Andorra', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:Andorra property:legislative_body ?d . ?d rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q155
SYSTEM
Did you mean Brazil ?
Q17 Q32 Q30 Q145 Q711 Q228 Q222 Q38 Q27 Q155
(Q17,P194,c(Q1752346)) (Q32,P194,c(Q1752346)) (Q30,P194,c(Q1752346)) (Q145,P194,c(Q1752346)) (Q711,P194,c(Q1752346)) (Q228,P194,c(Q1752346)) (Q222,P194,c(Q1752346)) (Q38,P194,c(Q1752346)) (Q27,P194,c(Q1752346)) (Q155,P194,c(Q1752346))
[ANSWER]
['Q17', 'P194', {'concept': 'Q1752346'}] ['Q32', 'P194', {'concept': 'Q1752346'}] ['Q30', 'P194', {'concept': 'Q1752346'}] ['Q145', 'P194', {'concept': 'Q1752346'}] ['Q711', 'P194', {'concept': 'Q1752346'}] ['Q228', 'P194', {'concept': 'Q1752346'}] ['Q222', 'P194', {'concept': 'Q1752346'}] ['Q38', 'P194', {'concept': 'Q1752346'}] ['Q27', 'P194', {'concept': 'Q1752346'}] ['Q155', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q228 property:P194 ?d . ?d rdf:type ontology:Q1752346 }
Japan Luxembourg United States of America United Kingdom Mongolia Andorra Albania Italy Ireland Brazil
Did you mean Brazil ?
Brazil
['Japan', 'legislative body', {'concept': 'assembly'}] ['Luxembourg', 'legislative body', {'concept': 'assembly'}] ['United States of America', 'legislative body', {'concept': 'assembly'}] ['United Kingdom', 'legislative body', {'concept': 'assembly'}] ['Mongolia', 'legislative body', {'concept': 'assembly'}] ['Andorra', 'legislative body', {'concept': 'assembly'}] ['Albania', 'legislative body', {'concept': 'assembly'}] ['Italy', 'legislative body', {'concept': 'assembly'}] ['Ireland', 'legislative body', {'concept': 'assembly'}] ['Brazil', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:Andorra property:legislative_body ?d . ?d rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
No, I meant Andorra. Could you tell me the answer for that?
(Q228,P194,c(Q1752346))
Q228
['Q228', 'P194', {'concept': 'Q1752346'}]
['Andorra', 'legislative body', {'concept': 'assembly'}]
[]
Q24824
SYSTEM
General Council of Andorra
Q24824
(Q228,P194,c(Q1752346))
action filter_type
action find
entity Q228
relation P194
type Q1752346
The [ANSWER] is the legislative body for that administrative territory
['Q228', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { resource:Q228 property:P194 ?d . ?d rdf:type ontology:Q1752346 }
General Council of Andorra
The General Council of Andorra is the legislative body for that administrative territory
General Council of Andorra
action filter_type
action find
entity Andorra
relation legislative body
type assembly
['Andorra', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { resource:Andorra property:legislative_body ?d . ?d rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q24824 Q695445
P1001
Q15617994
USER
Is Langen linked to that assembly ?
(Q24824,P1001,Q695445)
action is_in
entity Q695445
action find
entity Q24824
relation P1001
['Q24824', 'P1001', 'Q695445']
ASK WHERE { resource:Q24824 property:P1001 resource:Q695445 }
General Council of Andorra Langen
action is_in
entity Langen
action find
entity General Council of Andorra
relation applies to jurisdiction
['General Council of Andorra', 'applies to jurisdiction', 'Langen']
ASK WHERE { resource:General_Council_of_Andorra property:applies_to_jurisdiction resource:Langen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q24824,P1001,Q695445)
action is_in
entity Q695445
action find
entity Q24824
relation P1001
[ANSWER]
['Q24824', 'P1001', 'Q695445']
ASK WHERE { resource:Q24824 property:P1001 resource:Q695445 }
No
action is_in
entity Langen
action find
entity General Council of Andorra
relation applies to jurisdiction
['General Council of Andorra', 'applies to jurisdiction', 'Langen']
ASK WHERE { resource:General_Council_of_Andorra property:applies_to_jurisdiction resource:Langen }
[]