Simple Question (Direct)
Simple Question
Q5493394
P611
Q1530022
USER
What religion is François Romain affiliated to ?
(Q5493394,P611,c(Q1530022))
action filter_type
action find
entity Q5493394
relation P611
type Q1530022
['Q5493394', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1530022 . resource:Q5493394 property:P611 ?b }
François Romain
action filter_type
action find
entity François Romain
relation religious order
type religious organization
['François Romain', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:religious_organization . resource:François_Romain property:religious_order ?b }
[]
religious organization
Q131479
SYSTEM
Dominican Order
Q131479
(Q5493394,P611,c(Q1530022))
action filter_type
action find
entity Q5493394
relation P611
type Q1530022
François Romain is affiliated with [ANSWER]
['Q5493394', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1530022 . resource:Q5493394 property:P611 ?b }
Dominican Order
François Romain is affiliated with Dominican Order
Dominican Order
action filter_type
action find
entity François Romain
relation religious order
type religious organization
['François Romain', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:religious_organization . resource:François_Romain property:religious_order ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131479
P127
Q44613
USER
Which monastery is under posessision of that religious organization ?
(c(Q44613),P127,Q131479)
action filter_type
action find_reverse
entity Q131479
relation P127
type Q44613
[{'concept': 'Q44613'}, 'P127', 'Q131479']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q131479 . ?f rdf:type ontology:Q44613 }
Dominican Order
action filter_type
action find_reverse
entity Dominican Order
relation owned by
type monastery
[{'concept': 'monastery'}, 'owned by', 'Dominican Order']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Dominican_Order . ?f rdf:type ontology:monastery }
[]
monastery
Q14475457
SYSTEM
Monasterio de Santo Domingo el Real
Q14475457
(c(Q44613),P127,Q131479)
action filter_type
action find_reverse
entity Q131479
relation P127
type Q44613
[ANSWER] is under posessision of that religious organization
[{'concept': 'Q44613'}, 'P127', 'Q131479']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q131479 . ?f rdf:type ontology:Q44613 }
Monasterio de Santo Domingo el Real
Monasterio de Santo Domingo el Real is under posessision of that religious organization
Monasterio de Santo Domingo el Real
action filter_type
action find_reverse
entity Dominican Order
relation owned by
type monastery
[{'concept': 'monastery'}, 'owned by', 'Dominican Order']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Dominican_Order . ?f rdf:type ontology:monastery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131479
P112
Q3914
USER
Which school was established by that religious organization ?
(c(Q3914),P112,Q14475457)
action filter_type
action find_reverse
entity Q131479
relation P112
type Q3914
[{'concept': 'Q3914'}, 'P112', 'Q14475457']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q131479 . ?g rdf:type ontology:Q3914 }
Dominican Order
action filter_type
action find_reverse
entity Dominican Order
relation founder
type school
[{'concept': 'school'}, 'founder', 'Monasterio de Santo Domingo el Real']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Dominican_Order . ?g rdf:type ontology:school }
[]
school
Q21980343
SYSTEM
Dominican Convent Primary School, Bulawayo
Q21980343
(c(Q3914),P112,Q14475457)
action filter_type
action find_reverse
entity Q131479
relation P112
type Q3914
[ANSWER] was established by that religious organization
[{'concept': 'Q3914'}, 'P112', 'Q14475457']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q131479 . ?g rdf:type ontology:Q3914 }
Dominican Convent Primary School, Bulawayo
Dominican Convent Primary School, Bulawayo was established by that religious organization
Dominican Convent Primary School, Bulawayo
action filter_type
action find_reverse
entity Dominican Order
relation founder
type school
[{'concept': 'school'}, 'founder', 'Monasterio de Santo Domingo el Real']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Dominican_Order . ?g rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21980343
P463
Q43229
USER
Which organization had that school as its member ?
(Q21980343,P463,c(Q43229))
action filter_type
action find
entity Q21980343
relation P463
type Q43229
['Q21980343', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . resource:Q21980343 property:P463 ?s }
Dominican Convent Primary School, Bulawayo
action filter_type
action find
entity Dominican Convent Primary School, Bulawayo
relation member of
type organization
['Dominican Convent Primary School, Bulawayo', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . resource:Dominican_Convent_Primary_School,_Bulawayo property:member_of ?s }
[]
organization
Q21973689
SYSTEM
Association of Trust Schools
Q21973689
(Q21980343,P463,c(Q43229))
action filter_type
action find
entity Q21980343
relation P463
type Q43229
[ANSWER] had that school as its member
['Q21980343', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . resource:Q21980343 property:P463 ?s }
Association of Trust Schools
Association of Trust Schools had that school as its member
Association of Trust Schools
action filter_type
action find
entity Dominican Convent Primary School, Bulawayo
relation member of
type organization
['Dominican Convent Primary School, Bulawayo', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . resource:Dominican_Convent_Primary_School,_Bulawayo property:member_of ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q131479
P127
Q41176 Q44613
USER
How many buildings and monasteries are under posessision of Dominican Order ?
(c(Q41176),P127,Q131479) (c(Q44613),P127,Q131479)
action count
action union
action filter_type
action find_reverse
entity Q131479
relation P127
type Q41176
action filter_type
action find_reverse
entity Q131479
relation P127
type Q44613
[{'concept': 'Q41176'}, 'P127', 'Q131479'] [{'concept': 'Q44613'}, 'P127', 'Q131479']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:Q41176 ) ( ontology:Q44613 ) } . ?r rdf:type ?l }
Dominican Order
action count
action union
action filter_type
action find_reverse
entity Dominican Order
relation owned by
type building
action filter_type
action find_reverse
entity Dominican Order
relation owned by
type monastery
[{'concept': 'building'}, 'owned by', 'Dominican Order'] [{'concept': 'monastery'}, 'owned by', 'Dominican Order']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:building ) ( ontology:monastery ) } . ?r rdf:type ?l }
[]
building monastery
SYSTEM
1 buildings and 1 monasteries
Q769411 Q14475457
(c(Q41176),P127,Q131479) (c(Q44613),P127,Q131479)
action count
action union
action filter_type
action find_reverse
entity Q131479
relation P127
type Q41176
action filter_type
action find_reverse
entity Q131479
relation P127
type Q44613
[ANSWER]
[{'concept': 'Q41176'}, 'P127', 'Q131479'] [{'concept': 'Q44613'}, 'P127', 'Q131479']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:Q41176 ) ( ontology:Q44613 ) } . ?r rdf:type ?l }
Sligo Abbey Monasterio de Santo Domingo el Real
1 buildings and 1 monasteries
action count
action union
action filter_type
action find_reverse
entity Dominican Order
relation owned by
type building
action filter_type
action find_reverse
entity Dominican Order
relation owned by
type monastery
[{'concept': 'building'}, 'owned by', 'Dominican Order'] [{'concept': 'monastery'}, 'owned by', 'Dominican Order']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?l ) { ( ontology:building ) ( ontology:monastery ) } . ?r rdf:type ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q131479
P138
Q12280 Q34442
USER
How many bridges and roads come from Dominican Order ?
(c(Q12280),P138,Q131479) (c(Q34442),P138,Q131479)
action count
action union
action filter_type
action find_reverse
entity Q131479
relation P138
type Q12280
action filter_type
action find_reverse
entity Q131479
relation P138
type Q34442
[{'concept': 'Q12280'}, 'P138', 'Q131479'] [{'concept': 'Q34442'}, 'P138', 'Q131479']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { ?l property:P138 resource:Q131479 . ?l rdf:type ontology:Q12280 } UNION { ?l rdf:type ontology:Q34442 . ?l property:P138 resource:Q131479 } }
Dominican Order
action count
action union
action filter_type
action find_reverse
entity Dominican Order
relation named after
type bridge
action filter_type
action find_reverse
entity Dominican Order
relation named after
type road
[{'concept': 'bridge'}, 'named after', 'Dominican Order'] [{'concept': 'road'}, 'named after', 'Dominican Order']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { ?l property:named_after resource:Dominican_Order . ?l rdf:type ontology:bridge } UNION { ?l rdf:type ontology:road . ?l property:named_after resource:Dominican_Order } }
[]
bridge road
SYSTEM
1 bridges and 1 roads
Q880843 Q2545266
(c(Q12280),P138,Q131479) (c(Q34442),P138,Q131479)
action count
action union
action filter_type
action find_reverse
entity Q131479
relation P138
type Q12280
action filter_type
action find_reverse
entity Q131479
relation P138
type Q34442
[ANSWER]
[{'concept': 'Q12280'}, 'P138', 'Q131479'] [{'concept': 'Q34442'}, 'P138', 'Q131479']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { ?l property:P138 resource:Q131479 . ?l rdf:type ontology:Q12280 } UNION { ?l rdf:type ontology:Q34442 . ?l property:P138 resource:Q131479 } }
Blackfriars Bridge Jacobijnenstraat
1 bridges and 1 roads
action count
action union
action filter_type
action find_reverse
entity Dominican Order
relation named after
type bridge
action filter_type
action find_reverse
entity Dominican Order
relation named after
type road
[{'concept': 'bridge'}, 'named after', 'Dominican Order'] [{'concept': 'road'}, 'named after', 'Dominican Order']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { ?l property:named_after resource:Dominican_Order . ?l rdf:type ontology:bridge } UNION { ?l rdf:type ontology:road . ?l property:named_after resource:Dominican_Order } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q131479
P159
Q56061
USER
How many administrative territories are the HQ of Dominican Order ?
(Q131479,P159,c(Q56061))
action count
action filter_type
action find
entity Q131479
relation P159
type Q56061
['Q131479', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q131479 property:P159 ?b . ?b rdf:type ontology:Q56061 }
Dominican Order
action count
action filter_type
action find
entity Dominican Order
relation headquarters location
type administrative territorial entity
['Dominican Order', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Dominican_Order property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q220
(Q131479,P159,c(Q56061))
action count
action filter_type
action find
entity Q131479
relation P159
type Q56061
[ANSWER]
['Q131479', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q131479 property:P159 ?b . ?b rdf:type ontology:Q56061 }
Rome
1
action count
action filter_type
action find
entity Dominican Order
relation headquarters location
type administrative territorial entity
['Dominican Order', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Dominican_Order property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12050492
Q56061
USER
And how about Ryor?
(Q12050492,P159,c(Q56061))
action count
action filter_type
action find
entity Q12050492
relation P159
type Q56061
['Q12050492', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Q12050492 property:P159 ?e . ?e rdf:type ontology:Q56061 }
Ryor
action count
action filter_type
action find
entity Ryor
relation headquarters location
type administrative territorial entity
['Ryor', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Ryor property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q12050492,P159,c(Q56061))
action count
action filter_type
action find
entity Q12050492
relation P159
type Q56061
[ANSWER]
['Q12050492', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Q12050492 property:P159 ?e . ?e rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Ryor
relation headquarters location
type administrative territorial entity
['Ryor', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Ryor property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8052986 Q131479
P112 P161
Q502895
USER
Which people were the founders of Dominican Order or were casted in Yesterday Was Spring ?
OR((Q131479,P112,c(Q502895)), (Q8052986,P161,c(Q502895)))
action filter_type
action union
action find
entity Q131479
relation P112
action find
entity Q8052986
relation P161
type Q502895
{'OR': [['Q131479', 'P112', {'concept': 'Q502895'}], ['Q8052986', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q131479 property:P112 ?h } UNION { resource:Q8052986 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Yesterday Was Spring Dominican Order
action filter_type
action union
action find
entity Dominican Order
relation founder
action find
entity Yesterday Was Spring
relation cast member
type common name
{'OR': [['Dominican Order', 'founder', {'concept': 'common name'}], ['Yesterday Was Spring', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Dominican_Order property:founder ?h } UNION { resource:Yesterday_Was_Spring property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q2882748 Q6052341 Q7351683 Q5661179 Q8198353 Q14549813 Q2880299 Q921676 Q44091
SYSTEM
Duilio Marzio, Orestes Soriani, Roberto Escalada, Aida Villadeamigo, Analía Gadé, Armando de Vicente, Tomás Simari, Emilio Vieyra, Saint Dominic
Q2882748 Q6052341 Q7351683 Q5661179 Q8198353 Q14549813 Q2880299 Q921676 Q44091
OR((Q131479,P112,c(Q502895)), (Q8052986,P161,c(Q502895)))
action filter_type
action union
action find
entity Q131479
relation P112
action find
entity Q8052986
relation P161
type Q502895
[ANSWERS] were the founders of Dominican Order or were casted in Yesterday Was Spring
{'OR': [['Q131479', 'P112', {'concept': 'Q502895'}], ['Q8052986', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q131479 property:P112 ?h } UNION { resource:Q8052986 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Duilio Marzio Orestes Soriani Roberto Escalada Aida Villadeamigo Analía Gadé Armando de Vicente Tomás Simari Emilio Vieyra Saint Dominic
Duilio Marzio, Orestes Soriani, Roberto Escalada, Aida Villadeamigo, Analía Gadé, Armando de Vicente, Tomás Simari, Emilio Vieyra and Saint Dominic were the founders of Dominican Order or were casted in Yesterday Was Spring
Duilio Marzio Orestes Soriani Roberto Escalada Aida Villadeamigo Analía Gadé Armando de Vicente Tomás Simari Emilio Vieyra Saint Dominic
action filter_type
action union
action find
entity Dominican Order
relation founder
action find
entity Yesterday Was Spring
relation cast member
type common name
{'OR': [['Dominican Order', 'founder', {'concept': 'common name'}], ['Yesterday Was Spring', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Dominican_Order property:founder ?h } UNION { resource:Yesterday_Was_Spring property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]