Simple Question (Direct)
Simple Question
Q3270747
P21
Q290
USER
Which sex does Léon Boissier-Palun possess ?
(Q3270747,P21,c(Q290))
action filter_type
action find
entity Q3270747
relation P21
type Q290
['Q3270747', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3270747 property:P21 ?l . ?l rdf:type ontology:Q290 }
Léon Boissier-Palun
action filter_type
action find
entity Léon Boissier-Palun
relation gender
type sex
['Léon Boissier-Palun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Léon_Boissier-Palun property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3270747,P21,c(Q290))
action filter_type
action find
entity Q3270747
relation P21
type Q290
Léon Boissier-Palun possesses un [ANSWER]
['Q3270747', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3270747 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Léon Boissier-Palun possesses un male
male
action filter_type
action find
entity Léon Boissier-Palun
relation gender
type sex
['Léon Boissier-Palun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Léon_Boissier-Palun property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3270747
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q3270747
relation P102
type Q7210356
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q3270747 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Léon Boissier-Palun
action filter_type
action find
entity Léon Boissier-Palun
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Léon_Boissier-Palun property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q2364065
SYSTEM
Senegalese Democratic Bloc
Q2364065
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q3270747
relation P102
type Q7210356
[ANSWER] is that person a member of
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q3270747 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Senegalese Democratic Bloc
Senegalese Democratic Bloc is that person a member of
Senegalese Democratic Bloc
action filter_type
action find
entity Léon Boissier-Palun
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Léon_Boissier-Palun property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3270747
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q2364065,P20,c(Q56061))
action filter_type
action find
entity Q3270747
relation P20
type Q56061
['Q2364065', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q3270747 property:P20 ?v }
Léon Boissier-Palun
action filter_type
action find
entity Léon Boissier-Palun
relation place of death
type administrative territorial entity
['Senegalese Democratic Bloc', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Léon_Boissier-Palun property:place_of_death ?v }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2364065,P20,c(Q56061))
action filter_type
action find
entity Q3270747
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q2364065', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q3270747 property:P20 ?v }
Paris
The expiration of that person occurred in Paris
Paris
action filter_type
action find
entity Léon Boissier-Palun
relation place of death
type administrative territorial entity
['Senegalese Democratic Bloc', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Léon_Boissier-Palun property:place_of_death ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3270747
P106
Q12737077
USER
Which occupations have Léon Boissier-Palun as his/her 's career ?
(Q3270747,P106,c(Q12737077))
action filter_type
action find
entity Q3270747
relation P106
type Q12737077
['Q3270747', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3270747 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Léon Boissier-Palun
action filter_type
action find
entity Léon Boissier-Palun
relation occupation
type occupation
['Léon Boissier-Palun', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Léon_Boissier-Palun property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q3270747,P106,c(Q12737077))
action filter_type
action find
entity Q3270747
relation P106
type Q12737077
The [ANSWERS] have Léon Boissier-Palun as his/her 's career
['Q3270747', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3270747 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
diplomat politician
The diplomat and politician have Léon Boissier-Palun as his/her 's career
diplomat politician
action filter_type
action find
entity Léon Boissier-Palun
relation occupation
type occupation
['Léon Boissier-Palun', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Léon_Boissier-Palun property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of around 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 . ?o property:P417 ?q } GROUP BY ?q } . FILTER ( ?t = 2 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:occupation . ?q rdf:type ontology:common_name . ?o property:patron_saint ?q } GROUP BY ?q } . FILTER ( ?t = 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the names of person who are the patron saints of around 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 . ?o property:P417 ?q } GROUP BY ?q } . FILTER ( ?t = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the names of person who are the patron saints of around 2 occupations
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:occupation . ?q rdf:type ontology:common_name . ?o property:patron_saint ?q } GROUP BY ?q } . FILTER ( ?t = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q166876 Q229190 Q44248
P417
Q12737077
USER
Which occupations have adopted those people as patron saint ?
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44248)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44248']
SELECT DISTINCT ?i WHERE { VALUES ( ?p ) { ( resource:Q229190 ) ( resource:Q328804 ) ( resource:Q166876 ) } . ?i property:P417 ?p . ?i rdf:type ontology:Q12737077 }
Isidore of Seville Catherine of Siena Jerome
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Jerome']
SELECT DISTINCT ?i WHERE { VALUES ( ?p ) { ( resource:Catherine_of_Siena ) ( resource:John_the_Evangelist ) ( resource:Isidore_of_Seville ) } . ?i property:patron_saint ?p . ?i rdf:type ontology:occupation }
[]
occupation
Q131512 Q186360 Q182436
SYSTEM
farmer, nurse, librarian
Q131512 Q82594 Q107711 Q186360 Q182436 Q3621491
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44248)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[ANSWERS] have adopted those people as patron saint
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44248']
SELECT DISTINCT ?i WHERE { VALUES ( ?p ) { ( resource:Q229190 ) ( resource:Q328804 ) ( resource:Q166876 ) } . ?i property:P417 ?p . ?i rdf:type ontology:Q12737077 }
farmer computer scientist firefighter nurse librarian archaeologist
Farmer, nurse and librarian have adopted those people as patron saint
farmer nurse librarian
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Jerome']
SELECT DISTINCT ?i WHERE { VALUES ( ?p ) { ( resource:Catherine_of_Siena ) ( resource:John_the_Evangelist ) ( resource:Isidore_of_Seville ) } . ?i property:patron_saint ?p . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P921
Q223393
USER
Which literary genre has politician as its main topic ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q82955 . ?x rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:politician . ?x rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER] has politician as its main topic
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q82955 . ?x rdf:type ontology:Q223393 }
worldstatesmen
Worldstatesmen has politician as its main topic
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:politician . ?x rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q21815179)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q21815179']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q82955 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'worldstatesmen']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:position_held resource:politician }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q21815179)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q21815179']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P39 resource:Q82955 }
Morteza Azari
Morteza Azari held the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'worldstatesmen']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:position_held resource:politician }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q26215129 Q4928610 Q12106909
P19
Q56061
USER
Does that person have birthplace at Blowinghouse and Zoița ?
(Q26215129,P19,Q4928610) (Q26215129,P19,Q12106909)
action is_in
entity Q26215129
action intersection
action find_reverse
entity Q4928610
relation P19
action find_reverse
entity Q12106909
relation P19
['Q26215129', 'P19', 'Q4928610'] ['Q26215129', 'P19', 'Q12106909']
ASK WHERE { resource:Q26215129 property:P19 resource:Q4928610 . resource:Q26215129 property:P19 resource:Q12106909 }
Morteza Azari Blowinghouse Zoița
action is_in
entity Morteza Azari
action intersection
action find_reverse
entity Blowinghouse
relation place of birth
action find_reverse
entity Zoița
relation place of birth
['Morteza Azari', 'place of birth', 'Blowinghouse'] ['Morteza Azari', 'place of birth', 'Zoița']
ASK WHERE { resource:Morteza_Azari property:place_of_birth resource:Blowinghouse . resource:Morteza_Azari property:place_of_birth resource:Zoița }
[]
administrative territorial entity
SYSTEM
NO
(Q26215129,P19,Q4928610) (Q26215129,P19,Q12106909)
action is_in
entity Q26215129
action intersection
action find_reverse
entity Q4928610
relation P19
action find_reverse
entity Q12106909
relation P19
[ANSWER]
['Q26215129', 'P19', 'Q4928610'] ['Q26215129', 'P19', 'Q12106909']
ASK WHERE { resource:Q26215129 property:P19 resource:Q4928610 . resource:Q26215129 property:P19 resource:Q12106909 }
No
action is_in
entity Morteza Azari
action intersection
action find_reverse
entity Blowinghouse
relation place of birth
action find_reverse
entity Zoița
relation place of birth
['Morteza Azari', 'place of birth', 'Blowinghouse'] ['Morteza Azari', 'place of birth', 'Zoița']
ASK WHERE { resource:Morteza_Azari property:place_of_birth resource:Blowinghouse . resource:Morteza_Azari property:place_of_birth resource:Zoița }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q229190 Q15179366 Q16472192
P20
Q56061
USER
Does Catherine of Siena have Alirezavandi, Govar and Sekonys as the area of death ?
(Q229190,P20,Q15179366) (Q229190,P20,Q16472192)
action is_in
entity Q229190
action intersection
action find_reverse
entity Q15179366
relation P20
action find_reverse
entity Q16472192
relation P20
['Q229190', 'P20', 'Q15179366'] ['Q229190', 'P20', 'Q16472192']
ASK WHERE { resource:Q229190 property:P20 resource:Q15179366 . resource:Q229190 property:P20 resource:Q16472192 }
Catherine of Siena Alirezavandi, Govar Sekonys
action is_in
entity Catherine of Siena
action intersection
action find_reverse
entity Alirezavandi, Govar
relation place of death
action find_reverse
entity Sekonys
relation place of death
['Catherine of Siena', 'place of death', 'Alirezavandi, Govar'] ['Catherine of Siena', 'place of death', 'Sekonys']
ASK WHERE { resource:Catherine_of_Siena property:place_of_death resource:Alirezavandi,_Govar . resource:Catherine_of_Siena property:place_of_death resource:Sekonys }
[]
administrative territorial entity
SYSTEM
NO
(Q229190,P20,Q15179366) (Q229190,P20,Q16472192)
action is_in
entity Q229190
action intersection
action find_reverse
entity Q15179366
relation P20
action find_reverse
entity Q16472192
relation P20
[ANSWER]
['Q229190', 'P20', 'Q15179366'] ['Q229190', 'P20', 'Q16472192']
ASK WHERE { resource:Q229190 property:P20 resource:Q15179366 . resource:Q229190 property:P20 resource:Q16472192 }
No
action is_in
entity Catherine of Siena
action intersection
action find_reverse
entity Alirezavandi, Govar
relation place of death
action find_reverse
entity Sekonys
relation place of death
['Catherine of Siena', 'place of death', 'Alirezavandi, Govar'] ['Catherine of Siena', 'place of death', 'Sekonys']
ASK WHERE { resource:Catherine_of_Siena property:place_of_death resource:Alirezavandi,_Govar . resource:Catherine_of_Siena property:place_of_death resource:Sekonys }
[]