Simple Question (Direct)
Simple Question
Q2055804
P26
Q502895
USER
Which person is the spouse of Jan I van Brederode ?
(Q2055804,P26,c(Q502895))
action filter_type
action find
entity Q2055804
relation P26
type Q502895
['Q2055804', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2055804 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Jan I van Brederode
action filter_type
action find
entity Jan I van Brederode
relation spouse
type common name
['Jan I van Brederode', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Jan_I_van_Brederode property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q19368981
SYSTEM
Johanna van Abcoude
Q19368981
(Q2055804,P26,c(Q502895))
action filter_type
action find
entity Q2055804
relation P26
type Q502895
[ANSWER] is the spouse of Jan I van Brederode
['Q2055804', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2055804 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Johanna van Abcoude
Johanna van Abcoude is the spouse of Jan I van Brederode
Johanna van Abcoude
action filter_type
action find
entity Jan I van Brederode
relation spouse
type common name
['Jan I van Brederode', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Jan_I_van_Brederode property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19368981
P20
Q13220204
USER
Which administrative country subdivision is the place of death of that person ?
(Q19368981,P20,c(Q13220204))
action filter_type
action find
entity Q19368981
relation P20
type Q13220204
['Q19368981', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q19368981 property:P20 ?u . ?u rdf:type ontology:Q13220204 }
Johanna van Abcoude
action filter_type
action find
entity Johanna van Abcoude
relation place of death
type second-level administrative country subdivision
['Johanna van Abcoude', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Johanna_van_Abcoude property:place_of_death ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q10053
SYSTEM
Wijk bij Duurstede
Q10053
(Q19368981,P20,c(Q13220204))
action filter_type
action find
entity Q19368981
relation P20
type Q13220204
[ANSWER] is the place of death of that person
['Q19368981', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q19368981 property:P20 ?u . ?u rdf:type ontology:Q13220204 }
Wijk bij Duurstede
Wijk bij Duurstede is the place of death of that person
Wijk bij Duurstede
action filter_type
action find
entity Johanna van Abcoude
relation place of death
type second-level administrative country subdivision
['Johanna van Abcoude', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Johanna_van_Abcoude property:place_of_death ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19368981
P21
Q290
USER
Which sex does Johanna van Abcoude belong to ?
(Q19368981,P21,c(Q290))
action filter_type
action find
entity Q19368981
relation P21
type Q290
['Q19368981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q19368981 property:P21 ?m . ?m rdf:type ontology:Q290 }
Johanna van Abcoude
action filter_type
action find
entity Johanna van Abcoude
relation gender
type sex
['Johanna van Abcoude', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Johanna_van_Abcoude property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q19368981,P21,c(Q290))
action filter_type
action find
entity Q19368981
relation P21
type Q290
Johan na van Abcoude belongs to [ANSWER]
['Q19368981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q19368981 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
Johan na van Abcoude belongs to female
female
action filter_type
action find
entity Johanna van Abcoude
relation gender
type sex
['Johanna van Abcoude', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Johanna_van_Abcoude property:gender ?m . ?m rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19368981
P26 P21
Q502895
USER
Which people are married to Johanna van Abcoude and have the gender as male ?
AND((c(Q502895),P26,Q19368981), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19368981
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q19368981'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P26 resource:Q19368981 . ?z rdf:type ontology:Q502895 }
male Johanna van Abcoude
action filter_type
action intersection
action find_reverse
entity Johanna van Abcoude
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Johanna van Abcoude'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:spouse resource:Johanna_van_Abcoude . ?z rdf:type ontology:common_name }
[]
common name
Q2055804
SYSTEM
Jan I van Brederode
Q2055804
AND((c(Q502895),P26,Q19368981), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19368981
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is married to Johanna van Abcoude and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q19368981'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P26 resource:Q19368981 . ?z rdf:type ontology:Q502895 }
Jan I van Brederode
Jan I van Brederode is married to Johanna van Abcoude and have the gender as male
Jan I van Brederode
action filter_type
action intersection
action find_reverse
entity Johanna van Abcoude
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Johanna van Abcoude'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:spouse resource:Johanna_van_Abcoude . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q316530 Q19368981
P26
Q502895
USER
Which people have Johanna van Abcoude or Stephen Bocskay as spouse ?
OR((c(Q502895),P26,Q19368981), (c(Q502895),P26,Q316530))
action filter_type
action union
action find_reverse
entity Q19368981
relation P26
action find_reverse
entity Q316530
relation P26
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q19368981'], [{'concept': 'Q502895'}, 'P26', 'Q316530']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { VALUES ( ?v ) { ( resource:Q19368981 ) ( resource:Q316530 ) } . ?p property:P26 ?v } }
Stephen Bocskay Johanna van Abcoude
action filter_type
action union
action find_reverse
entity Johanna van Abcoude
relation spouse
action find_reverse
entity Stephen Bocskay
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Johanna van Abcoude'], [{'concept': 'common name'}, 'spouse', 'Stephen Bocskay']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { VALUES ( ?v ) { ( resource:Johanna_van_Abcoude ) ( resource:Stephen_Bocskay ) } . ?p property:spouse ?v } }
[]
common name
Q17518882 Q2055804
SYSTEM
Kata Hagymássy, Jan I van Brederode
Q17518882 Q2055804
OR((c(Q502895),P26,Q19368981), (c(Q502895),P26,Q316530))
action filter_type
action union
action find_reverse
entity Q19368981
relation P26
action find_reverse
entity Q316530
relation P26
type Q502895
[ANSWERS] have Johanna van Abcoude or Stephen Bocskay as spouse
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q19368981'], [{'concept': 'Q502895'}, 'P26', 'Q316530']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { VALUES ( ?v ) { ( resource:Q19368981 ) ( resource:Q316530 ) } . ?p property:P26 ?v } }
Kata Hagymássy Jan I van Brederode
Kata Hagymássy and Jan I van Brederode have Johanna van Abcoude or Stephen Bocskay as spouse
Kata Hagymássy Jan I van Brederode
action filter_type
action union
action find_reverse
entity Johanna van Abcoude
relation spouse
action find_reverse
entity Stephen Bocskay
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Johanna van Abcoude'], [{'concept': 'common name'}, 'spouse', 'Stephen Bocskay']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { VALUES ( ?v ) { ( resource:Johanna_van_Abcoude ) ( resource:Stephen_Bocskay ) } . ?p property:spouse ?v } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17518882
P119
Q56061
USER
Where is the place of burial for that person located ?
(Q17518882,P119,c(Q56061))
action filter_type
action find
entity Q17518882
relation P119
type Q56061
['Q17518882', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q17518882 property:P119 ?f }
Kata Hagymássy
action filter_type
action find
entity Kata Hagymássy
relation place of burial
type administrative territorial entity
['Kata Hagymássy', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Kata_Hagymássy property:place_of_burial ?f }
[]
administrative territorial entity
Clarification for simple ques.
Q17518882
SYSTEM
Did you mean Kata Hagymássy ?
Q17518882 Q2055804
(Q17518882,P119,c(Q56061)) (Q2055804,P119,c(Q56061))
[ANSWER]
['Q17518882', 'P119', {'concept': 'Q56061'}] ['Q2055804', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q17518882 property:P119 ?f }
Kata Hagymássy Jan I van Brederode
Did you mean Kata Hagymássy ?
Kata Hagymássy
['Kata Hagymássy', 'place of burial', {'concept': 'administrative territorial entity'}] ['Jan I van Brederode', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Kata_Hagymássy property:place_of_burial ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17518882,P119,c(Q56061))
['Q17518882', 'P119', {'concept': 'Q56061'}]
['Kata Hagymássy', 'place of burial', {'concept': 'administrative territorial entity'}]
[]
Q1093233
SYSTEM
Tileagd
Q1093233
(Q17518882,P119,c(Q56061))
action filter_type
action find
entity Q17518882
relation P119
type Q56061
[ANSWER] is the place of burial for that person located
['Q17518882', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q17518882 property:P119 ?f }
Tileagd
Tileagd is the place of burial for that person located
Tileagd
action filter_type
action find
entity Kata Hagymássy
relation place of burial
type administrative territorial entity
['Kata Hagymássy', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Kata_Hagymássy property:place_of_burial ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17518882
P119
Q56061
USER
Where is the place of burial for Kata Hagymássy located ?
(Q17518882,P119,c(Q56061))
action filter_type
action find
entity Q17518882
relation P119
type Q56061
['Q17518882', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q17518882 property:P119 ?k . ?k rdf:type ontology:Q56061 }
Kata Hagymássy
action filter_type
action find
entity Kata Hagymássy
relation place of burial
type administrative territorial entity
['Kata Hagymássy', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Kata_Hagymássy property:place_of_burial ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1093233
SYSTEM
Tileagd
Q1093233
(Q17518882,P119,c(Q56061))
action filter_type
action find
entity Q17518882
relation P119
type Q56061
The place of burial for Kata Hagymássy is located in [ANSWER]
['Q17518882', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q17518882 property:P119 ?k . ?k rdf:type ontology:Q56061 }
Tileagd
The place of burial for Kata Hagymássy is located in Tileagd
Tileagd
action filter_type
action find
entity Kata Hagymássy
relation place of burial
type administrative territorial entity
['Kata Hagymássy', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Kata_Hagymássy property:place_of_burial ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q232041
Q56061
USER
And how about Sarah Baartman?
(Q232041,P119,c(Q56061))
action filter_type
action find
entity Q232041
relation P119
type Q56061
['Q232041', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q232041 property:P119 ?m . ?m rdf:type ontology:Q56061 }
Sarah Baartman
action filter_type
action find
entity Sarah Baartman
relation place of burial
type administrative territorial entity
['Sarah Baartman', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sarah_Baartman property:place_of_burial ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3643291
SYSTEM
Hankey
Q3643291
(Q232041,P119,c(Q56061))
action filter_type
action find
entity Q232041
relation P119
type Q56061
[ANSWER]
['Q232041', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q232041 property:P119 ?m . ?m rdf:type ontology:Q56061 }
Hankey
Hankey
action filter_type
action find
entity Sarah Baartman
relation place of burial
type administrative territorial entity
['Sarah Baartman', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sarah_Baartman property:place_of_burial ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3643291 Q258 Q6259
P17
Q15617994
USER
Is Hankey located in South Africa and Pavia ?
(Q3643291,P17,Q258) (Q3643291,P17,Q6259)
action is_in
entity Q3643291
action intersection
action find_reverse
entity Q258
relation P17
action find_reverse
entity Q6259
relation P17
['Q3643291', 'P17', 'Q258'] ['Q3643291', 'P17', 'Q6259']
ASK WHERE { resource:Q3643291 property:P17 resource:Q258 . resource:Q3643291 property:P17 resource:Q6259 }
Hankey South Africa Pavia
action is_in
entity Hankey
action intersection
action find_reverse
entity South Africa
relation country
action find_reverse
entity Pavia
relation country
['Hankey', 'country', 'South Africa'] ['Hankey', 'country', 'Pavia']
ASK WHERE { resource:Hankey property:country resource:South_Africa . resource:Hankey property:country resource:Pavia }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3643291,P17,Q258) (Q3643291,P17,Q6259)
action is_in
entity Q3643291
action intersection
action find_reverse
entity Q258
relation P17
action find_reverse
entity Q6259
relation P17
[ANSWER]
['Q3643291', 'P17', 'Q258'] ['Q3643291', 'P17', 'Q6259']
ASK WHERE { resource:Q3643291 property:P17 resource:Q258 . resource:Q3643291 property:P17 resource:Q6259 }
YES and NO respectively
action is_in
entity Hankey
action intersection
action find_reverse
entity South Africa
relation country
action find_reverse
entity Pavia
relation country
['Hankey', 'country', 'South Africa'] ['Hankey', 'country', 'Pavia']
ASK WHERE { resource:Hankey property:country resource:South_Africa . resource:Hankey property:country resource:Pavia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10053
P159
Q874405
USER
Which social group has headquarters located at Wijk bij Duurstede ?
(c(Q874405),P159,Q10053)
action filter_type
action find_reverse
entity Q10053
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q10053']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q10053 . ?p rdf:type ontology:Q874405 }
Wijk bij Duurstede
action filter_type
action find_reverse
entity Wijk bij Duurstede
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Wijk bij Duurstede']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:Wijk_bij_Duurstede . ?p rdf:type ontology:social_group }
[]
social group
Q24283576
SYSTEM
procurios
Q24283576
(c(Q874405),P159,Q10053)
action filter_type
action find_reverse
entity Q10053
relation P159
type Q874405
[ANSWER] has headquarters located at Wijk bij Duurstede
[{'concept': 'Q874405'}, 'P159', 'Q10053']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q10053 . ?p rdf:type ontology:Q874405 }
procurios
Procurios has headquarters located at Wijk bij Duurstede
procurios
action filter_type
action find_reverse
entity Wijk bij Duurstede
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Wijk bij Duurstede']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:Wijk_bij_Duurstede . ?p rdf:type ontology:social_group }
[]