Simple Question (Direct)
Simple Question
Q755831
P106
Q12737077
USER
What is the job of Anand Sharma ?
(Q755831,P106,c(Q12737077))
action filter_type
action find
entity Q755831
relation P106
type Q12737077
['Q755831', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q755831 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Anand Sharma
action filter_type
action find
entity Anand Sharma
relation occupation
type occupation
['Anand Sharma', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Anand_Sharma property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q755831,P106,c(Q12737077))
action filter_type
action find
entity Q755831
relation P106
type Q12737077
The job of Anand Sharma is a [ANSWER]
['Q755831', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q755831 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
The job of Anand Sharma is a politician
politician
action filter_type
action find
entity Anand Sharma
relation occupation
type occupation
['Anand Sharma', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Anand_Sharma property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q755831
P102
Q7210356
USER
Which political organization is Anand Sharma a member of ?
(Q755831,P102,c(Q7210356))
action filter_type
action find
entity Q755831
relation P102
type Q7210356
['Q755831', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q755831 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Anand Sharma
action filter_type
action find
entity Anand Sharma
relation member of political party
type political organization
['Anand Sharma', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Anand_Sharma property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q10225
SYSTEM
Indian National Congress
Q10225
(Q755831,P102,c(Q7210356))
action filter_type
action find
entity Q755831
relation P102
type Q7210356
Of [ANSWER] is Anand Sharma a member of
['Q755831', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q755831 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Indian National Congress
Of Indian National Congress is Anand Sharma a member of
Indian National Congress
action filter_type
action find
entity Anand Sharma
relation member of political party
type political organization
['Anand Sharma', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Anand_Sharma property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q172301
Q7210356
USER
And how about Márton Gyöngyösi?
(Q172301,P102,c(Q7210356))
action filter_type
action find
entity Q172301
relation P102
type Q7210356
['Q172301', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q172301 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Márton Gyöngyösi
action filter_type
action find
entity Márton Gyöngyösi
relation member of political party
type political organization
['Márton Gyöngyösi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Márton_Gyöngyösi property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q633442
SYSTEM
Jobbik
Q633442
(Q172301,P102,c(Q7210356))
action filter_type
action find
entity Q172301
relation P102
type Q7210356
[ANSWER]
['Q172301', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q172301 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Jobbik
Jobbik
action filter_type
action find
entity Márton Gyöngyösi
relation member of political party
type political organization
['Márton Gyöngyösi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Márton_Gyöngyösi property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172301
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q633442,P39,c(Q12737077))
action filter_type
action find
entity Q172301
relation P39
type Q12737077
['Q633442', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q172301 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Márton Gyöngyösi
action filter_type
action find
entity Márton Gyöngyösi
relation position held
type occupation
['Jobbik', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Márton_Gyöngyösi property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q17590876
SYSTEM
member of the National Assembly of Hungary
Q17590876
(Q633442,P39,c(Q12737077))
action filter_type
action find
entity Q172301
relation P39
type Q12737077
A [ANSWER] was a position held by that person
['Q633442', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q172301 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
member of the National Assembly of Hungary
A member of the National Assembly of Hungary was a position held by that person
member of the National Assembly of Hungary
action filter_type
action find
entity Márton Gyöngyösi
relation position held
type occupation
['Jobbik', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Márton_Gyöngyösi property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172301
P69
Q3918
USER
Which university is the alma mater of Márton Gyöngyösi ?
(Q172301,P69,c(Q3918))
action filter_type
action find
entity Q172301
relation P69
type Q3918
['Q172301', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q172301 property:P69 ?d . ?d rdf:type ontology:Q3918 }
Márton Gyöngyösi
action filter_type
action find
entity Márton Gyöngyösi
relation educated at
type university
['Márton Gyöngyösi', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Márton_Gyöngyösi property:educated_at ?d . ?d rdf:type ontology:university }
[]
university
Q258464
SYSTEM
Trinity College Dublin
Q258464
(Q172301,P69,c(Q3918))
action filter_type
action find
entity Q172301
relation P69
type Q3918
[ANSWER] is the alma mater of Márton Gyöngyösi
['Q172301', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q172301 property:P69 ?d . ?d rdf:type ontology:Q3918 }
Trinity College Dublin
Trinity College Dublin is the alma mater of Márton Gyöngyösi
Trinity College Dublin
action filter_type
action find
entity Márton Gyöngyösi
relation educated at
type university
['Márton Gyöngyösi', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Márton_Gyöngyösi property:educated_at ?d . ?d rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10225
P112
Q502895
USER
Who was the founder of Indian National Congress ?
(Q10225,P112,c(Q502895))
action filter_type
action find
entity Q10225
relation P112
type Q502895
['Q10225', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q10225 property:P112 ?v . ?v rdf:type ontology:Q502895 }
Indian National Congress
action filter_type
action find
entity Indian National Congress
relation founder
type common name
['Indian National Congress', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Indian_National_Congress property:founder ?v . ?v rdf:type ontology:common_name }
[]
common name
Q455438
SYSTEM
Allan Octavian Hume
Q455438
(Q10225,P112,c(Q502895))
action filter_type
action find
entity Q10225
relation P112
type Q502895
The founder of Indian National Congress was Sir [ANSWER]
['Q10225', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q10225 property:P112 ?v . ?v rdf:type ontology:Q502895 }
Allan Octavian Hume
The founder of Indian National Congress was Sir Allan Octavian Hume
Allan Octavian Hume
action filter_type
action find
entity Indian National Congress
relation founder
type common name
['Indian National Congress', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Indian_National_Congress property:founder ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q455438
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q455438)
action filter_type
action find_reverse
entity Q455438
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q455438']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q455438 . ?i rdf:type ontology:Q502895 }
Allan Octavian Hume
action filter_type
action find_reverse
entity Allan Octavian Hume
relation child
type common name
[{'concept': 'common name'}, 'child', 'Allan Octavian Hume']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Allan_Octavian_Hume . ?i rdf:type ontology:common_name }
[]
common name
Q332685
SYSTEM
Joseph Hume
Q332685
(c(Q502895),P40,Q455438)
action filter_type
action find_reverse
entity Q455438
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q455438']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q455438 . ?i rdf:type ontology:Q502895 }
Joseph Hume
Joseph Hume is that one
Joseph Hume
action filter_type
action find_reverse
entity Allan Octavian Hume
relation child
type common name
[{'concept': 'common name'}, 'child', 'Allan Octavian Hume']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Allan_Octavian_Hume . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q332685 Q660427 Q420303
P19
Q56061
USER
Does that person have location of birth at Liskovac and Montrose ?
(Q332685,P19,Q660427) (Q332685,P19,Q420303)
action is_in
entity Q332685
action intersection
action find_reverse
entity Q660427
relation P19
action find_reverse
entity Q420303
relation P19
['Q332685', 'P19', 'Q660427'] ['Q332685', 'P19', 'Q420303']
ASK WHERE { resource:Q332685 property:P19 resource:Q660427 . resource:Q332685 property:P19 resource:Q420303 }
Joseph Hume Liskovac Montrose
action is_in
entity Joseph Hume
action intersection
action find_reverse
entity Liskovac
relation place of birth
action find_reverse
entity Montrose
relation place of birth
['Joseph Hume', 'place of birth', 'Liskovac'] ['Joseph Hume', 'place of birth', 'Montrose']
ASK WHERE { resource:Joseph_Hume property:place_of_birth resource:Liskovac . resource:Joseph_Hume property:place_of_birth resource:Montrose }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q332685,P19,Q660427) (Q332685,P19,Q420303)
action is_in
entity Q332685
action intersection
action find_reverse
entity Q660427
relation P19
action find_reverse
entity Q420303
relation P19
[ANSWER]
['Q332685', 'P19', 'Q660427'] ['Q332685', 'P19', 'Q420303']
ASK WHERE { resource:Q332685 property:P19 resource:Q660427 . resource:Q332685 property:P19 resource:Q420303 }
NO and YES respectively
action is_in
entity Joseph Hume
action intersection
action find_reverse
entity Liskovac
relation place of birth
action find_reverse
entity Montrose
relation place of birth
['Joseph Hume', 'place of birth', 'Liskovac'] ['Joseph Hume', 'place of birth', 'Montrose']
ASK WHERE { resource:Joseph_Hume property:place_of_birth resource:Liskovac . resource:Joseph_Hume property:place_of_birth resource:Montrose }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q258464 Q27 Q51900
P17
Q15617994
USER
Is Trinity College Dublin located in Ireland and Carlantino ?
(Q258464,P17,Q27) (Q258464,P17,Q51900)
action is_in
entity Q258464
action intersection
action find_reverse
entity Q27
relation P17
action find_reverse
entity Q51900
relation P17
['Q258464', 'P17', 'Q27'] ['Q258464', 'P17', 'Q51900']
ASK WHERE { resource:Q258464 property:P17 resource:Q27 . resource:Q258464 property:P17 resource:Q51900 }
Trinity College Dublin Ireland Carlantino
action is_in
entity Trinity College Dublin
action intersection
action find_reverse
entity Ireland
relation country
action find_reverse
entity Carlantino
relation country
['Trinity College Dublin', 'country', 'Ireland'] ['Trinity College Dublin', 'country', 'Carlantino']
ASK WHERE { resource:Trinity_College_Dublin property:country resource:Ireland . resource:Trinity_College_Dublin property:country resource:Carlantino }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q258464,P17,Q27) (Q258464,P17,Q51900)
action is_in
entity Q258464
action intersection
action find_reverse
entity Q27
relation P17
action find_reverse
entity Q51900
relation P17
[ANSWER]
['Q258464', 'P17', 'Q27'] ['Q258464', 'P17', 'Q51900']
ASK WHERE { resource:Q258464 property:P17 resource:Q27 . resource:Q258464 property:P17 resource:Q51900 }
YES and NO respectively
action is_in
entity Trinity College Dublin
action intersection
action find_reverse
entity Ireland
relation country
action find_reverse
entity Carlantino
relation country
['Trinity College Dublin', 'country', 'Ireland'] ['Trinity College Dublin', 'country', 'Carlantino']
ASK WHERE { resource:Trinity_College_Dublin property:country resource:Ireland . resource:Trinity_College_Dublin property:country resource:Carlantino }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q258464
P108
Q502895
USER
Who works for that university ?
action filter_type
action find_reverse
entity Q258464
relation P108
type Q502895
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q258464 . ?n rdf:type ontology:Q502895 }
Trinity College Dublin
action filter_type
action find_reverse
entity Trinity College Dublin
relation employer
type common name
SELECT DISTINCT ?n WHERE { ?n property:employer resource:Trinity_College_Dublin . ?n rdf:type ontology:common_name }
[]
common name
Q18351654 Q17418030 Q6251832
SYSTEM
Mahmoud K. Muftić, Maciej Klimek, John Panaretos
Q8013447 Q2029038 Q17418030 Q24209151 Q21727487 Q502912 Q24088955 Q6251832 Q5262840 Q18351654
action filter_type
action find_reverse
entity Q258464
relation P108
type Q502895
[ANSWERS] work for that university
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q258464 . ?n rdf:type ontology:Q502895 }
William James Craig Thomas Coulter Maciej Klimek Luke A. J. O'Neill Mads Haahr J. B. Bury Samson Shatashvili John Panaretos Dermot P. Kelleher Mahmoud K. Muftić
Mahmoud K. Muftić, Maciej Klimek and John Panaretos work for that university
Mahmoud K. Muftić Maciej Klimek John Panaretos
action filter_type
action find_reverse
entity Trinity College Dublin
relation employer
type common name
SELECT DISTINCT ?n WHERE { ?n property:employer resource:Trinity_College_Dublin . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18351654 Q17418030 Q6251832
P21
Q290
USER
What are the sex of those people ?
(Q18351654,P21,c(Q290)) (Q17418030,P21,c(Q290)) (Q6251832,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q18351654', 'P21', {'concept': 'Q290'}] ['Q17418030', 'P21', {'concept': 'Q290'}] ['Q6251832', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?d property:P21 ?h . VALUES ( ?d ) { ( resource:Q8013447 ) ( resource:Q2029038 ) ( resource:Q17418030 ) } . ?h rdf:type ontology:Q290 }
Mahmoud K. Muftić Maciej Klimek John Panaretos
action filter_type
action find
entity prev_answer
relation gender
type sex
['Mahmoud K. Muftić', 'gender', {'concept': 'sex'}] ['Maciej Klimek', 'gender', {'concept': 'sex'}] ['John Panaretos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?d property:gender ?h . VALUES ( ?d ) { ( resource:William_James_Craig ) ( resource:Thomas_Coulter ) ( resource:Maciej_Klimek ) } . ?h rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q18351654,P21,c(Q290)) (Q17418030,P21,c(Q290)) (Q6251832,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q18351654', 'P21', {'concept': 'Q290'}] ['Q17418030', 'P21', {'concept': 'Q290'}] ['Q6251832', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?d property:P21 ?h . VALUES ( ?d ) { ( resource:Q8013447 ) ( resource:Q2029038 ) ( resource:Q17418030 ) } . ?h rdf:type ontology:Q290 }
male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Mahmoud K. Muftić', 'gender', {'concept': 'sex'}] ['Maciej Klimek', 'gender', {'concept': 'sex'}] ['John Panaretos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?d property:gender ?h . VALUES ( ?d ) { ( resource:William_James_Craig ) ( resource:Thomas_Coulter ) ( resource:Maciej_Klimek ) } . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17418030
P512
Q3412758
USER
What degree or diploma was awarded to Maciej Klimek ?
(Q17418030,P512,c(Q3412758))
action filter_type
action find
entity Q17418030
relation P512
type Q3412758
['Q17418030', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q3412758 . resource:Q17418030 property:P512 ?n }
Maciej Klimek
action filter_type
action find
entity Maciej Klimek
relation academic degree
type qualification
['Maciej Klimek', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:qualification . resource:Maciej_Klimek property:academic_degree ?n }
[]
qualification
Q121594
SYSTEM
professor
Q121594
(Q17418030,P512,c(Q3412758))
action filter_type
action find
entity Q17418030
relation P512
type Q3412758
The [ANSWER] was awarded to Maciej Klimek
['Q17418030', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q3412758 . resource:Q17418030 property:P512 ?n }
professor
The professor was awarded to Maciej Klimek
professor
action filter_type
action find
entity Maciej Klimek
relation academic degree
type qualification
['Maciej Klimek', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:qualification . resource:Maciej_Klimek property:academic_degree ?n }
[]