Simple Question (Direct)
Simple Question
Q381815
P27
Q7275
USER
Which state does Edmund the Martyr belong to ?
(Q381815,P27,c(Q7275))
action filter_type
action find
entity Q381815
relation P27
type Q7275
['Q381815', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q381815 property:P27 ?u . ?u rdf:type ontology:Q7275 }
Edmund the Martyr
action filter_type
action find
entity Edmund the Martyr
relation country of citizenship
type state
['Edmund the Martyr', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Edmund_the_Martyr property:country_of_citizenship ?u . ?u rdf:type ontology:state }
[]
state
Q837998
SYSTEM
Kingdom of East Anglia
Q837998
(Q381815,P27,c(Q7275))
action filter_type
action find
entity Q381815
relation P27
type Q7275
Edmund the Martyr belongs to [ANSWER]
['Q381815', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q381815 property:P27 ?u . ?u rdf:type ontology:Q7275 }
Kingdom of East Anglia
Edmund the Martyr belongs to Kingdom of East Anglia
Kingdom of East Anglia
action filter_type
action find
entity Edmund the Martyr
relation country of citizenship
type state
['Edmund the Martyr', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Edmund_the_Martyr property:country_of_citizenship ?u . ?u rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q381815
P825
Q44539
USER
Which temple is devoted to Edmund the Martyr ?
(c(Q44539),P825,Q381815)
action filter_type
action find_reverse
entity Q381815
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q381815']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q44539 . ?z property:P825 resource:Q381815 }
Edmund the Martyr
action filter_type
action find_reverse
entity Edmund the Martyr
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Edmund the Martyr']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:temple . ?z property:dedicated_to resource:Edmund_the_Martyr }
[]
temple
Q17744179
SYSTEM
St. Edmunds King & Martyr Parish Church, New Road
Q17744179
(c(Q44539),P825,Q381815)
action filter_type
action find_reverse
entity Q381815
relation P825
type Q44539
[ANSWER] is devoted to Edmund the Martyr
[{'concept': 'Q44539'}, 'P825', 'Q381815']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q44539 . ?z property:P825 resource:Q381815 }
St. Edmunds King & Martyr Parish Church, New Road
St. Edmunds King & Martyr Parish Church, New Road is devoted to Edmund the Martyr
St. Edmunds King & Martyr Parish Church, New Road
action filter_type
action find_reverse
entity Edmund the Martyr
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Edmund the Martyr']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:temple . ?z property:dedicated_to resource:Edmund_the_Martyr }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17744179
P1435
Q41176
USER
Which building heritage status does that temple have ?
(Q17744179,P1435,c(Q41176))
action filter_type
action find
entity Q17744179
relation P1435
type Q41176
['Q17744179', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?q WHERE { resource:Q17744179 property:P1435 ?q . ?q rdf:type ontology:Q41176 }
St. Edmunds King & Martyr Parish Church, New Road
action filter_type
action find
entity St. Edmunds King & Martyr Parish Church, New Road
relation heritage status
type building
['St. Edmunds King & Martyr Parish Church, New Road', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?q WHERE { resource:St._Edmunds_King_&_Martyr_Parish_Church,_New_Road property:heritage_status ?q . ?q rdf:type ontology:building }
[]
building
Q15700831
SYSTEM
Grade II* listed building
Q15700831
(Q17744179,P1435,c(Q41176))
action filter_type
action find
entity Q17744179
relation P1435
type Q41176
That temple has a [ANSWER]
['Q17744179', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?q WHERE { resource:Q17744179 property:P1435 ?q . ?q rdf:type ontology:Q41176 }
Grade II* listed building
That temple has a Grade II* listed building
Grade II* listed building
action filter_type
action find
entity St. Edmunds King & Martyr Parish Church, New Road
relation heritage status
type building
['St. Edmunds King & Martyr Parish Church, New Road', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?q WHERE { resource:St._Edmunds_King_&_Martyr_Parish_Church,_New_Road property:heritage_status ?q . ?q rdf:type ontology:building }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P186
Q8063 Q79529 Q41176
USER
Which buildings use max number of rocks and chemical substances as material for their making ?
(c(Q41176),P186,c(Q8063)|c(Q79529))
action argmax
action union
action find_tuple_counts
relation P186
type Q41176
type Q8063
action find_tuple_counts
relation P186
type Q41176
type Q79529
[{'concept': 'Q41176'}, 'P186', [{'concept': 'Q8063'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?g WHERE { ?j rdf:type ?x . VALUES ( ?x ) { ( ontology:Q8063 ) ( ontology:Q79529 ) } } GROUP BY ?g } . { SELECT DISTINCT ( MAX ( ?u ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { { ?h property:P186 ?a . ?h rdf:type ontology:Q41176 . ?a rdf:type ontology:Q8063 } UNION { ?h property:P186 ?a . ?h rdf:type ontology:Q41176 . ?a rdf:type ontology:Q79529 } } GROUP BY ?h } } }
action argmax
action union
action find_tuple_counts
relation material used
type building
type rock
action find_tuple_counts
relation material used
type building
type chemical substance
[{'concept': 'building'}, 'material used', [{'concept': 'rock'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?g WHERE { ?j rdf:type ?x . VALUES ( ?x ) { ( ontology:rock ) ( ontology:chemical_substance ) } } GROUP BY ?g } . { SELECT DISTINCT ( MAX ( ?u ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { { ?h property:material_used ?a . ?h rdf:type ontology:building . ?a rdf:type ontology:rock } UNION { ?h property:material_used ?a . ?h rdf:type ontology:building . ?a rdf:type ontology:chemical_substance } } GROUP BY ?h } } }
[]
rock chemical substance building
Q20202955 Q3348560
SYSTEM
Mellish Road Methodist Chapel, Obelisk
Q20202955 Q3348560
(c(Q41176),P186,c(Q8063)|c(Q79529))
action argmax
action union
action find_tuple_counts
relation P186
type Q41176
type Q8063
action find_tuple_counts
relation P186
type Q41176
type Q79529
[ANSWERS] use max number of rocks and chemical substances as material for their making
[{'concept': 'Q41176'}, 'P186', [{'concept': 'Q8063'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?g WHERE { ?j rdf:type ?x . VALUES ( ?x ) { ( ontology:Q8063 ) ( ontology:Q79529 ) } } GROUP BY ?g } . { SELECT DISTINCT ( MAX ( ?u ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { { ?h property:P186 ?a . ?h rdf:type ontology:Q41176 . ?a rdf:type ontology:Q8063 } UNION { ?h property:P186 ?a . ?h rdf:type ontology:Q41176 . ?a rdf:type ontology:Q79529 } } GROUP BY ?h } } }
Mellish Road Methodist Chapel Obelisk
Mellish Road Methodist Chapel and Obelisk use max number of rocks and chemical substances as material for their making
Mellish Road Methodist Chapel Obelisk
action argmax
action union
action find_tuple_counts
relation material used
type building
type rock
action find_tuple_counts
relation material used
type building
type chemical substance
[{'concept': 'building'}, 'material used', [{'concept': 'rock'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?g WHERE { ?j rdf:type ?x . VALUES ( ?x ) { ( ontology:rock ) ( ontology:chemical_substance ) } } GROUP BY ?g } . { SELECT DISTINCT ( MAX ( ?u ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { { ?h property:material_used ?a . ?h rdf:type ontology:building . ?a rdf:type ontology:rock } UNION { ?h property:material_used ?a . ?h rdf:type ontology:building . ?a rdf:type ontology:chemical_substance } } GROUP BY ?h } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20202955 Q3348560
P186
Q8063
USER
Which rocks are used to make those buildings ?
(Q20202955,P186,c(Q8063)) (Q3348560,P186,c(Q8063))
action filter_type
action find
entity prev_answer
relation P186
type Q8063
['Q20202955', 'P186', {'concept': 'Q8063'}] ['Q3348560', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?j WHERE { ?n property:P186 ?j . VALUES ( ?n ) { ( resource:Q20202955 ) ( resource:Q3348560 ) } . ?j rdf:type ontology:Q8063 }
Mellish Road Methodist Chapel Obelisk
action filter_type
action find
entity prev_answer
relation material used
type rock
['Mellish Road Methodist Chapel', 'material used', {'concept': 'rock'}] ['Obelisk', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?j WHERE { ?n property:material_used ?j . VALUES ( ?n ) { ( resource:Mellish_Road_Methodist_Chapel ) ( resource:Obelisk ) } . ?j rdf:type ontology:rock }
[]
rock
Q41177 Q23757 Q207079
SYSTEM
granite, limestone, slate
Q23757 Q207079 Q41177 Q207079
(Q20202955,P186,c(Q8063)) (Q3348560,P186,c(Q8063))
action filter_type
action find
entity prev_answer
relation P186
type Q8063
[ANSWERS] are used to make those buildings
['Q20202955', 'P186', {'concept': 'Q8063'}] ['Q3348560', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?j WHERE { ?n property:P186 ?j . VALUES ( ?n ) { ( resource:Q20202955 ) ( resource:Q3348560 ) } . ?j rdf:type ontology:Q8063 }
limestone slate granite slate
Granite, limestone and slate are used to make those buildings
granite limestone slate
action filter_type
action find
entity prev_answer
relation material used
type rock
['Mellish Road Methodist Chapel', 'material used', {'concept': 'rock'}] ['Obelisk', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?j WHERE { ?n property:material_used ?j . VALUES ( ?n ) { ( resource:Mellish_Road_Methodist_Chapel ) ( resource:Obelisk ) } . ?j rdf:type ontology:rock }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20202955
P140
Q9174
USER
Which religion does Mellish Road Methodist Chapel correspond to ?
(Q20202955,P140,c(Q9174))
action filter_type
action find
entity Q20202955
relation P140
type Q9174
['Q20202955', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?j WHERE { resource:Q20202955 property:P140 ?j . ?j rdf:type ontology:Q9174 }
Mellish Road Methodist Chapel
action filter_type
action find
entity Mellish Road Methodist Chapel
relation religion
type religion
['Mellish Road Methodist Chapel', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?j WHERE { resource:Mellish_Road_Methodist_Chapel property:religion ?j . ?j rdf:type ontology:religion }
[]
religion
Q33203
SYSTEM
Methodism
Q33203
(Q20202955,P140,c(Q9174))
action filter_type
action find
entity Q20202955
relation P140
type Q9174
Mellish Road Methodist Chapel corresponds à [ANSWER]
['Q20202955', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?j WHERE { resource:Q20202955 property:P140 ?j . ?j rdf:type ontology:Q9174 }
Methodism
Mellish Road Methodist Chapel corresponds à Methodism
Methodism
action filter_type
action find
entity Mellish Road Methodist Chapel
relation religion
type religion
['Mellish Road Methodist Chapel', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?j WHERE { resource:Mellish_Road_Methodist_Chapel property:religion ?j . ?j rdf:type ontology:religion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20202955
P793
Q1190554
USER
Which significant event is Mellish Road Methodist Chapel associated with ?
(Q20202955,P793,c(Q1190554))
action filter_type
action find
entity Q20202955
relation P793
type Q1190554
['Q20202955', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1190554 . resource:Q20202955 property:P793 ?v }
Mellish Road Methodist Chapel
action filter_type
action find
entity Mellish Road Methodist Chapel
relation significant event
type event
['Mellish Road Methodist Chapel', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:event . resource:Mellish_Road_Methodist_Chapel property:significant_event ?v }
[]
event
Q385378
SYSTEM
construction
Q385378
(Q20202955,P793,c(Q1190554))
action filter_type
action find
entity Q20202955
relation P793
type Q1190554
Mellish Road Methodist Chapel is associated with [ANSWER]
['Q20202955', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1190554 . resource:Q20202955 property:P793 ?v }
construction
Mellish Road Methodist Chapel is associated with construction
construction
action filter_type
action find
entity Mellish Road Methodist Chapel
relation significant event
type event
['Mellish Road Methodist Chapel', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:event . resource:Mellish_Road_Methodist_Chapel property:significant_event ?v }
[]