Simple Question (Direct)
Simple Question
Q15968899
P19
Q20667921
USER
Which french administrative division was Pierre Marie Brignon de Léhen born in ?
(Q15968899,P19,c(Q20667921))
action filter_type
action find
entity Q15968899
relation P19
type Q20667921
['Q15968899', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q15968899 property:P19 ?x }
Pierre Marie Brignon de Léhen
action filter_type
action find
entity Pierre Marie Brignon de Léhen
relation place of birth
type type of french administrative division
['Pierre Marie Brignon de Léhen', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Pierre_Marie_Brignon_de_Léhen property:place_of_birth ?x }
[]
type of french administrative division
Q163108
SYSTEM
Saint-Malo
Q163108
(Q15968899,P19,c(Q20667921))
action filter_type
action find
entity Q15968899
relation P19
type Q20667921
Which french administrative division was Pierre Marie Brignon de Léhen born in
['Q15968899', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q15968899 property:P19 ?x }
Saint-Malo
Which french administrative division was Pierre Marie Brignon de Léhen born in
Saint-Malo
action filter_type
action find
entity Pierre Marie Brignon de Léhen
relation place of birth
type type of french administrative division
['Pierre Marie Brignon de Léhen', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Pierre_Marie_Brignon_de_Léhen property:place_of_birth ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15968899
P21
Q290
USER
What is the sex of that person ?
(Q163108,P21,c(Q290))
action filter_type
action find
entity Q15968899
relation P21
type Q290
['Q163108', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q15968899 property:P21 ?e . ?e rdf:type ontology:Q290 }
Pierre Marie Brignon de Léhen
action filter_type
action find
entity Pierre Marie Brignon de Léhen
relation gender
type sex
['Saint-Malo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Pierre_Marie_Brignon_de_Léhen property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q163108,P21,c(Q290))
action filter_type
action find
entity Q15968899
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q163108', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q15968899 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Pierre Marie Brignon de Léhen
relation gender
type sex
['Saint-Malo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Pierre_Marie_Brignon_de_Léhen property:gender ?e . ?e rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q194735
P21
Q502895
USER
Does John Pegram have the gender as that sex ?
(Q194735,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q194735
relation P21
['Q194735', 'P21', 'Q6581097']
ASK WHERE { resource:Q194735 property:P21 resource:Q6581097 }
male John Pegram
action is_in
entity male
action find
entity John Pegram
relation gender
['John Pegram', 'gender', 'male']
ASK WHERE { resource:John_Pegram property:gender resource:male }
[]
common name
SYSTEM
YES
(Q194735,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q194735
relation P21
[ANSWER]
['Q194735', 'P21', 'Q6581097']
ASK WHERE { resource:Q194735 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity John Pegram
relation gender
['John Pegram', 'gender', 'male']
ASK WHERE { resource:John_Pegram property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163108
P840
Q571
USER
Which book has its narrative set in Saint-Malo ?
(c(Q571),P840,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P840
type Q571
[{'concept': 'Q571'}, 'P840', 'Q163108']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q163108 . ?a rdf:type ontology:Q571 }
Saint-Malo
action filter_type
action find_reverse
entity Saint-Malo
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Saint-Malo']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Saint-Malo . ?a rdf:type ontology:book }
[]
book
Q19136314
SYSTEM
Carnets de voyage
Q19136314
(c(Q571),P840,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P840
type Q571
[ANSWER] has its narrative set in Saint-Malo
[{'concept': 'Q571'}, 'P840', 'Q163108']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q163108 . ?a rdf:type ontology:Q571 }
Carnets de voyage
Carnets de voyage has its narrative set in Saint-Malo
Carnets de voyage
action filter_type
action find_reverse
entity Saint-Malo
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Saint-Malo']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Saint-Malo . ?a rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163108
P937
Q502895
USER
Who have Saint-Malo as their work location ?
(c(Q502895),P937,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q163108']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P937 resource:Q163108 }
Saint-Malo
action filter_type
action find_reverse
entity Saint-Malo
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saint-Malo']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:work_location resource:Saint-Malo }
[]
common name
Q3386630 Q967700
SYSTEM
Pierre Piédru, Guillaume Briçonnet
Q3386630 Q967700
(c(Q502895),P937,Q163108)
action filter_type
action find_reverse
entity Q163108
relation P937
type Q502895
[ANSWERS] have Saint-Malo as their work location
[{'concept': 'Q502895'}, 'P937', 'Q163108']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P937 resource:Q163108 }
Pierre Piédru Guillaume Briçonnet
Pierre Piédru and Guillaume Briçonnet have Saint-Malo as their work location
Pierre Piédru Guillaume Briçonnet
action filter_type
action find_reverse
entity Saint-Malo
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saint-Malo']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:work_location resource:Saint-Malo }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163108
P190
Q56061
USER
Which administrative territory is sister town of Saint-Malo ?
(Q163108,P190,c(Q56061))
action filter_type
action find
entity Q163108
relation P190
type Q56061
['Q163108', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q163108 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Saint-Malo
action filter_type
action find
entity Saint-Malo
relation sister city
type administrative territorial entity
['Saint-Malo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Saint-Malo property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3929
SYSTEM
Port Louis
Q3929
(Q163108,P190,c(Q56061))
action filter_type
action find
entity Q163108
relation P190
type Q56061
[ANSWER] is sister town of Saint-Malo
['Q163108', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q163108 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Port Louis
Port Louis is sister town of Saint-Malo
Port Louis
action filter_type
action find
entity Saint-Malo
relation sister city
type administrative territorial entity
['Saint-Malo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Saint-Malo property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967700
P22
Q502895
USER
Who has Guillaume Briçonnet as a father ?
(c(Q502895),P22,Q967700)
action filter_type
action find_reverse
entity Q967700
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q967700']
SELECT DISTINCT ?j WHERE { ?j property:P22 resource:Q967700 . ?j rdf:type ontology:Q502895 }
Guillaume Briçonnet
action filter_type
action find_reverse
entity Guillaume Briçonnet
relation father
type common name
[{'concept': 'common name'}, 'father', 'Guillaume Briçonnet']
SELECT DISTINCT ?j WHERE { ?j property:father resource:Guillaume_Briçonnet . ?j rdf:type ontology:common_name }
[]
common name
Q337551
SYSTEM
Guillaume Briçonnet
Q337551
(c(Q502895),P22,Q967700)
action filter_type
action find_reverse
entity Q967700
relation P22
type Q502895
[ANSWER] has [ANSWER] as a father
[{'concept': 'Q502895'}, 'P22', 'Q967700']
SELECT DISTINCT ?j WHERE { ?j property:P22 resource:Q967700 . ?j rdf:type ontology:Q502895 }
Guillaume Briçonnet
Guillaume Briçonnet has Guillaume Briçonnet as a father
Guillaume Briçonnet
action filter_type
action find_reverse
entity Guillaume Briçonnet
relation father
type common name
[{'concept': 'common name'}, 'father', 'Guillaume Briçonnet']
SELECT DISTINCT ?j WHERE { ?j property:father resource:Guillaume_Briçonnet . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q337551
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q337551)
action filter_type
action find_reverse
entity Q337551
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q337551']
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q337551 . ?e rdf:type ontology:Q502895 }
Guillaume Briçonnet
action filter_type
action find_reverse
entity Guillaume Briçonnet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Guillaume Briçonnet']
SELECT DISTINCT ?e WHERE { ?e property:child resource:Guillaume_Briçonnet . ?e rdf:type ontology:common_name }
[]
common name
Q967700
SYSTEM
Guillaume Briçonnet
Q967700
(c(Q502895),P40,Q337551)
action filter_type
action find_reverse
entity Q337551
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q337551']
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q337551 . ?e rdf:type ontology:Q502895 }
Guillaume Briçonnet
Guillaume Briçonnet has that one as a child
Guillaume Briçonnet
action filter_type
action find_reverse
entity Guillaume Briçonnet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Guillaume Briçonnet']
SELECT DISTINCT ?e WHERE { ?e property:child resource:Guillaume_Briçonnet . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7139 Q163108
P17
Q15617994
USER
Which administrative territories do Saint-Malo or Büron belong to ?
OR((Q163108,P17,c(Q15617994)), (Q7139,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q163108
relation P17
action find
entity Q7139
relation P17
type Q15617994
{'OR': [['Q163108', 'P17', {'concept': 'Q15617994'}], ['Q7139', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q163108 ) ( resource:Q7139 ) } . ?w property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Büron Saint-Malo
action filter_type
action union
action find
entity Saint-Malo
relation country
action find
entity Büron
relation country
type designation for an administrative territorial entity
{'OR': [['Saint-Malo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Büron', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Saint-Malo ) ( resource:Büron ) } . ?w property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39
SYSTEM
France, Switzerland
Q142 Q39
OR((Q163108,P17,c(Q15617994)), (Q7139,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q163108
relation P17
action find
entity Q7139
relation P17
type Q15617994
Saint-Malo or Büron belong to the [ANSWERS]
{'OR': [['Q163108', 'P17', {'concept': 'Q15617994'}], ['Q7139', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q163108 ) ( resource:Q7139 ) } . ?w property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
France Switzerland
Saint-Malo or Büron belong to the France and Switzerland
France Switzerland
action filter_type
action union
action find
entity Saint-Malo
relation country
action find
entity Büron
relation country
type designation for an administrative territorial entity
{'OR': [['Saint-Malo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Büron', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Saint-Malo ) ( resource:Büron ) } . ?w property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]