Simple Question (Direct)
Simple Question
Q3384337
P611
Q1530022
USER
What religion is Pierre Ceyrac affiliated to ?
(Q3384337,P611,c(Q1530022))
action filter_type
action find
entity Q3384337
relation P611
type Q1530022
['Q3384337', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?y WHERE { resource:Q3384337 property:P611 ?y . ?y rdf:type ontology:Q1530022 }
Pierre Ceyrac
action filter_type
action find
entity Pierre Ceyrac
relation religious order
type religious organization
['Pierre Ceyrac', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Ceyrac property:religious_order ?y . ?y rdf:type ontology:religious_organization }
[]
religious organization
Q36380
SYSTEM
Society of Jesus
Q36380
(Q3384337,P611,c(Q1530022))
action filter_type
action find
entity Q3384337
relation P611
type Q1530022
Pierre Ceyrac is affiliated to [ANSWER]
['Q3384337', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?y WHERE { resource:Q3384337 property:P611 ?y . ?y rdf:type ontology:Q1530022 }
Society of Jesus
Pierre Ceyrac is affiliated to Society of Jesus
Society of Jesus
action filter_type
action find
entity Pierre Ceyrac
relation religious order
type religious organization
['Pierre Ceyrac', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Ceyrac property:religious_order ?y . ?y rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36380
P417
Q502895
USER
Which person is the patron saint of that religious organization ?
(Q36380,P417,c(Q502895))
action filter_type
action find
entity Q36380
relation P417
type Q502895
['Q36380', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q36380 property:P417 ?d . ?d rdf:type ontology:Q502895 }
Society of Jesus
action filter_type
action find
entity Society of Jesus
relation patron saint
type common name
['Society of Jesus', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Society_of_Jesus property:patron_saint ?d . ?d rdf:type ontology:common_name }
[]
common name
Q44281
SYSTEM
Ignatius of Loyola
Q44281
(Q36380,P417,c(Q502895))
action filter_type
action find
entity Q36380
relation P417
type Q502895
[ANSWER] is the patron saint of that religious organization
['Q36380', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q36380 property:P417 ?d . ?d rdf:type ontology:Q502895 }
Ignatius of Loyola
Ignatius of Loyola is the patron saint of that religious organization
Ignatius of Loyola
action filter_type
action find
entity Society of Jesus
relation patron saint
type common name
['Society of Jesus', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Society_of_Jesus property:patron_saint ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36380
P123
Q21114848
USER
Which magazine genre was published by that religious organization ?
(c(Q21114848),P123,Q44281)
action filter_type
action find_reverse
entity Q36380
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q44281']
SELECT DISTINCT ?w WHERE { ?w property:P123 resource:Q36380 . ?w rdf:type ontology:Q21114848 }
Society of Jesus
action filter_type
action find_reverse
entity Society of Jesus
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Ignatius of Loyola']
SELECT DISTINCT ?w WHERE { ?w property:publisher resource:Society_of_Jesus . ?w rdf:type ontology:magazine_genre }
[]
magazine genre
Q2603696
SYSTEM
Journal de Trévoux
Q2603696
(c(Q21114848),P123,Q44281)
action filter_type
action find_reverse
entity Q36380
relation P123
type Q21114848
[ANSWER] was published by that religious organization
[{'concept': 'Q21114848'}, 'P123', 'Q44281']
SELECT DISTINCT ?w WHERE { ?w property:P123 resource:Q36380 . ?w rdf:type ontology:Q21114848 }
Journal de Trévoux
Journal de Trévoux was published by that religious organization
Journal de Trévoux
action filter_type
action find_reverse
entity Society of Jesus
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Ignatius of Loyola']
SELECT DISTINCT ?w WHERE { ?w property:publisher resource:Society_of_Jesus . ?w rdf:type ontology:magazine_genre }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids have been dubbed by min number of people ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?s ) WHERE { ?j property:P725 ?h . ?j rdf:type ontology:Q6619679 . ?h rdf:type ontology:Q502895 } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?b ) WHERE { ?t property:P725 ?q . ?t rdf:type ontology:Q6619679 . ?q rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?b = ?g ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?s ) WHERE { ?j property:voice_actor ?h . ?j rdf:type ontology:fictional_humanoid . ?h rdf:type ontology:common_name } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?b ) WHERE { ?t property:voice_actor ?q . ?t rdf:type ontology:fictional_humanoid . ?q rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?b = ?g ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[ANSWERS] have been dubbed by min number of people
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?s ) WHERE { ?j property:P725 ?h . ?j rdf:type ontology:Q6619679 . ?h rdf:type ontology:Q502895 } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?b ) WHERE { ?t property:P725 ?q . ?t rdf:type ontology:Q6619679 . ?q rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?b = ?g ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Hector Barbossa, Eli Vance and Imoen have been dubbed by min number of people
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?s ) WHERE { ?j property:voice_actor ?h . ?j rdf:type ontology:fictional_humanoid . ?h rdf:type ontology:common_name } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?b ) WHERE { ?t property:voice_actor ?q . ?t rdf:type ontology:fictional_humanoid . ?q rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?b = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q41176 Q482994
USER
Which people are max number of buildings or albums dedicated to ?
(c(Q41176)|c(Q482994),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
[[{'concept': 'Q41176'}, {'concept': 'Q482994'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?k WHERE { { ?g property:P825 ?k . ?k rdf:type ontology:Q502895 . ?g rdf:type ontology:Q41176 } UNION { ?g property:P825 ?k . ?g rdf:type ontology:Q482994 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?p WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:Q41176 ) ( ontology:Q482994 ) } } GROUP BY ?p } }
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
[[{'concept': 'building'}, {'concept': 'album'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?k WHERE { { ?g property:dedicated_to ?k . ?k rdf:type ontology:common_name . ?g rdf:type ontology:building } UNION { ?g property:dedicated_to ?k . ?g rdf:type ontology:album . ?k rdf:type ontology:common_name } } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?p WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:building ) ( ontology:album ) } } GROUP BY ?p } }
[]
common name building album
Q392
SYSTEM
Bob Dylan
Q392
(c(Q41176)|c(Q482994),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
Max number of buildings or albums are named [ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q482994'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?k WHERE { { ?g property:P825 ?k . ?k rdf:type ontology:Q502895 . ?g rdf:type ontology:Q41176 } UNION { ?g property:P825 ?k . ?g rdf:type ontology:Q482994 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?p WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:Q41176 ) ( ontology:Q482994 ) } } GROUP BY ?p } }
Bob Dylan
Max number of buildings or albums are named Bob Dylan
Bob Dylan
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
[[{'concept': 'building'}, {'concept': 'album'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?k WHERE { { ?g property:dedicated_to ?k . ?k rdf:type ontology:common_name . ?g rdf:type ontology:building } UNION { ?g property:dedicated_to ?k . ?g rdf:type ontology:album . ?k rdf:type ontology:common_name } } GROUP BY ?k } } . FILTER ( ?m = ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?p WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:building ) ( ontology:album ) } } GROUP BY ?p } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q392
P110
Q2342494
USER
Which collectable had an illustration done by that person ?
(c(Q2342494),P110,Q392)
action filter_type
action find_reverse
entity Q392
relation P110
type Q2342494
[{'concept': 'Q2342494'}, 'P110', 'Q392']
SELECT DISTINCT ?v WHERE { ?v property:P110 resource:Q392 . ?v rdf:type ontology:Q2342494 }
Bob Dylan
action filter_type
action find_reverse
entity Bob Dylan
relation illustrator
type collectable
[{'concept': 'collectable'}, 'illustrator', 'Bob Dylan']
SELECT DISTINCT ?v WHERE { ?v property:illustrator resource:Bob_Dylan . ?v rdf:type ontology:collectable }
[]
collectable
Q4566693
SYSTEM
Writings and Drawings
Q4566693
(c(Q2342494),P110,Q392)
action filter_type
action find_reverse
entity Q392
relation P110
type Q2342494
[ANSWER] had an illustration done by that person
[{'concept': 'Q2342494'}, 'P110', 'Q392']
SELECT DISTINCT ?v WHERE { ?v property:P110 resource:Q392 . ?v rdf:type ontology:Q2342494 }
Writings and Drawings
Writings and Drawings had an illustration done by that person
Writings and Drawings
action filter_type
action find_reverse
entity Bob Dylan
relation illustrator
type collectable
[{'concept': 'collectable'}, 'illustrator', 'Bob Dylan']
SELECT DISTINCT ?v WHERE { ?v property:illustrator resource:Bob_Dylan . ?v rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44281
P20
Q56061
USER
Where did Ignatius of Loyola expire ?
(Q44281,P20,c(Q56061))
action filter_type
action find
entity Q44281
relation P20
type Q56061
['Q44281', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q44281 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Ignatius of Loyola
action filter_type
action find
entity Ignatius of Loyola
relation place of death
type administrative territorial entity
['Ignatius of Loyola', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ignatius_of_Loyola property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q44281,P20,c(Q56061))
action filter_type
action find
entity Q44281
relation P20
type Q56061
Ignatius of Loyola expired in [ANSWER]
['Q44281', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q44281 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Rome
Ignatius of Loyola expired in Rome
Rome
action filter_type
action find
entity Ignatius of Loyola
relation place of death
type administrative territorial entity
['Ignatius of Loyola', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ignatius_of_Loyola property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P206
Q15324
USER
Which body of water is situated close to that administrative territory ?
(Q220,P206,c(Q15324))
action filter_type
action find
entity Q220
relation P206
type Q15324
['Q220', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q220 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Rome
action filter_type
action find
entity Rome
relation located next to body of water
type body of water
['Rome', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Rome property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
body of water
Q38882
SYSTEM
Tyrrhenian Sea
Q38882
(Q220,P206,c(Q15324))
action filter_type
action find
entity Q220
relation P206
type Q15324
Of [ANSWER] is situated close to that administrative territory
['Q220', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q220 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Tyrrhenian Sea
Of Tyrrhenian Sea is situated close to that administrative territory
Tyrrhenian Sea
action filter_type
action find
entity Rome
relation located next to body of water
type body of water
['Rome', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Rome property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q220
Q355304
USER
And which watercourse?
(Q220,P206,c(Q355304))
action filter_type
action find
entity Q220
relation P206
type Q355304
['Q220', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q220 property:P206 ?a . ?a rdf:type ontology:Q355304 }
Rome
action filter_type
action find
entity Rome
relation located next to body of water
type watercourse
['Rome', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Rome property:located_next_to_body_of_water ?a . ?a rdf:type ontology:watercourse }
[]
watercourse
Q546600 Q13712
SYSTEM
Aniene, Tiber
Q546600 Q13712
(Q220,P206,c(Q355304))
action filter_type
action find
entity Q220
relation P206
type Q355304
[ANSWERS]
['Q220', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q220 property:P206 ?a . ?a rdf:type ontology:Q355304 }
Aniene Tiber
Aniene Tiber
action filter_type
action find
entity Rome
relation located next to body of water
type watercourse
['Rome', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Rome property:located_next_to_body_of_water ?a . ?a rdf:type ontology:watercourse }
[]