Simple Question (Direct)
Simple Question
Q6849488
P641
Q349
USER
What did Mikhail Alfimov participate in ?
(Q6849488,P641,c(Q349))
action filter_type
action find
entity Q6849488
relation P641
type Q349
['Q6849488', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q6849488 property:P641 ?p }
Mikhail Alfimov
action filter_type
action find
entity Mikhail Alfimov
relation sport
type sport
['Mikhail Alfimov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Mikhail_Alfimov property:sport ?p }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6849488,P641,c(Q349))
action filter_type
action find
entity Q6849488
relation P641
type Q349
Mikhail Alfimov participated in [ANSWER]
['Q6849488', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q6849488 property:P641 ?p }
association football
Mikhail Alfimov participated in association football
association football
action filter_type
action find
entity Mikhail Alfimov
relation sport
type sport
['Mikhail Alfimov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Mikhail_Alfimov property:sport ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?f }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?f }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?f }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P172
Q502895
USER
Who have that territory as his/her race ?
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?d WHERE { ?d property:P172 resource:Q21 . ?d rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?d WHERE { ?d property:ethnic_group resource:England . ?d rdf:type ontology:common_name }
[]
common name
Q21151748 Q7341902 Q5730252
SYSTEM
Rosemary Stjernstedt, Robert Barrington-Ward, Henry William Wilberforce
Q6829817 Q7683973 Q4767120 Q5424077 Q5107509 Q7519325 Q8006577 Q7341902 Q5730252 Q21151748
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[ANSWERS] have that territory as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?d WHERE { ?d property:P172 resource:Q21 . ?d rdf:type ontology:Q502895 }
Michael Derrick Tanya Beckett Anna Jones F. W. Micklethwaite Chris Morris Simon McCoy William Carpenter Robert Barrington-Ward Henry William Wilberforce Rosemary Stjernstedt
Rosemary Stjernstedt, Robert Barrington-Ward and Henry William Wilberforce have that territory as his/her race
Rosemary Stjernstedt Robert Barrington-Ward Henry William Wilberforce
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?d WHERE { ?d property:ethnic_group resource:England . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21151748 Q7341902 Q5730252
P21
Q290
USER
What are the sex of Rosemary Stjernstedt, Robert Barrington-Ward and Henry William Wilberforce ?
(Q21151748,P21,c(Q290)) (Q7341902,P21,c(Q290)) (Q5730252,P21,c(Q290))
action union
action filter_type
action find
entity Q21151748
relation P21
type Q290
action filter_type
action find
entity Q7341902
relation P21
type Q290
action filter_type
action find
entity Q5730252
relation P21
type Q290
['Q21151748', 'P21', {'concept': 'Q290'}] ['Q7341902', 'P21', {'concept': 'Q290'}] ['Q5730252', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { { resource:Q21151748 property:P21 ?x . ?x rdf:type ontology:Q290 } UNION { ?x rdf:type ontology:Q290 . resource:Q7341902 property:P21 ?x } }
Rosemary Stjernstedt Robert Barrington-Ward Henry William Wilberforce
action union
action filter_type
action find
entity Rosemary Stjernstedt
relation gender
type sex
action filter_type
action find
entity Robert Barrington-Ward
relation gender
type sex
action filter_type
action find
entity Henry William Wilberforce
relation gender
type sex
['Rosemary Stjernstedt', 'gender', {'concept': 'sex'}] ['Robert Barrington-Ward', 'gender', {'concept': 'sex'}] ['Henry William Wilberforce', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { { resource:Rosemary_Stjernstedt property:gender ?x . ?x rdf:type ontology:sex } UNION { ?x rdf:type ontology:sex . resource:Robert_Barrington-Ward property:gender ?x } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q21151748,P21,c(Q290)) (Q7341902,P21,c(Q290)) (Q5730252,P21,c(Q290))
action union
action filter_type
action find
entity Q21151748
relation P21
type Q290
action filter_type
action find
entity Q7341902
relation P21
type Q290
action filter_type
action find
entity Q5730252
relation P21
type Q290
[ANSWERS]
['Q21151748', 'P21', {'concept': 'Q290'}] ['Q7341902', 'P21', {'concept': 'Q290'}] ['Q5730252', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { { resource:Q21151748 property:P21 ?x . ?x rdf:type ontology:Q290 } UNION { ?x rdf:type ontology:Q290 . resource:Q7341902 property:P21 ?x } }
female male male
The sex of Rosemary Stjernstedt , Robert Barrington-Ward and Henry William Wilberforce are the female, male and male
female male male
action union
action filter_type
action find
entity Rosemary Stjernstedt
relation gender
type sex
action filter_type
action find
entity Robert Barrington-Ward
relation gender
type sex
action filter_type
action find
entity Henry William Wilberforce
relation gender
type sex
['Rosemary Stjernstedt', 'gender', {'concept': 'sex'}] ['Robert Barrington-Ward', 'gender', {'concept': 'sex'}] ['Henry William Wilberforce', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { { resource:Rosemary_Stjernstedt property:gender ?x . ?x rdf:type ontology:sex } UNION { ?x rdf:type ontology:sex . resource:Robert_Barrington-Ward property:gender ?x } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has the profession of that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?o WHERE { ?o property:P106 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?o WHERE { ?o property:occupation resource:male . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6581097
SYSTEM
Did you mean male ?
Q6581072 Q6581097 Q6581097
(c(Q502895),P106,Q6581072) (c(Q502895),P106,Q6581097) (c(Q502895),P106,Q6581097)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q6581072'] [{'concept': 'Q502895'}, 'P106', 'Q6581097'] [{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?o WHERE { ?o property:P106 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
female male male
Did you mean male ?
male
[{'concept': 'common name'}, 'occupation', 'female'] [{'concept': 'common name'}, 'occupation', 'male'] [{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?o WHERE { ?o property:occupation resource:male . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P106,Q6581097)
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
[{'concept': 'common name'}, 'occupation', 'male']
[]
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has the profession of that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?o WHERE { ?o property:P106 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has the profession of that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?o WHERE { ?o property:occupation resource:male . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5730252
P69
Q1244442
USER
Which school building is the alma mater of Henry William Wilberforce ?
(Q5730252,P69,c(Q1244442))
action filter_type
action find
entity Q5730252
relation P69
type Q1244442
['Q5730252', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?x WHERE { resource:Q5730252 property:P69 ?x . ?x rdf:type ontology:Q1244442 }
Henry William Wilberforce
action filter_type
action find
entity Henry William Wilberforce
relation educated at
type school building
['Henry William Wilberforce', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?x WHERE { resource:Henry_William_Wilberforce property:educated_at ?x . ?x rdf:type ontology:school_building }
[]
school building
Q81170
SYSTEM
Oriel College
Q81170
(Q5730252,P69,c(Q1244442))
action filter_type
action find
entity Q5730252
relation P69
type Q1244442
[ANSWER] is the alma mater of Henry William Wilberforce
['Q5730252', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?x WHERE { resource:Q5730252 property:P69 ?x . ?x rdf:type ontology:Q1244442 }
Oriel College
Oriel College is the alma mater of Henry William Wilberforce
Oriel College
action filter_type
action find
entity Henry William Wilberforce
relation educated at
type school building
['Henry William Wilberforce', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?x WHERE { resource:Henry_William_Wilberforce property:educated_at ?x . ?x rdf:type ontology:school_building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5730252
P921
Q191067
USER
Which article has Henry William Wilberforce as its main topic ?
(c(Q191067),P921,Q5730252)
action filter_type
action find_reverse
entity Q5730252
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q5730252']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q5730252 . ?e rdf:type ontology:Q191067 }
Henry William Wilberforce
action filter_type
action find_reverse
entity Henry William Wilberforce
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Henry William Wilberforce']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Henry_William_Wilberforce . ?e rdf:type ontology:article }
[]
article
Q19115328
SYSTEM
Wilberforce, Henry William (DNB00)
Q19115328
(c(Q191067),P921,Q5730252)
action filter_type
action find_reverse
entity Q5730252
relation P921
type Q191067
[ANSWER] has Henry William Wilberforce as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q5730252']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q5730252 . ?e rdf:type ontology:Q191067 }
Wilberforce, Henry William (DNB00)
Wilberforce, Henry William (DNB00) has Henry William Wilberforce as its main topic
Wilberforce, Henry William (DNB00)
action filter_type
action find_reverse
entity Henry William Wilberforce
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Henry William Wilberforce']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Henry_William_Wilberforce . ?e rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P1001
Q532
USER
Which village has control over the jurisdiction of England ?
(c(Q532),P1001,Q21)
action filter_type
action find_reverse
entity Q21
relation P1001
type Q532
[{'concept': 'Q532'}, 'P1001', 'Q21']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q532 . ?u property:P1001 resource:Q21 }
England
action filter_type
action find_reverse
entity England
relation applies to jurisdiction
type village
[{'concept': 'village'}, 'applies to jurisdiction', 'England']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:village . ?u property:applies_to_jurisdiction resource:England }
[]
village
Q7830212
SYSTEM
township
Q7830212
(c(Q532),P1001,Q21)
action filter_type
action find_reverse
entity Q21
relation P1001
type Q532
In [ANSWER] has control over the jurisdiction of England
[{'concept': 'Q532'}, 'P1001', 'Q21']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q532 . ?u property:P1001 resource:Q21 }
township
In township has control over the jurisdiction of England
township
action filter_type
action find_reverse
entity England
relation applies to jurisdiction
type village
[{'concept': 'village'}, 'applies to jurisdiction', 'England']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:village . ?u property:applies_to_jurisdiction resource:England }
[]