Simple Question (Direct)
Simple Question
Q529336
P21
Q290
USER
What is the sex of Christy Brown ?
(Q529336,P21,c(Q290))
action filter_type
action find
entity Q529336
relation P21
type Q290
['Q529336', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q529336 property:P21 ?f . ?f rdf:type ontology:Q290 }
Christy Brown
action filter_type
action find
entity Christy Brown
relation gender
type sex
['Christy Brown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Christy_Brown property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q529336,P21,c(Q290))
action filter_type
action find
entity Q529336
relation P21
type Q290
The sex of Christy Brown is the [ANSWER]
['Q529336', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q529336 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Christy Brown is the male
male
action filter_type
action find
entity Christy Brown
relation gender
type sex
['Christy Brown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Christy_Brown property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q529336
P50
Q2342494
USER
What is the collectable written by Christy Brown ?
(c(Q2342494),P50,Q529336)
action filter_type
action find_reverse
entity Q529336
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q529336']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q529336 . ?a rdf:type ontology:Q2342494 }
Christy Brown
action filter_type
action find_reverse
entity Christy Brown
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Christy Brown']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Christy_Brown . ?a rdf:type ontology:collectable }
[]
collectable
Q12811892
SYSTEM
My Left Foot
Q12811892
(c(Q2342494),P50,Q529336)
action filter_type
action find_reverse
entity Q529336
relation P50
type Q2342494
The collectable written by Christy Brown is [ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q529336']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q529336 . ?a rdf:type ontology:Q2342494 }
My Left Foot
The collectable written by Christy Brown is My Left Foot
My Left Foot
action filter_type
action find_reverse
entity Christy Brown
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Christy Brown']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Christy_Brown . ?a rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q529336
P119
Q43229
USER
Where was Christy Brown buried ?
(Q529336,P119,c(Q43229))
action filter_type
action find
entity Q529336
relation P119
type Q43229
['Q529336', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q529336 property:P119 ?x . ?x rdf:type ontology:Q43229 }
Christy Brown
action filter_type
action find
entity Christy Brown
relation place of burial
type organization
['Christy Brown', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Christy_Brown property:place_of_burial ?x . ?x rdf:type ontology:organization }
[]
organization
Q1263215
SYSTEM
Glasnevin Cemetery
Q1263215
(Q529336,P119,c(Q43229))
action filter_type
action find
entity Q529336
relation P119
type Q43229
Christy Brown was buried in [ANSWER]
['Q529336', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q529336 property:P119 ?x . ?x rdf:type ontology:Q43229 }
Glasnevin Cemetery
Christy Brown was buried in Glasnevin Cemetery
Glasnevin Cemetery
action filter_type
action find
entity Christy Brown
relation place of burial
type organization
['Christy Brown', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Christy_Brown property:place_of_burial ?x . ?x rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4441623
Q43229
USER
And what about Stanisław Stempowski?
(Q4441623,P119,c(Q43229))
action filter_type
action find
entity Q4441623
relation P119
type Q43229
['Q4441623', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . resource:Q4441623 property:P119 ?s }
Stanisław Stempowski
action filter_type
action find
entity Stanisław Stempowski
relation place of burial
type organization
['Stanisław Stempowski', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . resource:Stanisław_Stempowski property:place_of_burial ?s }
[]
organization
Q168886
SYSTEM
Powązki Cemetery
Q168886
(Q4441623,P119,c(Q43229))
action filter_type
action find
entity Q4441623
relation P119
type Q43229
[ANSWER]
['Q4441623', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . resource:Q4441623 property:P119 ?s }
Powązki Cemetery
Powązki Cemetery
action filter_type
action find
entity Stanisław Stempowski
relation place of burial
type organization
['Stanisław Stempowski', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . resource:Stanisław_Stempowski property:place_of_burial ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q168886 Q36 Q4921397
P17
Q15617994
USER
Is that organization located in Poland and Black Oak Mine Unified School District ?
(Q168886,P17,Q36) (Q168886,P17,Q4921397)
action is_in
entity Q168886
action intersection
action find_reverse
entity Q36
relation P17
action find_reverse
entity Q4921397
relation P17
['Q168886', 'P17', 'Q36'] ['Q168886', 'P17', 'Q4921397']
ASK WHERE { resource:Q168886 property:P17 resource:Q4921397 . resource:Q168886 property:P17 resource:Q36 }
Powązki Cemetery Poland Black Oak Mine Unified School District
action is_in
entity Powązki Cemetery
action intersection
action find_reverse
entity Poland
relation country
action find_reverse
entity Black Oak Mine Unified School District
relation country
['Powązki Cemetery', 'country', 'Poland'] ['Powązki Cemetery', 'country', 'Black Oak Mine Unified School District']
ASK WHERE { resource:Powązki_Cemetery property:country resource:Black_Oak_Mine_Unified_School_District . resource:Powązki_Cemetery property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q168886,P17,Q36) (Q168886,P17,Q4921397)
action is_in
entity Q168886
action intersection
action find_reverse
entity Q36
relation P17
action find_reverse
entity Q4921397
relation P17
[ANSWER]
['Q168886', 'P17', 'Q36'] ['Q168886', 'P17', 'Q4921397']
ASK WHERE { resource:Q168886 property:P17 resource:Q4921397 . resource:Q168886 property:P17 resource:Q36 }
YES and NO respectively
action is_in
entity Powązki Cemetery
action intersection
action find_reverse
entity Poland
relation country
action find_reverse
entity Black Oak Mine Unified School District
relation country
['Powązki Cemetery', 'country', 'Poland'] ['Powązki Cemetery', 'country', 'Black Oak Mine Unified School District']
ASK WHERE { resource:Powązki_Cemetery property:country resource:Black_Oak_Mine_Unified_School_District . resource:Powązki_Cemetery property:country resource:Poland }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q102771 Q1263215
P47 P17
Q15617994
USER
Which administrative territories are Glasnevin Cemetery situated in or share border with Gazzola ?
OR((Q1263215,P17,c(Q15617994)), (Q102771,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1263215
relation P17
action find
entity Q102771
relation P47
type Q15617994
{'OR': [['Q1263215', 'P17', {'concept': 'Q15617994'}], ['Q102771', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1263215 property:P17 ?t } UNION { resource:Q102771 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Gazzola Glasnevin Cemetery
action filter_type
action union
action find
entity Glasnevin Cemetery
relation country
action find
entity Gazzola
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Glasnevin Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gazzola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Glasnevin_Cemetery property:country ?t } UNION { resource:Gazzola property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q102781 Q102925 Q27 Q102991 Q102558 Q102958 Q102776
SYSTEM
Gragnano Trebbiense, Piozzano, Ireland, Travo, Agazzano, Rivergaro, Gossolengo
Q102781 Q102925 Q27 Q102991 Q102558 Q102958 Q102776
OR((Q1263215,P17,c(Q15617994)), (Q102771,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1263215
relation P17
action find
entity Q102771
relation P47
type Q15617994
[ANSWERS] are Glasnevin Cemetery situated in or share border with Gazzola
{'OR': [['Q1263215', 'P17', {'concept': 'Q15617994'}], ['Q102771', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1263215 property:P17 ?t } UNION { resource:Q102771 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Gragnano Trebbiense Piozzano Ireland Travo Agazzano Rivergaro Gossolengo
Gragnano Trebbiense, Piozzano, Ireland, Travo, Agazzano, Rivergaro and Gossolengo are Glasnevin Cemetery situated in or share border with Gazzola
Gragnano Trebbiense Piozzano Ireland Travo Agazzano Rivergaro Gossolengo
action filter_type
action union
action find
entity Glasnevin Cemetery
relation country
action find
entity Gazzola
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Glasnevin Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gazzola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Glasnevin_Cemetery property:country ?t } UNION { resource:Gazzola property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q102781 Q102925 Q27 Q102991 Q102558 Q102958 Q102776
P17
Q15617994
USER
Which administrative territories do those ones belong to ?
(Q102781,P17,c(Q15617994)) (Q102925,P17,c(Q15617994)) (Q27,P17,c(Q15617994)) (Q102991,P17,c(Q15617994)) (Q102558,P17,c(Q15617994)) (Q102958,P17,c(Q15617994)) (Q102776,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q102781', 'P17', {'concept': 'Q15617994'}] ['Q102925', 'P17', {'concept': 'Q15617994'}] ['Q27', 'P17', {'concept': 'Q15617994'}] ['Q102991', 'P17', {'concept': 'Q15617994'}] ['Q102558', 'P17', {'concept': 'Q15617994'}] ['Q102958', 'P17', {'concept': 'Q15617994'}] ['Q102776', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?m ) { ( resource:Q102781 ) ( resource:Q102925 ) ( resource:Q27 ) } . ?m property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Gragnano Trebbiense Piozzano Ireland Travo Agazzano Rivergaro Gossolengo
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Gragnano Trebbiense', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Piozzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ireland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Travo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Agazzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rivergaro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gossolengo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?m ) { ( resource:Gragnano_Trebbiense ) ( resource:Piozzano ) ( resource:Ireland ) } . ?m property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q27 Q38 Q38 Q38 Q38
(Q102781,P17,c(Q15617994)) (Q102925,P17,c(Q15617994)) (Q27,P17,c(Q15617994)) (Q102991,P17,c(Q15617994)) (Q102558,P17,c(Q15617994)) (Q102958,P17,c(Q15617994)) (Q102776,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones belong to [ANSWER], [ANSWER] and [ANSWER]
['Q102781', 'P17', {'concept': 'Q15617994'}] ['Q102925', 'P17', {'concept': 'Q15617994'}] ['Q27', 'P17', {'concept': 'Q15617994'}] ['Q102991', 'P17', {'concept': 'Q15617994'}] ['Q102558', 'P17', {'concept': 'Q15617994'}] ['Q102958', 'P17', {'concept': 'Q15617994'}] ['Q102776', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?m ) { ( resource:Q102781 ) ( resource:Q102925 ) ( resource:Q27 ) } . ?m property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Italy Italy Ireland Italy Italy Italy Italy
Those ones belong to Italy, Italy and Italy
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Gragnano Trebbiense', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Piozzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ireland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Travo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Agazzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rivergaro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gossolengo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?m ) { ( resource:Gragnano_Trebbiense ) ( resource:Piozzano ) ( resource:Ireland ) } . ?m property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P1001
Q23009459
USER
Which connect presides the jurisdiction over Ireland ?
(c(Q23009459),P1001,Q27)
action filter_type
action find_reverse
entity Q27
relation P1001
type Q23009459
[{'concept': 'Q23009459'}, 'P1001', 'Q27']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q27 . ?n rdf:type ontology:Q23009459 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation applies to jurisdiction
type connect
[{'concept': 'connect'}, 'applies to jurisdiction', 'Ireland']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Ireland . ?n rdf:type ontology:connect }
[]
connect
Q7139027
SYSTEM
Parliamentary Secretaries of the 7th Dáil
Q7139027
(c(Q23009459),P1001,Q27)
action filter_type
action find_reverse
entity Q27
relation P1001
type Q23009459
The [ANSWER] presides the jurisdiction over Ireland
[{'concept': 'Q23009459'}, 'P1001', 'Q27']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q27 . ?n rdf:type ontology:Q23009459 }
Parliamentary Secretaries of the 7th Dáil
The Parliamentary Secretaries of the 7th Dáil presides the jurisdiction over Ireland
Parliamentary Secretaries of the 7th Dáil
action filter_type
action find_reverse
entity Ireland
relation applies to jurisdiction
type connect
[{'concept': 'connect'}, 'applies to jurisdiction', 'Ireland']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Ireland . ?n rdf:type ontology:connect }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P180
Q2668072
USER
Which collection demonstrates Ireland ?
(c(Q2668072),P180,Q27)
action filter_type
action find_reverse
entity Q27
relation P180
type Q2668072
[{'concept': 'Q2668072'}, 'P180', 'Q27']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q27 . ?w rdf:type ontology:Q2668072 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation depicts
type collection
[{'concept': 'collection'}, 'depicts', 'Ireland']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Ireland . ?w rdf:type ontology:collection }
[]
collection
Q23017663
SYSTEM
NLW Drawing Volume 405
Q23017663
(c(Q2668072),P180,Q27)
action filter_type
action find_reverse
entity Q27
relation P180
type Q2668072
[ANSWER] demonstrates Ireland
[{'concept': 'Q2668072'}, 'P180', 'Q27']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q27 . ?w rdf:type ontology:Q2668072 }
NLW Drawing Volume 405
NLW Drawing Volume 405 demonstrates Ireland
NLW Drawing Volume 405
action filter_type
action find_reverse
entity Ireland
relation depicts
type collection
[{'concept': 'collection'}, 'depicts', 'Ireland']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Ireland . ?w rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23017663
P170
Q502895
USER
Who is the creator of that collection ?
(Q23017663,P170,c(Q502895))
action filter_type
action find
entity Q23017663
relation P170
type Q502895
['Q23017663', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q23017663 property:P170 ?y . ?y rdf:type ontology:Q502895 }
NLW Drawing Volume 405
action filter_type
action find
entity NLW Drawing Volume 405
relation creator
type common name
['NLW Drawing Volume 405', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:NLW_Drawing_Volume_405 property:creator ?y . ?y rdf:type ontology:common_name }
[]
common name
Q23017646
SYSTEM
Alphonse Dousseau
Q23017646
(Q23017663,P170,c(Q502895))
action filter_type
action find
entity Q23017663
relation P170
type Q502895
The creator of that collection is Monsieur [ANSWER]
['Q23017663', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q23017663 property:P170 ?y . ?y rdf:type ontology:Q502895 }
Alphonse Dousseau
The creator of that collection is Monsieur Alphonse Dousseau
Alphonse Dousseau
action filter_type
action find
entity NLW Drawing Volume 405
relation creator
type common name
['NLW Drawing Volume 405', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:NLW_Drawing_Volume_405 property:creator ?y . ?y rdf:type ontology:common_name }
[]