Simple Question (Direct)
Simple Question
Q1690847
P611
Q1530022
USER
What religion is Jan Roothaan affiliated to ?
(Q1690847,P611,c(Q1530022))
action filter_type
action find
entity Q1690847
relation P611
type Q1530022
['Q1690847', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?t WHERE { resource:Q1690847 property:P611 ?t . ?t rdf:type ontology:Q1530022 }
Jan Roothaan
action filter_type
action find
entity Jan Roothaan
relation religious order
type religious organization
['Jan Roothaan', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?t WHERE { resource:Jan_Roothaan property:religious_order ?t . ?t rdf:type ontology:religious_organization }
[]
religious organization
Q36380
SYSTEM
Society of Jesus
Q36380
(Q1690847,P611,c(Q1530022))
action filter_type
action find
entity Q1690847
relation P611
type Q1530022
Jan Roothaan is affiliated to [ANSWER]
['Q1690847', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?t WHERE { resource:Q1690847 property:P611 ?t . ?t rdf:type ontology:Q1530022 }
Society of Jesus
Jan Roothaan is affiliated to Society of Jesus
Society of Jesus
action filter_type
action find
entity Jan Roothaan
relation religious order
type religious organization
['Jan Roothaan', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?t WHERE { resource:Jan_Roothaan property:religious_order ?t . ?t rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36380
P140
Q502895
USER
Which person is religiously associated with that religious organization ?
(c(Q502895),P140,Q36380)
action filter_type
action find_reverse
entity Q36380
relation P140
type Q502895
[{'concept': 'Q502895'}, 'P140', 'Q36380']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P140 resource:Q36380 }
Society of Jesus
action filter_type
action find_reverse
entity Society of Jesus
relation religion
type common name
[{'concept': 'common name'}, 'religion', 'Society of Jesus']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:religion resource:Society_of_Jesus }
[]
common name
Q16444477
SYSTEM
Aronas Aleksandras Olizarovskis
Q16444477
(c(Q502895),P140,Q36380)
action filter_type
action find_reverse
entity Q36380
relation P140
type Q502895
[ANSWER] is religiously associated with that religious organization
[{'concept': 'Q502895'}, 'P140', 'Q36380']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P140 resource:Q36380 }
Aronas Aleksandras Olizarovskis
Aronas Aleksandras Olizarovskis is religiously associated with that religious organization
Aronas Aleksandras Olizarovskis
action filter_type
action find_reverse
entity Society of Jesus
relation religion
type common name
[{'concept': 'common name'}, 'religion', 'Society of Jesus']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:religion resource:Society_of_Jesus }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16444477 Q987754
P20
Q56061
USER
Did the expiration of Aronas Aleksandras Olizarovskis occur Newcastle West ?
(Q16444477,P20,Q987754)
action is_in
entity Q987754
action find
entity Q16444477
relation P20
['Q16444477', 'P20', 'Q987754']
ASK WHERE { resource:Q16444477 property:P20 resource:Q987754 }
Aronas Aleksandras Olizarovskis Newcastle West
action is_in
entity Newcastle West
action find
entity Aronas Aleksandras Olizarovskis
relation place of death
['Aronas Aleksandras Olizarovskis', 'place of death', 'Newcastle West']
ASK WHERE { resource:Aronas_Aleksandras_Olizarovskis property:place_of_death resource:Newcastle_West }
[]
administrative territorial entity
SYSTEM
NO
(Q16444477,P20,Q987754)
action is_in
entity Q987754
action find
entity Q16444477
relation P20
[ANSWER]
['Q16444477', 'P20', 'Q987754']
ASK WHERE { resource:Q16444477 property:P20 resource:Q987754 }
No
action is_in
entity Newcastle West
action find
entity Aronas Aleksandras Olizarovskis
relation place of death
['Aronas Aleksandras Olizarovskis', 'place of death', 'Newcastle West']
ASK WHERE { resource:Aronas_Aleksandras_Olizarovskis property:place_of_death resource:Newcastle_West }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1690847 Q659245 Q94983
P27
Q15617994
USER
Is Jan Roothaan a native of Urbar and Porretta Terme ?
(Q1690847,P27,Q659245) (Q1690847,P27,Q94983)
action is_in
entity Q1690847
action intersection
action find_reverse
entity Q659245
relation P27
action find_reverse
entity Q94983
relation P27
['Q1690847', 'P27', 'Q659245'] ['Q1690847', 'P27', 'Q94983']
ASK WHERE { resource:Q1690847 property:P27 resource:Q659245 . resource:Q1690847 property:P27 resource:Q94983 }
Jan Roothaan Urbar Porretta Terme
action is_in
entity Jan Roothaan
action intersection
action find_reverse
entity Urbar
relation country of citizenship
action find_reverse
entity Porretta Terme
relation country of citizenship
['Jan Roothaan', 'country of citizenship', 'Urbar'] ['Jan Roothaan', 'country of citizenship', 'Porretta Terme']
ASK WHERE { resource:Jan_Roothaan property:country_of_citizenship resource:Urbar . resource:Jan_Roothaan property:country_of_citizenship resource:Porretta_Terme }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1690847,P27,Q659245) (Q1690847,P27,Q94983)
action is_in
entity Q1690847
action intersection
action find_reverse
entity Q659245
relation P27
action find_reverse
entity Q94983
relation P27
[ANSWER]
['Q1690847', 'P27', 'Q659245'] ['Q1690847', 'P27', 'Q94983']
ASK WHERE { resource:Q1690847 property:P27 resource:Q659245 . resource:Q1690847 property:P27 resource:Q94983 }
No
action is_in
entity Jan Roothaan
action intersection
action find_reverse
entity Urbar
relation country of citizenship
action find_reverse
entity Porretta Terme
relation country of citizenship
['Jan Roothaan', 'country of citizenship', 'Urbar'] ['Jan Roothaan', 'country of citizenship', 'Porretta Terme']
ASK WHERE { resource:Jan_Roothaan property:country_of_citizenship resource:Urbar . resource:Jan_Roothaan property:country_of_citizenship resource:Porretta_Terme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1690847
P106
Q12737077
USER
What is the profession of that person ?
action filter_type
action find
entity Q1690847
relation P106
type Q12737077
SELECT DISTINCT ?p WHERE { resource:Q1690847 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Jan Roothaan
action filter_type
action find
entity Jan Roothaan
relation occupation
type occupation
SELECT DISTINCT ?p WHERE { resource:Jan_Roothaan property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q250867
SYSTEM
Catholic priest
Q250867
action filter_type
action find
entity Q1690847
relation P106
type Q12737077
The profession of that person is a [ANSWER]
SELECT DISTINCT ?p WHERE { resource:Q1690847 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Catholic priest
The profession of that person is a Catholic priest
Catholic priest
action filter_type
action find
entity Jan Roothaan
relation occupation
type occupation
SELECT DISTINCT ?p WHERE { resource:Jan_Roothaan property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q250867 Q1711711
P106
Q502895
USER
Does Leonhard Steinwender have that occupation as his/her means of employment ?
(Q1711711,P106,Q250867)
action is_in
entity Q250867
action find
entity Q1711711
relation P106
['Q1711711', 'P106', 'Q250867']
ASK WHERE { resource:Q1711711 property:P106 resource:Q250867 }
Catholic priest Leonhard Steinwender
action is_in
entity Catholic priest
action find
entity Leonhard Steinwender
relation occupation
['Leonhard Steinwender', 'occupation', 'Catholic priest']
ASK WHERE { resource:Leonhard_Steinwender property:occupation resource:Catholic_priest }
[]
common name
SYSTEM
YES
(Q1711711,P106,Q250867)
action is_in
entity Q250867
action find
entity Q1711711
relation P106
[ANSWER]
['Q1711711', 'P106', 'Q250867']
ASK WHERE { resource:Q1711711 property:P106 resource:Q250867 }
Yes
action is_in
entity Catholic priest
action find
entity Leonhard Steinwender
relation occupation
['Leonhard Steinwender', 'occupation', 'Catholic priest']
ASK WHERE { resource:Leonhard_Steinwender property:occupation resource:Catholic_priest }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36380
P138
Q44539 Q2221906
USER
How many temples and geographic locations have Society of Jesus as their toponym ?
(c(Q44539),P138,Q36380) (c(Q2221906),P138,Q36380)
action count
action union
action filter_type
action find_reverse
entity Q36380
relation P138
type Q44539
action filter_type
action find_reverse
entity Q36380
relation P138
type Q2221906
[{'concept': 'Q44539'}, 'P138', 'Q36380'] [{'concept': 'Q2221906'}, 'P138', 'Q36380']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k property:P138 resource:Q36380 . ?k rdf:type ontology:Q2221906 } UNION { ?k property:P138 resource:Q36380 . ?k rdf:type ontology:Q44539 } }
Society of Jesus
action count
action union
action filter_type
action find_reverse
entity Society of Jesus
relation named after
type temple
action filter_type
action find_reverse
entity Society of Jesus
relation named after
type geographic location
[{'concept': 'temple'}, 'named after', 'Society of Jesus'] [{'concept': 'geographic location'}, 'named after', 'Society of Jesus']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k property:named_after resource:Society_of_Jesus . ?k rdf:type ontology:geographic_location } UNION { ?k property:named_after resource:Society_of_Jesus . ?k rdf:type ontology:temple } }
[]
temple geographic location
SYSTEM
1 temples and 1 geographic locations
Q46592 Q10351458
(c(Q44539),P138,Q36380) (c(Q2221906),P138,Q36380)
action count
action union
action filter_type
action find_reverse
entity Q36380
relation P138
type Q44539
action filter_type
action find_reverse
entity Q36380
relation P138
type Q2221906
[ANSWER]
[{'concept': 'Q44539'}, 'P138', 'Q36380'] [{'concept': 'Q2221906'}, 'P138', 'Q36380']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k property:P138 resource:Q36380 . ?k rdf:type ontology:Q2221906 } UNION { ?k property:P138 resource:Q36380 . ?k rdf:type ontology:Q44539 } }
I Gesuiti Jesuits' Bridge
1 temples and 1 geographic locations
action count
action union
action filter_type
action find_reverse
entity Society of Jesus
relation named after
type temple
action filter_type
action find_reverse
entity Society of Jesus
relation named after
type geographic location
[{'concept': 'temple'}, 'named after', 'Society of Jesus'] [{'concept': 'geographic location'}, 'named after', 'Society of Jesus']
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { ?k property:named_after resource:Society_of_Jesus . ?k rdf:type ontology:geographic_location } UNION { ?k property:named_after resource:Society_of_Jesus . ?k rdf:type ontology:temple } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q241791 Q94983
P47 P17
Q15617994
USER
Which administrative territories do Porretta Terme belong to or are adjacent to Bracciano ?
OR((Q94983,P17,c(Q15617994)), (Q241791,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q94983
relation P17
action find
entity Q241791
relation P47
type Q15617994
{'OR': [['Q94983', 'P17', {'concept': 'Q15617994'}], ['Q241791', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q94983 property:P17 ?k } UNION { resource:Q241791 property:P47 ?k } } . ?k rdf:type ontology:Q15617994 }
Bracciano Porretta Terme
action filter_type
action union
action find
entity Porretta Terme
relation country
action find
entity Bracciano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Porretta Terme', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bracciano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Porretta_Terme property:country ?k } UNION { resource:Bracciano property:shares_border_with ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q241693 Q243488 Q159520 Q176171 Q242505 Q243497 Q177741 Q38 Q242893
SYSTEM
Anguillara Sabazia, Tolfa, Bassano Romano, Oriolo Romano, Cerveteri, Trevignano Romano, Sutri, Italy, Manziana
Q241693 Q243488 Q159520 Q176171 Q242505 Q243497 Q177741 Q38 Q242893
OR((Q94983,P17,c(Q15617994)), (Q241791,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q94983
relation P17
action find
entity Q241791
relation P47
type Q15617994
[ANSWERS] do Porretta Terme belong to or are adjacent to Bracciano
{'OR': [['Q94983', 'P17', {'concept': 'Q15617994'}], ['Q241791', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q94983 property:P17 ?k } UNION { resource:Q241791 property:P47 ?k } } . ?k rdf:type ontology:Q15617994 }
Anguillara Sabazia Tolfa Bassano Romano Oriolo Romano Cerveteri Trevignano Romano Sutri Italy Manziana
Anguillara Sabazia, Tolfa, Bassano Romano, Oriolo Romano, Cerveteri, Trevignano Romano, Sutri, Italy and Manziana do Porretta Terme belong to or are adjacent to Bracciano
Anguillara Sabazia Tolfa Bassano Romano Oriolo Romano Cerveteri Trevignano Romano Sutri Italy Manziana
action filter_type
action union
action find
entity Porretta Terme
relation country
action find
entity Bracciano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Porretta Terme', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bracciano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Porretta_Terme property:country ?k } UNION { resource:Bracciano property:shares_border_with ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]