Simple Question (Direct)
Simple Question
Q471114
P140
Q879146
USER
Which Christian denomination does Père Jacques correspond to ?
(Q471114,P140,c(Q879146))
action filter_type
action find
entity Q471114
relation P140
type Q879146
['Q471114', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q471114 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Père Jacques
action filter_type
action find
entity Père Jacques
relation religion
type Christian denomination
['Père Jacques', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Père_Jacques property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q471114,P140,c(Q879146))
action filter_type
action find
entity Q471114
relation P140
type Q879146
Père Jacques corresponds to [ANSWER]
['Q471114', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q471114 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Roman Catholic Church
Père Jacques corresponds to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Père Jacques
relation religion
type Christian denomination
['Père Jacques', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Père_Jacques property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q471114
P611
Q1530022
USER
What religion is Père Jacques affiliated to ?
(Q471114,P611,c(Q1530022))
action filter_type
action find
entity Q471114
relation P611
type Q1530022
['Q471114', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?l WHERE { resource:Q471114 property:P611 ?l . ?l rdf:type ontology:Q1530022 }
Père Jacques
action filter_type
action find
entity Père Jacques
relation religious order
type religious organization
['Père Jacques', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?l WHERE { resource:Père_Jacques property:religious_order ?l . ?l rdf:type ontology:religious_organization }
[]
religious organization
Q186277
SYSTEM
Carmelites
Q186277
(Q471114,P611,c(Q1530022))
action filter_type
action find
entity Q471114
relation P611
type Q1530022
Père Jacques is affiliated with [ANSWER]
['Q471114', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?l WHERE { resource:Q471114 property:P611 ?l . ?l rdf:type ontology:Q1530022 }
Carmelites
Père Jacques is affiliated with Carmelites
Carmelites
action filter_type
action find
entity Père Jacques
relation religious order
type religious organization
['Père Jacques', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?l WHERE { resource:Père_Jacques property:religious_order ?l . ?l rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q471114
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q186277,P20,c(Q56061))
action filter_type
action find
entity Q471114
relation P20
type Q56061
['Q186277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q471114 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Père Jacques
action filter_type
action find
entity Père Jacques
relation place of death
type administrative territorial entity
['Carmelites', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Père_Jacques property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41329
SYSTEM
Linz
Q41329
(Q186277,P20,c(Q56061))
action filter_type
action find
entity Q471114
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q186277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q471114 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Linz
Linz is the place of death of that person
Linz
action filter_type
action find
entity Père Jacques
relation place of death
type administrative territorial entity
['Carmelites', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Père_Jacques property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41329
P138
Q17444909
USER
Which astronomical object type is the eponym of that administrative territory ?
(c(Q17444909),P138,Q41329)
action filter_type
action find_reverse
entity Q41329
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q41329']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q17444909 . ?l property:P138 resource:Q41329 }
Linz
action filter_type
action find_reverse
entity Linz
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Linz']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:astronomical_object_type . ?l property:named_after resource:Linz }
[]
astronomical object type
Q139587
SYSTEM
1469 Linzia
Q139587
(c(Q17444909),P138,Q41329)
action filter_type
action find_reverse
entity Q41329
relation P138
type Q17444909
[ANSWER] is the eponym of that administrative territory
[{'concept': 'Q17444909'}, 'P138', 'Q41329']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q17444909 . ?l property:P138 resource:Q41329 }
1469 Linzia
1469 Linzia is the eponym of that administrative territory
1469 Linzia
action filter_type
action find_reverse
entity Linz
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Linz']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:astronomical_object_type . ?l property:named_after resource:Linz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q139587
P196
Q6999
USER
What is the minor planet group of that astronomical object type ?
(Q139587,P196,c(Q6999))
action filter_type
action find
entity Q139587
relation P196
type Q6999
['Q139587', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?t WHERE { resource:Q139587 property:P196 ?t . ?t rdf:type ontology:Q6999 }
1469 Linzia
action filter_type
action find
entity 1469 Linzia
relation minor planet group
type astronomical object
['1469 Linzia', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?t WHERE { resource:1469_Linzia property:minor_planet_group ?t . ?t rdf:type ontology:astronomical_object }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
(Q139587,P196,c(Q6999))
action filter_type
action find
entity Q139587
relation P196
type Q6999
The minor planet group of that astronomical object type is an [ANSWER]
['Q139587', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?t WHERE { resource:Q139587 property:P196 ?t . ?t rdf:type ontology:Q6999 }
asteroid belt
The minor planet group of that astronomical object type is an asteroid belt
asteroid belt
action filter_type
action find
entity 1469 Linzia
relation minor planet group
type astronomical object
['1469 Linzia', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?t WHERE { resource:1469_Linzia property:minor_planet_group ?t . ?t rdf:type ontology:astronomical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9592
P463
Q618779 Q502895
USER
How many awards or people are a part of Roman Catholic Church ?
(c(Q618779),P463,Q9592) (c(Q502895),P463,Q9592)
action count
action union
action filter_type
action find_reverse
entity Q9592
relation P463
type Q618779
action filter_type
action find_reverse
entity Q9592
relation P463
type Q502895
[{'concept': 'Q618779'}, 'P463', 'Q9592'] [{'concept': 'Q502895'}, 'P463', 'Q9592']
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b property:P463 resource:Q9592 . ?b rdf:type ontology:Q618779 } UNION { ?b property:P463 resource:Q9592 . ?b rdf:type ontology:Q502895 } }
Roman Catholic Church
action count
action union
action filter_type
action find_reverse
entity Roman Catholic Church
relation member of
type award
action filter_type
action find_reverse
entity Roman Catholic Church
relation member of
type common name
[{'concept': 'award'}, 'member of', 'Roman Catholic Church'] [{'concept': 'common name'}, 'member of', 'Roman Catholic Church']
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b property:member_of resource:Roman_Catholic_Church . ?b rdf:type ontology:award } UNION { ?b property:member_of resource:Roman_Catholic_Church . ?b rdf:type ontology:common_name } }
[]
award common name
SYSTEM
2
Q10392956 Q830796
(c(Q618779),P463,Q9592) (c(Q502895),P463,Q9592)
action count
action union
action filter_type
action find_reverse
entity Q9592
relation P463
type Q618779
action filter_type
action find_reverse
entity Q9592
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q618779'}, 'P463', 'Q9592'] [{'concept': 'Q502895'}, 'P463', 'Q9592']
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b property:P463 resource:Q9592 . ?b rdf:type ontology:Q618779 } UNION { ?b property:P463 resource:Q9592 . ?b rdf:type ontology:Q502895 } }
Waldir Lopes de Castro Order of Saint Lazarus
2
action count
action union
action filter_type
action find_reverse
entity Roman Catholic Church
relation member of
type award
action filter_type
action find_reverse
entity Roman Catholic Church
relation member of
type common name
[{'concept': 'award'}, 'member of', 'Roman Catholic Church'] [{'concept': 'common name'}, 'member of', 'Roman Catholic Church']
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b property:member_of resource:Roman_Catholic_Church . ?b rdf:type ontology:award } UNION { ?b property:member_of resource:Roman_Catholic_Church . ?b rdf:type ontology:common_name } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q17444909 Q15324
USER
Which bodies of water are named after max number of astronomical object types ?
(c(Q15324),P138,c(Q17444909))
action argmax
action find_tuple_counts
relation P138
type Q15324
type Q17444909
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?k property:P138 ?i . ?k rdf:type ontology:Q15324 . ?i rdf:type ontology:Q17444909 } GROUP BY ?k } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?d ) WHERE { ?z rdf:type ontology:Q15324 . ?j rdf:type ontology:Q17444909 . ?z property:P138 ?j } GROUP BY ?z } }
action argmax
action find_tuple_counts
relation named after
type body of water
type astronomical object type
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?k property:named_after ?i . ?k rdf:type ontology:body_of_water . ?i rdf:type ontology:astronomical_object_type } GROUP BY ?k } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?d ) WHERE { ?z rdf:type ontology:body_of_water . ?j rdf:type ontology:astronomical_object_type . ?z property:named_after ?j } GROUP BY ?z } }
[]
astronomical object type body of water
Q21823246 Q21855512
SYSTEM
Aldebaran Glacier, Jupiter Glacier
Q21823246 Q21855512
(c(Q15324),P138,c(Q17444909))
action argmax
action find_tuple_counts
relation P138
type Q15324
type Q17444909
[ANSWERS] are named after max number of astronomical object types
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?k property:P138 ?i . ?k rdf:type ontology:Q15324 . ?i rdf:type ontology:Q17444909 } GROUP BY ?k } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?d ) WHERE { ?z rdf:type ontology:Q15324 . ?j rdf:type ontology:Q17444909 . ?z property:P138 ?j } GROUP BY ?z } }
Aldebaran Glacier Jupiter Glacier
Aldebaran Glacier and Jupiter Glacier are named after max number of astronomical object types
Aldebaran Glacier Jupiter Glacier
action argmax
action find_tuple_counts
relation named after
type body of water
type astronomical object type
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?k property:named_after ?i . ?k rdf:type ontology:body_of_water . ?i rdf:type ontology:astronomical_object_type } GROUP BY ?k } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?d ) WHERE { ?z rdf:type ontology:body_of_water . ?j rdf:type ontology:astronomical_object_type . ?z property:named_after ?j } GROUP BY ?z } }
[]