Simple Question (Direct)
Simple Question
Q7576155
P7
Q502895
USER
Who is the brother of Spencer Perceval ?
(Q7576155,P7,c(Q502895))
action filter_type
action find
entity Q7576155
relation P7
type Q502895
['Q7576155', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q7576155 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Spencer Perceval
action filter_type
action find
entity Spencer Perceval
relation brother
type common name
['Spencer Perceval', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Spencer_Perceval property:brother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q2153404
SYSTEM
John Thomas Perceval
Q2153404
(Q7576155,P7,c(Q502895))
action filter_type
action find
entity Q7576155
relation P7
type Q502895
The brother of Spencer Perceval is named [ANSWER]
['Q7576155', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q7576155 property:P7 ?h . ?h rdf:type ontology:Q502895 }
John Thomas Perceval
The brother of Spencer Perceval is named John Thomas Perceval
John Thomas Perceval
action filter_type
action find
entity Spencer Perceval
relation brother
type common name
['Spencer Perceval', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Spencer_Perceval property:brother ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2153404
P241
Q781132
USER
Which military branch contains that person as its part ?
(Q2153404,P241,c(Q781132))
action filter_type
action find
entity Q2153404
relation P241
type Q781132
['Q2153404', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q781132 . resource:Q2153404 property:P241 ?r }
John Thomas Perceval
action filter_type
action find
entity John Thomas Perceval
relation military branch
type military branch
['John Thomas Perceval', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:military_branch . resource:John_Thomas_Perceval property:military_branch ?r }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q2153404,P241,c(Q781132))
action filter_type
action find
entity Q2153404
relation P241
type Q781132
[ANSWER] contains that person as its part
['Q2153404', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q781132 . resource:Q2153404 property:P241 ?r }
British Army
British Army contains that person as its part
British Army
action filter_type
action find
entity John Thomas Perceval
relation military branch
type military branch
['John Thomas Perceval', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:military_branch . resource:John_Thomas_Perceval property:military_branch ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2153404
P69
Q3914
USER
Which school is John Thomas Perceval an alumni of ?
(Q2153404,P69,c(Q3914))
action filter_type
action find
entity Q2153404
relation P69
type Q3914
['Q2153404', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q2153404 property:P69 ?t . ?t rdf:type ontology:Q3914 }
John Thomas Perceval
action filter_type
action find
entity John Thomas Perceval
relation educated at
type school
['John Thomas Perceval', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:John_Thomas_Perceval property:educated_at ?t . ?t rdf:type ontology:school }
[]
school
Q1247373
SYSTEM
Harrow School
Q1247373
(Q2153404,P69,c(Q3914))
action filter_type
action find
entity Q2153404
relation P69
type Q3914
[ANSWER] is John Thomas Perceval an alumni of
['Q2153404', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q2153404 property:P69 ?t . ?t rdf:type ontology:Q3914 }
Harrow School
Harrow School is John Thomas Perceval an alumni of
Harrow School
action filter_type
action find
entity John Thomas Perceval
relation educated at
type school
['John Thomas Perceval', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:John_Thomas_Perceval property:educated_at ?t . ?t rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1247373
P19
Q502895
USER
Which person was born at that school ?
(c(Q502895),P19,Q1247373)
action filter_type
action find_reverse
entity Q1247373
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1247373']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q1247373 . ?c rdf:type ontology:Q502895 }
Harrow School
action filter_type
action find_reverse
entity Harrow School
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Harrow School']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Harrow_School . ?c rdf:type ontology:common_name }
[]
common name
Q6264881
SYSTEM
John Wordsworth
Q6264881
(c(Q502895),P19,Q1247373)
action filter_type
action find_reverse
entity Q1247373
relation P19
type Q502895
It [ANSWER] was born at that school
[{'concept': 'Q502895'}, 'P19', 'Q1247373']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q1247373 . ?c rdf:type ontology:Q502895 }
John Wordsworth
It John Wordsworth was born at that school
John Wordsworth
action filter_type
action find_reverse
entity Harrow School
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Harrow School']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Harrow_School . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1247373
P19 P21
Q502895
USER
Which people have location of birth at Harrow School and have male as the sex ?
AND((c(Q502895),P19,Q1247373), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1247373
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1247373'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q1247373 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male Harrow School
action filter_type
action intersection
action find_reverse
entity Harrow School
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Harrow School'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Harrow_School . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q6264881
SYSTEM
John Wordsworth
Q6264881
AND((c(Q502895),P19,Q1247373), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1247373
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have location of birth at Harrow School and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1247373'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q1247373 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
John Wordsworth
John Wordsworth have location of birth at Harrow School and have male as the sex
John Wordsworth
action filter_type
action intersection
action find_reverse
entity Harrow School
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Harrow School'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Harrow_School . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6264881 Q11539283 Q5113463
P22
Q502895
USER
Does that person have Toshiyuki Mori and Christopher Wordsworth as father ?
(Q6264881,P22,Q11539283) (Q6264881,P22,Q5113463)
action is_in
entity Q6264881
action intersection
action find_reverse
entity Q11539283
relation P22
action find_reverse
entity Q5113463
relation P22
['Q6264881', 'P22', 'Q11539283'] ['Q6264881', 'P22', 'Q5113463']
ASK WHERE { resource:Q6264881 property:P22 resource:Q11539283 . resource:Q6264881 property:P22 resource:Q5113463 }
John Wordsworth Toshiyuki Mori Christopher Wordsworth
action is_in
entity John Wordsworth
action intersection
action find_reverse
entity Toshiyuki Mori
relation father
action find_reverse
entity Christopher Wordsworth
relation father
['John Wordsworth', 'father', 'Toshiyuki Mori'] ['John Wordsworth', 'father', 'Christopher Wordsworth']
ASK WHERE { resource:John_Wordsworth property:father resource:Toshiyuki_Mori . resource:John_Wordsworth property:father resource:Christopher_Wordsworth }
[]
common name
SYSTEM
NO and YES respectively
(Q6264881,P22,Q11539283) (Q6264881,P22,Q5113463)
action is_in
entity Q6264881
action intersection
action find_reverse
entity Q11539283
relation P22
action find_reverse
entity Q5113463
relation P22
[ANSWER]
['Q6264881', 'P22', 'Q11539283'] ['Q6264881', 'P22', 'Q5113463']
ASK WHERE { resource:Q6264881 property:P22 resource:Q11539283 . resource:Q6264881 property:P22 resource:Q5113463 }
NO and YES respectively
action is_in
entity John Wordsworth
action intersection
action find_reverse
entity Toshiyuki Mori
relation father
action find_reverse
entity Christopher Wordsworth
relation father
['John Wordsworth', 'father', 'Toshiyuki Mori'] ['John Wordsworth', 'father', 'Christopher Wordsworth']
ASK WHERE { resource:John_Wordsworth property:father resource:Toshiyuki_Mori . resource:John_Wordsworth property:father resource:Christopher_Wordsworth }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7576155 Q196992 Q26691983
P106
Q12737077
USER
Does Spencer Perceval have the profession as Kit manager and mayor of Jurisdicción de Lara ?
(Q7576155,P106,Q196992) (Q7576155,P106,Q26691983)
action is_in
entity Q7576155
action intersection
action find_reverse
entity Q196992
relation P106
action find_reverse
entity Q26691983
relation P106
['Q7576155', 'P106', 'Q196992'] ['Q7576155', 'P106', 'Q26691983']
ASK WHERE { resource:Q7576155 property:P106 resource:Q196992 . resource:Q7576155 property:P106 resource:Q26691983 }
Spencer Perceval Kit manager mayor of Jurisdicción de Lara
action is_in
entity Spencer Perceval
action intersection
action find_reverse
entity Kit manager
relation occupation
action find_reverse
entity mayor of Jurisdicción de Lara
relation occupation
['Spencer Perceval', 'occupation', 'Kit manager'] ['Spencer Perceval', 'occupation', 'mayor of Jurisdicción de Lara']
ASK WHERE { resource:Spencer_Perceval property:occupation resource:Kit_manager . resource:Spencer_Perceval property:occupation resource:mayor_of_Jurisdicción_de_Lara }
[]
occupation
SYSTEM
NO
(Q7576155,P106,Q196992) (Q7576155,P106,Q26691983)
action is_in
entity Q7576155
action intersection
action find_reverse
entity Q196992
relation P106
action find_reverse
entity Q26691983
relation P106
[ANSWER]
['Q7576155', 'P106', 'Q196992'] ['Q7576155', 'P106', 'Q26691983']
ASK WHERE { resource:Q7576155 property:P106 resource:Q196992 . resource:Q7576155 property:P106 resource:Q26691983 }
No
action is_in
entity Spencer Perceval
action intersection
action find_reverse
entity Kit manager
relation occupation
action find_reverse
entity mayor of Jurisdicción de Lara
relation occupation
['Spencer Perceval', 'occupation', 'Kit manager'] ['Spencer Perceval', 'occupation', 'mayor of Jurisdicción de Lara']
ASK WHERE { resource:Spencer_Perceval property:occupation resource:Kit_manager . resource:Spencer_Perceval property:occupation resource:mayor_of_Jurisdicción_de_Lara }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1247373 Q145
P17
Q15617994
USER
Is Harrow School present in United Kingdom ?
(Q1247373,P17,Q145)
action is_in
entity Q145
action find
entity Q1247373
relation P17
['Q1247373', 'P17', 'Q145']
ASK WHERE { resource:Q1247373 property:P17 resource:Q145 }
Harrow School United Kingdom
action is_in
entity United Kingdom
action find
entity Harrow School
relation country
['Harrow School', 'country', 'United Kingdom']
ASK WHERE { resource:Harrow_School property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1247373,P17,Q145)
action is_in
entity Q145
action find
entity Q1247373
relation P17
[ANSWER]
['Q1247373', 'P17', 'Q145']
ASK WHERE { resource:Q1247373 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Harrow School
relation country
['Harrow School', 'country', 'United Kingdom']
ASK WHERE { resource:Harrow_School property:country resource:United_Kingdom }
[]