Simple Question (Direct)
Simple Question
Q19856704
P40
Q502895
USER
Which people are a successors of Katherine Kane ?
(Q19856704,P40,c(Q502895))
action filter_type
action find
entity Q19856704
relation P40
type Q502895
['Q19856704', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q19856704 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Katherine Kane
action filter_type
action find
entity Katherine Kane
relation child
type common name
['Katherine Kane', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Katherine_Kane property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q16059323 Q17479270
SYSTEM
Henry Coey Kane, Robert Romney Kane
Q16059323 Q17479270
(Q19856704,P40,c(Q502895))
action filter_type
action find
entity Q19856704
relation P40
type Q502895
[ANSWERS] are a successors of Katherine Kane
['Q19856704', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q19856704 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Henry Coey Kane Robert Romney Kane
Henry Coey Kane and Robert Romney Kane are a successors of Katherine Kane
Henry Coey Kane Robert Romney Kane
action filter_type
action find
entity Katherine Kane
relation child
type common name
['Katherine Kane', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Katherine_Kane property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16059323 Q17479270
P21
Q290
USER
What are the sex of Henry Coey Kane and Robert Romney Kane ?
(Q16059323,P21,c(Q290)) (Q17479270,P21,c(Q290))
action union
action filter_type
action find
entity Q16059323
relation P21
type Q290
action filter_type
action find
entity Q17479270
relation P21
type Q290
['Q16059323', 'P21', {'concept': 'Q290'}] ['Q17479270', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Q16059323 ) ( resource:Q17479270 ) } . ?k property:P21 ?u }
Henry Coey Kane Robert Romney Kane
action union
action filter_type
action find
entity Henry Coey Kane
relation gender
type sex
action filter_type
action find
entity Robert Romney Kane
relation gender
type sex
['Henry Coey Kane', 'gender', {'concept': 'sex'}] ['Robert Romney Kane', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Henry_Coey_Kane ) ( resource:Robert_Romney_Kane ) } . ?k property:gender ?u }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q16059323,P21,c(Q290)) (Q17479270,P21,c(Q290))
action union
action filter_type
action find
entity Q16059323
relation P21
type Q290
action filter_type
action find
entity Q17479270
relation P21
type Q290
The sex of Henry Coey Kane and Robert Romney Kane are both [ANSWER] and [ANSWER]
['Q16059323', 'P21', {'concept': 'Q290'}] ['Q17479270', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Q16059323 ) ( resource:Q17479270 ) } . ?k property:P21 ?u }
male male
The sex of Henry Coey Kane and Robert Romney Kane are both male and male
male male
action union
action filter_type
action find
entity Henry Coey Kane
relation gender
type sex
action filter_type
action find
entity Robert Romney Kane
relation gender
type sex
['Henry Coey Kane', 'gender', {'concept': 'sex'}] ['Robert Romney Kane', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Henry_Coey_Kane ) ( resource:Robert_Romney_Kane ) } . ?k property:gender ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19856704
P20
Q515
USER
Where did Katherine Kane die ?
(Q19856704,P20,c(Q515))
action filter_type
action find
entity Q19856704
relation P20
type Q515
['Q19856704', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q19856704 property:P20 ?d . ?d rdf:type ontology:Q515 }
Katherine Kane
action filter_type
action find
entity Katherine Kane
relation place of death
type city
['Katherine Kane', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Katherine_Kane property:place_of_death ?d . ?d rdf:type ontology:city }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q19856704,P20,c(Q515))
action filter_type
action find
entity Q19856704
relation P20
type Q515
Katherine Kane died in [ANSWER]
['Q19856704', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q19856704 property:P20 ?d . ?d rdf:type ontology:Q515 }
Dublin
Katherine Kane died in Dublin
Dublin
action filter_type
action find
entity Katherine Kane
relation place of death
type city
['Katherine Kane', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Katherine_Kane property:place_of_death ?d . ?d rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1761
P190
Q56061
USER
Which administrative territories are partner towns of that city ?
(Q1761,P190,c(Q56061))
action filter_type
action find
entity Q1761
relation P190
type Q56061
['Q1761', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1761 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Dublin
action filter_type
action find
entity Dublin
relation sister city
type administrative territorial entity
['Dublin', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Dublin property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q1781 Q216
SYSTEM
Milan, Budapest, Vilnius
Q216 Q490 Q186569 Q956 Q1780 Q1781 Q23564 Q1492 Q16553 Q24826
(Q1761,P190,c(Q56061))
action filter_type
action find
entity Q1761
relation P190
type Q56061
[ANSWERS] are partner towns of that city
['Q1761', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1761 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Vilnius Milan Yambol Beijing Bratislava Budapest Podgorica Barcelona San Jose Liverpool
Milan, Budapest and Vilnius are partner towns of that city
Milan Budapest Vilnius
action filter_type
action find
entity Dublin
relation sister city
type administrative territorial entity
['Dublin', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Dublin property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q17479270
P21 P7
Q502895
USER
Which people have Robert Romney Kane as their brother and have the gender as male ?
AND((c(Q502895),P7,Q17479270), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17479270
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q17479270'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P21 resource:Q6581097 . ?d property:P7 resource:Q17479270 . ?d rdf:type ontology:Q502895 }
male Robert Romney Kane
action filter_type
action intersection
action find_reverse
entity Robert Romney Kane
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Robert Romney Kane'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:gender resource:male . ?d property:brother resource:Robert_Romney_Kane . ?d rdf:type ontology:common_name }
[]
common name
Q16059323
SYSTEM
Henry Coey Kane
Q16059323
AND((c(Q502895),P7,Q17479270), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17479270
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Robert Romney Kane as their brother and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q17479270'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P21 resource:Q6581097 . ?d property:P7 resource:Q17479270 . ?d rdf:type ontology:Q502895 }
Henry Coey Kane
Henry Coey Kane have Robert Romney Kane as their brother and have the gender as male
Henry Coey Kane
action filter_type
action intersection
action find_reverse
entity Robert Romney Kane
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Robert Romney Kane'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:gender resource:male . ?d property:brother resource:Robert_Romney_Kane . ?d rdf:type ontology:common_name }
[]