Simple Question (Direct)
Simple Question
Q9613690
P106
Q12737077
USER
Which occupation is the profession of Anderson Paim de Rodrigues ?
(Q9613690,P106,c(Q12737077))
action filter_type
action find
entity Q9613690
relation P106
type Q12737077
['Q9613690', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q9613690 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Anderson Paim de Rodrigues
action filter_type
action find
entity Anderson Paim de Rodrigues
relation occupation
type occupation
['Anderson Paim de Rodrigues', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Anderson_Paim_de_Rodrigues property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q9613690,P106,c(Q12737077))
action filter_type
action find
entity Q9613690
relation P106
type Q12737077
As [ANSWER] is the profession of Anderson Paim de Rodrigues
['Q9613690', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q9613690 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Anderson Paim de Rodrigues
association football player
action filter_type
action find
entity Anderson Paim de Rodrigues
relation occupation
type occupation
['Anderson Paim de Rodrigues', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Anderson_Paim_de_Rodrigues property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9613690
P19
Q56061
USER
Which administrative territory was Anderson Paim de Rodrigues born at ?
(Q9613690,P19,c(Q56061))
action filter_type
action find
entity Q9613690
relation P19
type Q56061
['Q9613690', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q9613690 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Anderson Paim de Rodrigues
action filter_type
action find
entity Anderson Paim de Rodrigues
relation place of birth
type administrative territorial entity
['Anderson Paim de Rodrigues', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Anderson_Paim_de_Rodrigues property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q119140
SYSTEM
Bagé
Q119140
(Q9613690,P19,c(Q56061))
action filter_type
action find
entity Q9613690
relation P19
type Q56061
Anderson Paim de Rodrigues was born in [ANSWER]
['Q9613690', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q9613690 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Bagé
Anderson Paim de Rodrigues was born in Bagé
Bagé
action filter_type
action find
entity Anderson Paim de Rodrigues
relation place of birth
type administrative territorial entity
['Anderson Paim de Rodrigues', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Anderson_Paim_de_Rodrigues property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q119140 Q26213634
P19
Q502895
USER
Does Holly Deveaux have place of birth as that administrative territory ?
(Q26213634,P19,Q119140)
action is_in
entity Q26213634
action find
entity Q119140
relation P19
['Q26213634', 'P19', 'Q119140']
ASK WHERE { resource:Q119140 property:P19 resource:Q26213634 }
Bagé Holly Deveaux
action is_in
entity Holly Deveaux
action find
entity Bagé
relation place of birth
['Holly Deveaux', 'place of birth', 'Bagé']
ASK WHERE { resource:Bagé property:place_of_birth resource:Holly_Deveaux }
[]
common name
SYSTEM
NO
(Q26213634,P19,Q119140)
action is_in
entity Q26213634
action find
entity Q119140
relation P19
[ANSWER]
['Q26213634', 'P19', 'Q119140']
ASK WHERE { resource:Q119140 property:P19 resource:Q26213634 }
No
action is_in
entity Holly Deveaux
action find
entity Bagé
relation place of birth
['Holly Deveaux', 'place of birth', 'Bagé']
ASK WHERE { resource:Bagé property:place_of_birth resource:Holly_Deveaux }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9613690 Q5138757 Q155
P27
Q15617994
USER
Is Anderson Paim de Rodrigues a citizen of Cobb County School District and Brazil ?
(Q9613690,P27,Q5138757) (Q9613690,P27,Q155)
action is_in
entity Q9613690
action intersection
action find_reverse
entity Q5138757
relation P27
action find_reverse
entity Q155
relation P27
['Q9613690', 'P27', 'Q5138757'] ['Q9613690', 'P27', 'Q155']
ASK WHERE { resource:Q9613690 property:P27 resource:Q5138757 . resource:Q9613690 property:P27 resource:Q155 }
Anderson Paim de Rodrigues Cobb County School District Brazil
action is_in
entity Anderson Paim de Rodrigues
action intersection
action find_reverse
entity Cobb County School District
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
['Anderson Paim de Rodrigues', 'country of citizenship', 'Cobb County School District'] ['Anderson Paim de Rodrigues', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Anderson_Paim_de_Rodrigues property:country_of_citizenship resource:Cobb_County_School_District . resource:Anderson_Paim_de_Rodrigues property:country_of_citizenship resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q9613690,P27,Q5138757) (Q9613690,P27,Q155)
action is_in
entity Q9613690
action intersection
action find_reverse
entity Q5138757
relation P27
action find_reverse
entity Q155
relation P27
[ANSWER]
['Q9613690', 'P27', 'Q5138757'] ['Q9613690', 'P27', 'Q155']
ASK WHERE { resource:Q9613690 property:P27 resource:Q5138757 . resource:Q9613690 property:P27 resource:Q155 }
NO and YES respectively
action is_in
entity Anderson Paim de Rodrigues
action intersection
action find_reverse
entity Cobb County School District
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
['Anderson Paim de Rodrigues', 'country of citizenship', 'Cobb County School District'] ['Anderson Paim de Rodrigues', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Anderson_Paim_de_Rodrigues property:country_of_citizenship resource:Cobb_County_School_District . resource:Anderson_Paim_de_Rodrigues property:country_of_citizenship resource:Brazil }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q18680800
P425
Q349
USER
Is Kuningaspallo associated with the field of occupation association football player ?
(Q937857,P425,Q18680800)
action is_in
entity Q18680800
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q18680800']
ASK WHERE { resource:Q937857 property:P425 resource:Q18680800 }
association football player Kuningaspallo
action is_in
entity Kuningaspallo
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Kuningaspallo']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Kuningaspallo }
[]
sport
SYSTEM
NO
(Q937857,P425,Q18680800)
action is_in
entity Q18680800
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q18680800']
ASK WHERE { resource:Q937857 property:P425 resource:Q18680800 }
No
action is_in
entity Kuningaspallo
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Kuningaspallo']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Kuningaspallo }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1343966 Q155
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Brazil and do Guillaume Rippert belong to ?
AND((Q155,P530,c(Q15617994)), (Q1343966,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q155
relation P530
action find
entity Q1343966
relation P27
type Q15617994
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q1343966', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q155 property:P530 ?c . resource:Q1343966 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Guillaume Rippert Brazil
action filter_type
action intersection
action find
entity Brazil
relation diplomatic relation
action find
entity Guillaume Rippert
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Guillaume Rippert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Brazil property:diplomatic_relation ?c . resource:Guillaume_Rippert property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q155,P530,c(Q15617994)), (Q1343966,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q155
relation P530
action find
entity Q1343966
relation P27
type Q15617994
[ANSWER] have a diplomatic relationship with Brazil and do Guillaume Rippert belong to
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q1343966', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q155 property:P530 ?c . resource:Q1343966 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
France
France have a diplomatic relationship with Brazil and do Guillaume Rippert belong to
France
action filter_type
action intersection
action find
entity Brazil
relation diplomatic relation
action find
entity Guillaume Rippert
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Guillaume Rippert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Brazil property:diplomatic_relation ?c . resource:Guillaume_Rippert property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q764381 Q1343966
P19 P937
Q56061
USER
Which administrative territories were Guillaume Rippert born at or are the locations where Yvon Bourges worked ?
OR((Q1343966,P19,c(Q56061)), (Q764381,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1343966
relation P19
action find
entity Q764381
relation P937
type Q56061
{'OR': [['Q1343966', 'P19', {'concept': 'Q56061'}], ['Q764381', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1343966 property:P19 ?i } UNION { resource:Q764381 property:P937 ?i } } . ?i rdf:type ontology:Q56061 }
Yvon Bourges Guillaume Rippert
action filter_type
action union
action find
entity Guillaume Rippert
relation place of birth
action find
entity Yvon Bourges
relation work location
type administrative territorial entity
{'OR': [['Guillaume Rippert', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yvon Bourges', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Guillaume_Rippert property:place_of_birth ?i } UNION { resource:Yvon_Bourges property:work_location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q239
SYSTEM
Paris, Brussels
Q90 Q239
OR((Q1343966,P19,c(Q56061)), (Q764381,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1343966
relation P19
action find
entity Q764381
relation P937
type Q56061
Or are the locations where Yvon Bourges worked in [ANSWERS] Guillaume Rippert were born at
{'OR': [['Q1343966', 'P19', {'concept': 'Q56061'}], ['Q764381', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1343966 property:P19 ?i } UNION { resource:Q764381 property:P937 ?i } } . ?i rdf:type ontology:Q56061 }
Paris Brussels
Or are the locations where Yvon Bourges worked in Paris and Brussels Guillaume Rippert were born at
Paris Brussels
action filter_type
action union
action find
entity Guillaume Rippert
relation place of birth
action find
entity Yvon Bourges
relation work location
type administrative territorial entity
{'OR': [['Guillaume Rippert', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yvon Bourges', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Guillaume_Rippert property:place_of_birth ?i } UNION { resource:Yvon_Bourges property:work_location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q239
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
(Q239,P6,c(Q502895))
action filter_type
action find
entity Q239
relation P6
type Q502895
['Q239', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q239 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Brussels
action filter_type
action find
entity Brussels
relation head of government
type common name
['Brussels', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Brussels property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q239
SYSTEM
Did you mean Brussels ?
Q90 Q239
(Q90,P6,c(Q502895)) (Q239,P6,c(Q502895))
[ANSWER]
['Q90', 'P6', {'concept': 'Q502895'}] ['Q239', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q239 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Paris Brussels
Did you mean Brussels ?
Brussels
['Paris', 'head of government', {'concept': 'common name'}] ['Brussels', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Brussels property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q239,P6,c(Q502895))
['Q239', 'P6', {'concept': 'Q502895'}]
['Brussels', 'head of government', {'concept': 'common name'}]
[]
Q2118869
SYSTEM
Yvan Mayeur
Q2118869
(Q239,P6,c(Q502895))
action filter_type
action find
entity Q239
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
['Q239', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q239 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Yvan Mayeur
Yvan Mayeur is that administrative territory the head of goverment of
Yvan Mayeur
action filter_type
action find
entity Brussels
relation head of government
type common name
['Brussels', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Brussels property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]