Simple Question (Direct)
Simple Question
Q19841237
P27
Q15617994
USER
Which administrative territory is Jakub Salès a civilian of ?
(Q19841237,P27,c(Q15617994))
action filter_type
action find
entity Q19841237
relation P27
type Q15617994
['Q19841237', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19841237 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Jakub Salès
action filter_type
action find
entity Jakub Salès
relation country of citizenship
type designation for an administrative territorial entity
['Jakub Salès', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jakub_Salès property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q19841237,P27,c(Q15617994))
action filter_type
action find
entity Q19841237
relation P27
type Q15617994
[ANSWER] is Jakub Salès a civilian of
['Q19841237', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q19841237 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
France
France is Jakub Salès a civilian of
France
action filter_type
action find
entity Jakub Salès
relation country of citizenship
type designation for an administrative territorial entity
['Jakub Salès', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jakub_Salès property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19841237
P611
Q1530022
USER
What religion is that person affiliated to ?
(Q142,P611,c(Q1530022))
action filter_type
action find
entity Q19841237
relation P611
type Q1530022
['Q142', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?j WHERE { resource:Q19841237 property:P611 ?j . ?j rdf:type ontology:Q1530022 }
Jakub Salès
action filter_type
action find
entity Jakub Salès
relation religious order
type religious organization
['France', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?j WHERE { resource:Jakub_Salès property:religious_order ?j . ?j rdf:type ontology:religious_organization }
[]
religious organization
Q36380
SYSTEM
Society of Jesus
Q36380
(Q142,P611,c(Q1530022))
action filter_type
action find
entity Q19841237
relation P611
type Q1530022
That person is affiliated to [ANSWER]
['Q142', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?j WHERE { resource:Q19841237 property:P611 ?j . ?j rdf:type ontology:Q1530022 }
Society of Jesus
That person is affiliated to Society of Jesus
Society of Jesus
action filter_type
action find
entity Jakub Salès
relation religious order
type religious organization
['France', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?j WHERE { resource:Jakub_Salès property:religious_order ?j . ?j rdf:type ontology:religious_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36380 Q16240440
P417
Q502895
USER
Is Ercole Gaetano Bertuzzi the name of person who is the patron saint of that religious organization ?
(Q36380,P417,Q16240440)
action is_in
entity Q16240440
action find
entity Q36380
relation P417
['Q36380', 'P417', 'Q16240440']
ASK WHERE { resource:Q36380 property:P417 resource:Q16240440 }
Society of Jesus Ercole Gaetano Bertuzzi
action is_in
entity Ercole Gaetano Bertuzzi
action find
entity Society of Jesus
relation patron saint
['Society of Jesus', 'patron saint', 'Ercole Gaetano Bertuzzi']
ASK WHERE { resource:Society_of_Jesus property:patron_saint resource:Ercole_Gaetano_Bertuzzi }
[]
common name
SYSTEM
NO
(Q36380,P417,Q16240440)
action is_in
entity Q16240440
action find
entity Q36380
relation P417
[ANSWER]
['Q36380', 'P417', 'Q16240440']
ASK WHERE { resource:Q36380 property:P417 resource:Q16240440 }
No
action is_in
entity Ercole Gaetano Bertuzzi
action find
entity Society of Jesus
relation patron saint
['Society of Jesus', 'patron saint', 'Ercole Gaetano Bertuzzi']
ASK WHERE { resource:Society_of_Jesus property:patron_saint resource:Ercole_Gaetano_Bertuzzi }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q408 Q4424917
P530
Q1048835
USER
Does France have ambassadorial relations with Australia and Smoldyriv ?
(Q142,P530,Q408) (Q142,P530,Q4424917)
action is_in
entity Q142
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4424917
relation P530
['Q142', 'P530', 'Q408'] ['Q142', 'P530', 'Q4424917']
ASK WHERE { resource:Q142 property:P530 resource:Q408 . resource:Q142 property:P530 resource:Q4424917 }
France Australia Smoldyriv
action is_in
entity France
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Smoldyriv
relation diplomatic relation
['France', 'diplomatic relation', 'Australia'] ['France', 'diplomatic relation', 'Smoldyriv']
ASK WHERE { resource:France property:diplomatic_relation resource:Australia . resource:France property:diplomatic_relation resource:Smoldyriv }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q408) (Q142,P530,Q4424917)
action is_in
entity Q142
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4424917
relation P530
[ANSWER]
['Q142', 'P530', 'Q408'] ['Q142', 'P530', 'Q4424917']
ASK WHERE { resource:Q142 property:P530 resource:Q408 . resource:Q142 property:P530 resource:Q4424917 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Smoldyriv
relation diplomatic relation
['France', 'diplomatic relation', 'Australia'] ['France', 'diplomatic relation', 'Smoldyriv']
ASK WHERE { resource:France property:diplomatic_relation resource:Australia . resource:France property:diplomatic_relation resource:Smoldyriv }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19841237 Q1221375 Q1046621
P19
Q20667921
USER
Does Jakub Salès have place of birth as Lezoux and Pleine-Fougères ?
(Q19841237,P19,Q1221375) (Q19841237,P19,Q1046621)
action is_in
entity Q19841237
action intersection
action find_reverse
entity Q1221375
relation P19
action find_reverse
entity Q1046621
relation P19
['Q19841237', 'P19', 'Q1221375'] ['Q19841237', 'P19', 'Q1046621']
ASK WHERE { resource:Q19841237 property:P19 resource:Q1046621 . resource:Q19841237 property:P19 resource:Q1221375 }
Jakub Salès Lezoux Pleine-Fougères
action is_in
entity Jakub Salès
action intersection
action find_reverse
entity Lezoux
relation place of birth
action find_reverse
entity Pleine-Fougères
relation place of birth
['Jakub Salès', 'place of birth', 'Lezoux'] ['Jakub Salès', 'place of birth', 'Pleine-Fougères']
ASK WHERE { resource:Jakub_Salès property:place_of_birth resource:Pleine-Fougères . resource:Jakub_Salès property:place_of_birth resource:Lezoux }
[]
type of french administrative division
SYSTEM
YES and NO respectively
(Q19841237,P19,Q1221375) (Q19841237,P19,Q1046621)
action is_in
entity Q19841237
action intersection
action find_reverse
entity Q1221375
relation P19
action find_reverse
entity Q1046621
relation P19
[ANSWER]
['Q19841237', 'P19', 'Q1221375'] ['Q19841237', 'P19', 'Q1046621']
ASK WHERE { resource:Q19841237 property:P19 resource:Q1046621 . resource:Q19841237 property:P19 resource:Q1221375 }
YES and NO respectively
action is_in
entity Jakub Salès
action intersection
action find_reverse
entity Lezoux
relation place of birth
action find_reverse
entity Pleine-Fougères
relation place of birth
['Jakub Salès', 'place of birth', 'Lezoux'] ['Jakub Salès', 'place of birth', 'Pleine-Fougères']
ASK WHERE { resource:Jakub_Salès property:place_of_birth resource:Pleine-Fougères . resource:Jakub_Salès property:place_of_birth resource:Lezoux }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q32 Q678722
P530
Q15617994
USER
Does France have diplomatic relations with Luxembourg and Kalenborn ?
(Q142,P530,Q32) (Q142,P530,Q678722)
action is_in
entity Q142
action intersection
action find_reverse
entity Q32
relation P530
action find_reverse
entity Q678722
relation P530
['Q142', 'P530', 'Q32'] ['Q142', 'P530', 'Q678722']
ASK WHERE { resource:Q142 property:P530 resource:Q32 . resource:Q142 property:P530 resource:Q678722 }
France Luxembourg Kalenborn
action is_in
entity France
action intersection
action find_reverse
entity Luxembourg
relation diplomatic relation
action find_reverse
entity Kalenborn
relation diplomatic relation
['France', 'diplomatic relation', 'Luxembourg'] ['France', 'diplomatic relation', 'Kalenborn']
ASK WHERE { resource:France property:diplomatic_relation resource:Luxembourg . resource:France property:diplomatic_relation resource:Kalenborn }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q32) (Q142,P530,Q678722)
action is_in
entity Q142
action intersection
action find_reverse
entity Q32
relation P530
action find_reverse
entity Q678722
relation P530
[ANSWER]
['Q142', 'P530', 'Q32'] ['Q142', 'P530', 'Q678722']
ASK WHERE { resource:Q142 property:P530 resource:Q32 . resource:Q142 property:P530 resource:Q678722 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Luxembourg
relation diplomatic relation
action find_reverse
entity Kalenborn
relation diplomatic relation
['France', 'diplomatic relation', 'Luxembourg'] ['France', 'diplomatic relation', 'Kalenborn']
ASK WHERE { resource:France property:diplomatic_relation resource:Luxembourg . resource:France property:diplomatic_relation resource:Kalenborn }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19841237 Q1221375
P19
Q20667921
USER
Was Jakub Salès born at Lezoux ?
(Q19841237,P19,Q1221375)
action is_in
entity Q1221375
action find
entity Q19841237
relation P19
['Q19841237', 'P19', 'Q1221375']
ASK WHERE { resource:Q19841237 property:P19 resource:Q1221375 }
Jakub Salès Lezoux
action is_in
entity Lezoux
action find
entity Jakub Salès
relation place of birth
['Jakub Salès', 'place of birth', 'Lezoux']
ASK WHERE { resource:Jakub_Salès property:place_of_birth resource:Lezoux }
[]
type of french administrative division
SYSTEM
YES
(Q19841237,P19,Q1221375)
action is_in
entity Q1221375
action find
entity Q19841237
relation P19
[ANSWER]
['Q19841237', 'P19', 'Q1221375']
ASK WHERE { resource:Q19841237 property:P19 resource:Q1221375 }
Yes
action is_in
entity Lezoux
action find
entity Jakub Salès
relation place of birth
['Jakub Salès', 'place of birth', 'Lezoux']
ASK WHERE { resource:Jakub_Salès property:place_of_birth resource:Lezoux }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19841237
P140
Q874405
USER
What is the religious affiliation of that person ?
action filter_type
action find
entity Q19841237
relation P140
type Q874405
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q874405 . resource:Q19841237 property:P140 ?k }
Jakub Salès
action filter_type
action find
entity Jakub Salès
relation religion
type social group
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:social_group . resource:Jakub_Salès property:religion ?k }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
action filter_type
action find
entity Q19841237
relation P140
type Q874405
The religious affiliation of that person is a [ANSWER]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q874405 . resource:Q19841237 property:P140 ?k }
Catholicism
The religious affiliation of that person is a Catholicism
Catholicism
action filter_type
action find
entity Jakub Salès
relation religion
type social group
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:social_group . resource:Jakub_Salès property:religion ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1841 Q7792273
P140
Q502895
USER
Is Thomas McCawley connected to that social group by religion ?
(Q7792273,P140,Q1841)
action is_in
entity Q7792273
action find
entity Q1841
relation P140
['Q7792273', 'P140', 'Q1841']
ASK WHERE { resource:Q1841 property:P140 resource:Q7792273 }
Catholicism Thomas McCawley
action is_in
entity Thomas McCawley
action find
entity Catholicism
relation religion
['Thomas McCawley', 'religion', 'Catholicism']
ASK WHERE { resource:Catholicism property:religion resource:Thomas_McCawley }
[]
common name
SYSTEM
NO
(Q7792273,P140,Q1841)
action is_in
entity Q7792273
action find
entity Q1841
relation P140
[ANSWER]
['Q7792273', 'P140', 'Q1841']
ASK WHERE { resource:Q1841 property:P140 resource:Q7792273 }
No
action is_in
entity Thomas McCawley
action find
entity Catholicism
relation religion
['Thomas McCawley', 'religion', 'Catholicism']
ASK WHERE { resource:Catholicism property:religion resource:Thomas_McCawley }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36380 Q1349417
P180
Q3305213
USER
How many paintings express Society of Jesus or Earth's surface ?
(c(Q3305213),P180,Q36380) (c(Q3305213),P180,Q1349417)
action count
action union
action filter_type
action find_reverse
entity Q36380
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1349417
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q36380'] [{'concept': 'Q3305213'}, 'P180', 'Q1349417']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:P180 resource:Q1349417 . ?i rdf:type ontology:Q3305213 } UNION { ?i rdf:type ontology:Q3305213 . ?i property:P180 resource:Q36380 } }
Society of Jesus Earth's surface
action count
action union
action filter_type
action find_reverse
entity Society of Jesus
relation depicts
type painting
action filter_type
action find_reverse
entity Earth's surface
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Society of Jesus'] [{'concept': 'painting'}, 'depicts', "Earth's surface"]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:depicts resource:Earth's_surface . ?i rdf:type ontology:painting } UNION { ?i rdf:type ontology:painting . ?i property:depicts resource:Society_of_Jesus } }
[]
painting
SYSTEM
3
Q254794 Q18510551 Q18342630
(c(Q3305213),P180,Q36380) (c(Q3305213),P180,Q1349417)
action count
action union
action filter_type
action find_reverse
entity Q36380
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1349417
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q36380'] [{'concept': 'Q3305213'}, 'P180', 'Q1349417']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:P180 resource:Q1349417 . ?i rdf:type ontology:Q3305213 } UNION { ?i rdf:type ontology:Q3305213 . ?i property:P180 resource:Q36380 } }
Great Piece of Turf Daura House at Dusk A Fair on the Outskirts of Dublin
3
action count
action union
action filter_type
action find_reverse
entity Society of Jesus
relation depicts
type painting
action filter_type
action find_reverse
entity Earth's surface
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Society of Jesus'] [{'concept': 'painting'}, 'depicts', "Earth's surface"]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:depicts resource:Earth's_surface . ?i rdf:type ontology:painting } UNION { ?i rdf:type ontology:painting . ?i property:depicts resource:Society_of_Jesus } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36380
P69
Q502895
USER
Who are an alumni of that religious organization ?
action filter_type
action find_reverse
entity Q36380
relation P69
type Q502895
SELECT DISTINCT ?n WHERE { ?n property:P69 resource:Q36380 . ?n rdf:type ontology:Q502895 }
Society of Jesus
action filter_type
action find_reverse
entity Society of Jesus
relation educated at
type common name
SELECT DISTINCT ?n WHERE { ?n property:educated_at resource:Society_of_Jesus . ?n rdf:type ontology:common_name }
[]
common name
Q289351 Q17486070 Q561218
SYSTEM
Étienne Baluze, Léon Épinette, Henri Grégoire
Q289351 Q17486070 Q561218
action filter_type
action find_reverse
entity Q36380
relation P69
type Q502895
An alumni of that religious organization are [ANSWERS]
SELECT DISTINCT ?n WHERE { ?n property:P69 resource:Q36380 . ?n rdf:type ontology:Q502895 }
Étienne Baluze Léon Épinette Henri Grégoire
An alumni of that religious organization are Étienne Baluze, Léon Épinette and Henri Grégoire
Étienne Baluze Léon Épinette Henri Grégoire
action filter_type
action find_reverse
entity Society of Jesus
relation educated at
type common name
SELECT DISTINCT ?n WHERE { ?n property:educated_at resource:Society_of_Jesus . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15416 Q234460 Q502895
USER
How many people are from the works of approximately 7 television programs and texts ?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
value 7
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?a WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } } GROUP BY ?a } . FILTER ( ?p = 7 ) }
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
value 7
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?a WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:text ) } } GROUP BY ?a } . FILTER ( ?p = 7 ) }
[]
television program text common name
SYSTEM
1
Q9181
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
value 7
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?a WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } } GROUP BY ?a } . FILTER ( ?p = 7 ) }
Abraham
1
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
value 7
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?a WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:text ) } } GROUP BY ?a } . FILTER ( ?p = 7 ) }
[]