Simple Question (Direct)
Simple Question
Q7529262
P97
Q355567
USER
What title was held by Sir Thomas Samwell, 2nd Baronet ?
(Q7529262,P97,c(Q355567))
action filter_type
action find
entity Q7529262
relation P97
type Q355567
['Q7529262', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?c WHERE { resource:Q7529262 property:P97 ?c . ?c rdf:type ontology:Q355567 }
Sir Thomas Samwell, 2nd Baronet
action filter_type
action find
entity Sir Thomas Samwell, 2nd Baronet
relation noble title
type royal or noble rank
['Sir Thomas Samwell, 2nd Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?c WHERE { resource:Sir_Thomas_Samwell,_2nd_Baronet property:noble_title ?c . ?c rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q7529262,P97,c(Q355567))
action filter_type
action find
entity Q7529262
relation P97
type Q355567
A [ANSWER] was held by Sir Thomas Samwell, 2nd [ANSWER]
['Q7529262', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?c WHERE { resource:Q7529262 property:P97 ?c . ?c rdf:type ontology:Q355567 }
baronet
A baronet was held by Sir Thomas Samwell, 2nd Baronet
baronet
action filter_type
action find
entity Sir Thomas Samwell, 2nd Baronet
relation noble title
type royal or noble rank
['Sir Thomas Samwell, 2nd Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?c WHERE { resource:Sir_Thomas_Samwell,_2nd_Baronet property:noble_title ?c . ?c rdf:type ontology:royal_or_noble_rank }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q282019
P39
Q502895
USER
Which person was appointed for the position of that royal or noble rank ?
(c(Q502895),P39,Q282019)
action filter_type
action find_reverse
entity Q282019
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q282019']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q282019 . ?k rdf:type ontology:Q502895 }
baronet
action filter_type
action find_reverse
entity baronet
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'baronet']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:baronet . ?k rdf:type ontology:common_name }
[]
common name
Q7795502
SYSTEM
Thomas de Trafford
Q7795502
(c(Q502895),P39,Q282019)
action filter_type
action find_reverse
entity Q282019
relation P39
type Q502895
[ANSWER] was appointed for the position of that royal or noble rank
[{'concept': 'Q502895'}, 'P39', 'Q282019']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q282019 . ?k rdf:type ontology:Q502895 }
Thomas de Trafford
Thomas de Trafford was appointed for the position of that royal or noble rank
Thomas de Trafford
action filter_type
action find_reverse
entity baronet
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'baronet']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:baronet . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q282019
P361
Q4164871
USER
What is that royal or noble rank a component of ?
(Q7795502,P361,c(Q4164871))
action filter_type
action find
entity Q282019
relation P361
type Q4164871
['Q7795502', 'P361', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q282019 property:P361 ?h . ?h rdf:type ontology:Q4164871 }
baronet
action filter_type
action find
entity baronet
relation part of
type position
['Thomas de Trafford', 'part of', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:baronet property:part_of ?h . ?h rdf:type ontology:position }
[]
position
Q18759100
SYSTEM
baronetcy
Q18759100
(Q7795502,P361,c(Q4164871))
action filter_type
action find
entity Q282019
relation P361
type Q4164871
That royal or noble rank a component of is a [ANSWER]
['Q7795502', 'P361', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q282019 property:P361 ?h . ?h rdf:type ontology:Q4164871 }
baronetcy
That royal or noble rank a component of is a baronetcy
baronetcy
action filter_type
action find
entity baronet
relation part of
type position
['Thomas de Trafford', 'part of', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:baronet property:part_of ?h . ?h rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7529262
P40
Q502895
USER
Which person has Sir Thomas Samwell, 2nd Baronet as an offspring ?
(c(Q502895),P40,Q7529262)
action filter_type
action find_reverse
entity Q7529262
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7529262']
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q7529262 . ?p rdf:type ontology:Q502895 }
Sir Thomas Samwell, 2nd Baronet
action filter_type
action find_reverse
entity Sir Thomas Samwell, 2nd Baronet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sir Thomas Samwell, 2nd Baronet']
SELECT DISTINCT ?p WHERE { ?p property:child resource:Sir_Thomas_Samwell,_2nd_Baronet . ?p rdf:type ontology:common_name }
[]
common name
Q7529260
SYSTEM
Sir Thomas Samwell, 1st Baronet
Q7529260
(c(Q502895),P40,Q7529262)
action filter_type
action find_reverse
entity Q7529262
relation P40
type Q502895
[ANSWER] has Sir Thomas Samwell, 2nd Baronet as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q7529262']
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q7529262 . ?p rdf:type ontology:Q502895 }
Sir Thomas Samwell, 1st Baronet
Sir Thomas Samwell, 1st Baronet has Sir Thomas Samwell, 2nd Baronet as an offspring
Sir Thomas Samwell, 1st Baronet
action filter_type
action find_reverse
entity Sir Thomas Samwell, 2nd Baronet
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sir Thomas Samwell, 2nd Baronet']
SELECT DISTINCT ?p WHERE { ?p property:child resource:Sir_Thomas_Samwell,_2nd_Baronet . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7529260
P27
Q7275
USER
Which state does that person belong to ?
(Q7529260,P27,c(Q7275))
action filter_type
action find
entity Q7529260
relation P27
type Q7275
['Q7529260', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q7529260 property:P27 ?n . ?n rdf:type ontology:Q7275 }
Sir Thomas Samwell, 1st Baronet
action filter_type
action find
entity Sir Thomas Samwell, 1st Baronet
relation country of citizenship
type state
['Sir Thomas Samwell, 1st Baronet', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Sir_Thomas_Samwell,_1st_Baronet property:country_of_citizenship ?n . ?n rdf:type ontology:state }
[]
state
Q179876
SYSTEM
Kingdom of England
Q179876
(Q7529260,P27,c(Q7275))
action filter_type
action find
entity Q7529260
relation P27
type Q7275
That person belongs to [ANSWER]
['Q7529260', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q7529260 property:P27 ?n . ?n rdf:type ontology:Q7275 }
Kingdom of England
That person belongs to Kingdom of England
Kingdom of England
action filter_type
action find
entity Sir Thomas Samwell, 1st Baronet
relation country of citizenship
type state
['Sir Thomas Samwell, 1st Baronet', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Sir_Thomas_Samwell,_1st_Baronet property:country_of_citizenship ?n . ?n rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7529260
P106
Q12737077
USER
What is the profession of Sir Thomas Samwell, 1st Baronet ?
(Q7529260,P106,c(Q12737077))
action filter_type
action find
entity Q7529260
relation P106
type Q12737077
['Q7529260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7529260 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Sir Thomas Samwell, 1st Baronet
action filter_type
action find
entity Sir Thomas Samwell, 1st Baronet
relation occupation
type occupation
['Sir Thomas Samwell, 1st Baronet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Sir_Thomas_Samwell,_1st_Baronet property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7529260,P106,c(Q12737077))
action filter_type
action find
entity Q7529260
relation P106
type Q12737077
The profession of Sir Thomas Samwell , 1st Baronet is a [ANSWER]
['Q7529260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7529260 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
The profession of Sir Thomas Samwell , 1st Baronet is a politician
politician
action filter_type
action find
entity Sir Thomas Samwell, 1st Baronet
relation occupation
type occupation
['Sir Thomas Samwell, 1st Baronet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Sir_Thomas_Samwell,_1st_Baronet property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q7363107
P106
Q502895
USER
Does Romeo Nelson have a job as that occupation ?
(Q7363107,P106,Q82955)
action is_in
entity Q7363107
action find
entity Q82955
relation P106
['Q7363107', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q7363107 }
politician Romeo Nelson
action is_in
entity Romeo Nelson
action find
entity politician
relation occupation
['Romeo Nelson', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Romeo_Nelson }
[]
common name
SYSTEM
NO
(Q7363107,P106,Q82955)
action is_in
entity Q7363107
action find
entity Q82955
relation P106
[ANSWER]
['Q7363107', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q7363107 }
No
action is_in
entity Romeo Nelson
action find
entity politician
relation occupation
['Romeo Nelson', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Romeo_Nelson }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145 Q179876
P27
Q502895
USER
Which people are civilians of Kingdom of England and United Kingdom ?
AND((c(Q502895),P27,Q179876), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q179876
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q179876'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?u WHERE { ?u property:P27 resource:Q179876 . ?u property:P27 resource:Q145 . ?u rdf:type ontology:Q502895 }
United Kingdom Kingdom of England
action filter_type
action intersection
action find_reverse
entity Kingdom of England
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Kingdom of England'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?u WHERE { ?u property:country_of_citizenship resource:Kingdom_of_England . ?u property:country_of_citizenship resource:United_Kingdom . ?u rdf:type ontology:common_name }
[]
common name
Q969874 Q275660 Q3181509 Q204351 Q2428399 Q16239647 Q209502
SYSTEM
Henry Herbert, 2nd Earl of Pembroke, Catherine Montagu, Countess of Salisbury, John Floyer, Elizabeth of Vermandois, Countess of Leicester, Thomas de Clare, Lord of Thomond, Robert Geffrye, Mary Boleyn
Q969874 Q275660 Q3181509 Q204351 Q2428399 Q16239647 Q209502
AND((c(Q502895),P27,Q179876), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q179876
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
[ANSWERS] are civilians of Kingdom of England and United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q179876'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?u WHERE { ?u property:P27 resource:Q179876 . ?u property:P27 resource:Q145 . ?u rdf:type ontology:Q502895 }
Henry Herbert, 2nd Earl of Pembroke Catherine Montagu, Countess of Salisbury John Floyer Elizabeth of Vermandois, Countess of Leicester Thomas de Clare, Lord of Thomond Robert Geffrye Mary Boleyn
Henry Herbert, 2nd Earl of Pembroke, Catherine Montagu, Countess of Salisbury, John Floyer, Elizabeth of Vermandois, Countess of Leicester, Thomas de Clare, Lord of Thomond, Robert Geffrye and Mary Boleyn are civilians of Kingdom of England and United Kingdom
Henry Herbert, 2nd Earl of Pembroke Catherine Montagu, Countess of Salisbury John Floyer Elizabeth of Vermandois, Countess of Leicester Thomas de Clare, Lord of Thomond Robert Geffrye Mary Boleyn
action filter_type
action intersection
action find_reverse
entity Kingdom of England
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Kingdom of England'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?u WHERE { ?u property:country_of_citizenship resource:Kingdom_of_England . ?u property:country_of_citizenship resource:United_Kingdom . ?u rdf:type ontology:common_name }
[]