Simple Question (Direct)
Simple Question
Q15973370
P21
Q290
USER
Which sex does Siméon Aucouturier belong to ?
(Q15973370,P21,c(Q290))
action filter_type
action find
entity Q15973370
relation P21
type Q290
['Q15973370', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q15973370 property:P21 ?m . ?m rdf:type ontology:Q290 }
Siméon Aucouturier
action filter_type
action find
entity Siméon Aucouturier
relation gender
type sex
['Siméon Aucouturier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Siméon_Aucouturier property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15973370,P21,c(Q290))
action filter_type
action find
entity Q15973370
relation P21
type Q290
Siméon Aucouturier belongs to [ANSWER]
['Q15973370', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q15973370 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Siméon Aucouturier belongs to male
male
action filter_type
action find
entity Siméon Aucouturier
relation gender
type sex
['Siméon Aucouturier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Siméon_Aucouturier property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who studied at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] studied at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P69 resource:Q6581097 }
Aaron Parchem
Aaron Parchem studied at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:educated_at resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people as that sex as their class ?
(c(Q502895),P136,Q4662307)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q4662307']
SELECT DISTINCT ?j WHERE { ?j property:P136 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'Aaron Parchem']
SELECT DISTINCT ?j WHERE { ?j property:genre resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q4662307)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q4662307']
SELECT DISTINCT ?j WHERE { ?j property:P136 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'Aaron Parchem']
SELECT DISTINCT ?j WHERE { ?j property:genre resource:male . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P84
Q16970
USER
Which churches have their designs created by Augustus Pugin ?
(c(Q16970),P84,Q313288)
action filter_type
action find_reverse
entity Q313288
relation P84
type Q16970
[{'concept': 'Q16970'}, 'P84', 'Q313288']
SELECT DISTINCT ?b WHERE { ?b property:P84 resource:Q313288 . ?b rdf:type ontology:Q16970 }
Augustus Pugin
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type church
[{'concept': 'church'}, 'architect', 'Augustus Pugin']
SELECT DISTINCT ?b WHERE { ?b property:architect resource:Augustus_Pugin . ?b rdf:type ontology:church }
[]
church
Q1638891 Q1545350 Q1138085
SYSTEM
St Mary's Cathedral, Newcastle upon Tyne, Nottingham Cathedral, St Chad's Cathedral
Q1357895 Q20642155 Q1638891 Q1451262 Q1897809 Q1545350 Q1138066 Q1138085
(c(Q16970),P84,Q313288)
action filter_type
action find_reverse
entity Q313288
relation P84
type Q16970
[ANSWERS] have their designs created by Augustus Pugin
[{'concept': 'Q16970'}, 'P84', 'Q313288']
SELECT DISTINCT ?b WHERE { ?b property:P84 resource:Q313288 . ?b rdf:type ontology:Q16970 }
Northampton Cathedral St Mary's Cathedral, Hobart St Mary's Cathedral, Newcastle upon Tyne St George's Cathedral, Southwark St Mary's Cathedral, Killarney Nottingham Cathedral St. Aidan's Cathedral St Chad's Cathedral
St Mary's Cathedral, Newcastle upon Tyne, Nottingham Cathedral and St Chad's Cathedral have their designs created by Augustus Pugin
St Mary's Cathedral, Newcastle upon Tyne Nottingham Cathedral St Chad's Cathedral
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type church
[{'concept': 'church'}, 'architect', 'Augustus Pugin']
SELECT DISTINCT ?b WHERE { ?b property:architect resource:Augustus_Pugin . ?b rdf:type ontology:church }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1545350
P1435
Q41176
USER
Which building gives the heritage status of that church ?
(Q1545350,P1435,c(Q41176))
action filter_type
action find
entity Q1545350
relation P1435
type Q41176
['Q1545350', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { resource:Q1545350 property:P1435 ?f . ?f rdf:type ontology:Q41176 }
Nottingham Cathedral
action filter_type
action find
entity Nottingham Cathedral
relation heritage status
type building
['Nottingham Cathedral', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { resource:Nottingham_Cathedral property:heritage_status ?f . ?f rdf:type ontology:building }
[]
building
Clarification for simple ques.
Q1138085
SYSTEM
Did you mean St Chad's Cathedral ?
Q1638891 Q1545350 Q1138085
(Q1638891,P1435,c(Q41176)) (Q1545350,P1435,c(Q41176)) (Q1138085,P1435,c(Q41176))
[ANSWER]
['Q1638891', 'P1435', {'concept': 'Q41176'}] ['Q1545350', 'P1435', {'concept': 'Q41176'}] ['Q1138085', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { resource:Q1545350 property:P1435 ?f . ?f rdf:type ontology:Q41176 }
St Mary's Cathedral, Newcastle upon Tyne Nottingham Cathedral St Chad's Cathedral
Did you mean St Chad's Cathedral ?
St Chad's Cathedral
["St Mary's Cathedral, Newcastle upon Tyne", 'heritage status', {'concept': 'building'}] ['Nottingham Cathedral', 'heritage status', {'concept': 'building'}] ["St Chad's Cathedral", 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { resource:Nottingham_Cathedral property:heritage_status ?f . ?f rdf:type ontology:building }
[]
Simple Question (Coreferenced)
USER
No, I meant Nottingham Cathedral. Could you tell me the answer for that?
(Q1545350,P1435,c(Q41176))
Q1545350
['Q1545350', 'P1435', {'concept': 'Q41176'}]
['Nottingham Cathedral', 'heritage status', {'concept': 'building'}]
[]
Q15700831
SYSTEM
Grade II* listed building
Q15700831
(Q1545350,P1435,c(Q41176))
action filter_type
action find
entity Q1545350
relation P1435
type Q41176
[ANSWER] gives the heritage status of that church
['Q1545350', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { resource:Q1545350 property:P1435 ?f . ?f rdf:type ontology:Q41176 }
Grade II* listed building
Grade II* listed building gives the heritage status of that church
Grade II* listed building
action filter_type
action find
entity Nottingham Cathedral
relation heritage status
type building
['Nottingham Cathedral', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { resource:Nottingham_Cathedral property:heritage_status ?f . ?f rdf:type ontology:building }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15700834 Q313288
P1435 P84
Q44539
USER
Which temples were Augustus Pugin an architect of and have a heritage status of Grade II listed building ?
AND((c(Q44539),P84,Q313288), (c(Q44539),P1435,Q15700834))
action filter_type
action intersection
action find_reverse
entity Q313288
relation P84
action find_reverse
entity Q15700834
relation P1435
type Q44539
{'AND': [[{'concept': 'Q44539'}, 'P84', 'Q313288'], [{'concept': 'Q44539'}, 'P1435', 'Q15700834']]}
SELECT DISTINCT ?a WHERE { ?a property:P84 resource:Q313288 . ?a property:P1435 resource:Q15700834 . ?a rdf:type ontology:Q44539 }
Grade II listed building Augustus Pugin
action filter_type
action intersection
action find_reverse
entity Augustus Pugin
relation architect
action find_reverse
entity Grade II listed building
relation heritage status
type temple
{'AND': [[{'concept': 'temple'}, 'architect', 'Augustus Pugin'], [{'concept': 'temple'}, 'heritage status', 'Grade II listed building']]}
SELECT DISTINCT ?a WHERE { ?a property:architect resource:Augustus_Pugin . ?a property:heritage_status resource:Grade_II_listed_building . ?a rdf:type ontology:temple }
[]
temple
Q17183220 Q18708785 Q7593468 Q15979465
SYSTEM
St John the Evangelist's Church, Kirkham, St Joseph Church, Southampton, St James's Church, Reading, St Oswald's Church, Old Swan, Liverpool
Q17183220 Q18708785 Q7593468 Q15979465
AND((c(Q44539),P84,Q313288), (c(Q44539),P1435,Q15700834))
action filter_type
action intersection
action find_reverse
entity Q313288
relation P84
action find_reverse
entity Q15700834
relation P1435
type Q44539
[ANSWERS]
{'AND': [[{'concept': 'Q44539'}, 'P84', 'Q313288'], [{'concept': 'Q44539'}, 'P1435', 'Q15700834']]}
SELECT DISTINCT ?a WHERE { ?a property:P84 resource:Q313288 . ?a property:P1435 resource:Q15700834 . ?a rdf:type ontology:Q44539 }
St John the Evangelist's Church, Kirkham St Joseph Church, Southampton St James's Church, Reading St Oswald's Church, Old Swan, Liverpool
St John the Evangelist's Church, Kirkham, St Joseph Church, Southampton, St James's Church, Reading and St Oswald's Church, Old Swan, Liverpool were Augustus Pugin an architect of and have a heritage status of Grade II listed building
St John the Evangelist's Church, Kirkham St Joseph Church, Southampton St James's Church, Reading St Oswald's Church, Old Swan, Liverpool
action filter_type
action intersection
action find_reverse
entity Augustus Pugin
relation architect
action find_reverse
entity Grade II listed building
relation heritage status
type temple
{'AND': [[{'concept': 'temple'}, 'architect', 'Augustus Pugin'], [{'concept': 'temple'}, 'heritage status', 'Grade II listed building']]}
SELECT DISTINCT ?a WHERE { ?a property:architect resource:Augustus_Pugin . ?a property:heritage_status resource:Grade_II_listed_building . ?a rdf:type ontology:temple }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P20
Q56061
USER
Where did the demise of Augustus Pugin occur ?
(Q313288,P20,c(Q56061))
action filter_type
action find
entity Q313288
relation P20
type Q56061
['Q313288', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q313288 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation place of death
type administrative territorial entity
['Augustus Pugin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Augustus_Pugin property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q736439
SYSTEM
Ramsgate
Q736439
(Q313288,P20,c(Q56061))
action filter_type
action find
entity Q313288
relation P20
type Q56061
The demise of Augustus Pugin occurred in [ANSWER]
['Q313288', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q313288 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Ramsgate
The demise of Augustus Pugin occurred in Ramsgate
Ramsgate
action filter_type
action find
entity Augustus Pugin
relation place of death
type administrative territorial entity
['Augustus Pugin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Augustus_Pugin property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6759185
Q56061
USER
And also tell me about Margaret Bicknell?
(Q6759185,P20,c(Q56061))
action filter_type
action find
entity Q6759185
relation P20
type Q56061
['Q6759185', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6759185 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Margaret Bicknell
action filter_type
action find
entity Margaret Bicknell
relation place of death
type administrative territorial entity
['Margaret Bicknell', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Margaret_Bicknell property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q6759185,P20,c(Q56061))
action filter_type
action find
entity Q6759185
relation P20
type Q56061
[ANSWER]
['Q6759185', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6759185 property:P20 ?q . ?q rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Margaret Bicknell
relation place of death
type administrative territorial entity
['Margaret Bicknell', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Margaret_Bicknell property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15979465
P84
Q502895
USER
How many people are the designers of St Oswald's Church, Old Swan, Liverpool ?
(Q15979465,P84,c(Q502895))
action count
action filter_type
action find
entity Q15979465
relation P84
type Q502895
['Q15979465', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q15979465 property:P84 ?v . ?v rdf:type ontology:Q502895 }
St Oswald's Church, Old Swan, Liverpool
action count
action filter_type
action find
entity St Oswald's Church, Old Swan, Liverpool
relation architect
type common name
["St Oswald's Church, Old Swan, Liverpool", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:St_Oswald's_Church,_Old_Swan,_Liverpool property:architect ?v . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q313288
(Q15979465,P84,c(Q502895))
action count
action filter_type
action find
entity Q15979465
relation P84
type Q502895
[ANSWER]
['Q15979465', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q15979465 property:P84 ?v . ?v rdf:type ontology:Q502895 }
Augustus Pugin
1
action count
action filter_type
action find
entity St Oswald's Church, Old Swan, Liverpool
relation architect
type common name
["St Oswald's Church, Old Swan, Liverpool", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:St_Oswald's_Church,_Old_Swan,_Liverpool property:architect ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15979465
P17
Q15617994
USER
Which administrative territory is that temple present in ?
action filter_type
action find
entity Q15979465
relation P17
type Q15617994
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q15979465 property:P17 ?y }
St Oswald's Church, Old Swan, Liverpool
action filter_type
action find
entity St Oswald's Church, Old Swan, Liverpool
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:St_Oswald's_Church,_Old_Swan,_Liverpool property:country ?y }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q15979465
relation P17
type Q15617994
That temple is in [ANSWER]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q15979465 property:P17 ?y }
United Kingdom
That temple is in United Kingdom
United Kingdom
action filter_type
action find
entity St Oswald's Church, Old Swan, Liverpool
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:St_Oswald's_Church,_Old_Swan,_Liverpool property:country ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P47
Q15617994
USER
Which administrative territories have a shared border with that one ?
(Q145,P47,c(Q15617994))
action filter_type
action find
entity Q145
relation P47
type Q15617994
['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q145 property:P47 ?o }
United Kingdom
action filter_type
action find
entity United Kingdom
relation shares border with
type designation for an administrative territorial entity
['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:shares_border_with ?o }
[]
designation for an administrative territorial entity
Q142 Q717 Q27
SYSTEM
France, Venezuela, Ireland
Q142 Q717 Q27
(Q145,P47,c(Q15617994))
action filter_type
action find
entity Q145
relation P47
type Q15617994
[ANSWERS] have a shared border with that one
['Q145', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q145 property:P47 ?o }
France Venezuela Ireland
France, Venezuela and Ireland have a shared border with that one
France Venezuela Ireland
action filter_type
action find
entity United Kingdom
relation shares border with
type designation for an administrative territorial entity
['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:shares_border_with ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q1428
P463
Q43229
USER
How many organizations were France and Georgia a member of ?
(Q142,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q142 property:P463 ?w . ?w rdf:type ontology:Q43229 . ?w rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?w }
France Georgia
action count
action intersection
action filter_type
action find
entity France
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['France', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:France property:member_of ?w . ?w rdf:type ontology:organization . ?w rdf:type ontology:organization . resource:Georgia property:member_of ?w }
[]
organization
SYSTEM
4
Q191384 Q899770 Q656801 Q827525
(Q142,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
[ANSWER]
['Q142', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q142 property:P463 ?w . ?w rdf:type ontology:Q43229 . ?w rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?w }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation International Development Association
4
action count
action intersection
action filter_type
action find
entity France
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['France', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:France property:member_of ?w . ?w rdf:type ontology:organization . ?w rdf:type ontology:organization . resource:Georgia property:member_of ?w }
[]