Simple Question (Direct)
Simple Question
Q1479282
P106
Q12737077
USER
What does Mathias Kappil do for a living ?
(Q1479282,P106,c(Q12737077))
action filter_type
action find
entity Q1479282
relation P106
type Q12737077
['Q1479282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1479282 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Mathias Kappil
action filter_type
action find
entity Mathias Kappil
relation occupation
type occupation
['Mathias Kappil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Mathias_Kappil property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q250867
SYSTEM
Catholic priest
Q250867
(Q1479282,P106,c(Q12737077))
action filter_type
action find
entity Q1479282
relation P106
type Q12737077
Mathias Kappil does a [ANSWER] for a living
['Q1479282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1479282 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Catholic priest
Mathias Kappil does a Catholic priest for a living
Catholic priest
action filter_type
action find
entity Mathias Kappil
relation occupation
type occupation
['Mathias Kappil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Mathias_Kappil property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1479282
P140
Q879146
USER
What is the religion associated with Mathias Kappil ?
(Q1479282,P140,c(Q879146))
action filter_type
action find
entity Q1479282
relation P140
type Q879146
['Q1479282', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q1479282 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Mathias Kappil
action filter_type
action find
entity Mathias Kappil
relation religion
type Christian denomination
['Mathias Kappil', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Mathias_Kappil property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1479282,P140,c(Q879146))
action filter_type
action find
entity Q1479282
relation P140
type Q879146
The religion associated with Mathias Kappil is a [ANSWER]
['Q1479282', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q1479282 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with Mathias Kappil is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Mathias Kappil
relation religion
type Christian denomination
['Mathias Kappil', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Mathias_Kappil property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1479282
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q1479282
relation P39
type Q12737077
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1479282 property:P39 ?b }
Mathias Kappil
action filter_type
action find
entity Mathias Kappil
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Mathias_Kappil property:position_held ?b }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q1479282
relation P39
type Q12737077
[ANSWER] was a position for which that person was appointed
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1479282 property:P39 ?b }
bishop
Bishop was a position for which that person was appointed
bishop
action filter_type
action find
entity Mathias Kappil
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Mathias_Kappil property:position_held ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1479282
P20
Q56061
USER
Where did the expiration of Mathias Kappil occur ?
(Q1479282,P20,c(Q56061))
action filter_type
action find
entity Q1479282
relation P20
type Q56061
['Q1479282', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1479282 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Mathias Kappil
action filter_type
action find
entity Mathias Kappil
relation place of death
type administrative territorial entity
['Mathias Kappil', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mathias_Kappil property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q659887
SYSTEM
Kottayam
Q659887
(Q1479282,P20,c(Q56061))
action filter_type
action find
entity Q1479282
relation P20
type Q56061
The expiration of Mathias Kappil occurred in [ANSWER]
['Q1479282', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1479282 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Kottayam
The expiration of Mathias Kappil occurred in Kottayam
Kottayam
action filter_type
action find
entity Mathias Kappil
relation place of death
type administrative territorial entity
['Mathias Kappil', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mathias_Kappil property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1479282
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q659887,P19,c(Q56061))
action filter_type
action find
entity Q1479282
relation P19
type Q56061
['Q659887', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1479282 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Mathias Kappil
action filter_type
action find
entity Mathias Kappil
relation place of birth
type administrative territorial entity
['Kottayam', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mathias_Kappil property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q321475
SYSTEM
Kollam
Q321475
(Q659887,P19,c(Q56061))
action filter_type
action find
entity Q1479282
relation P19
type Q56061
That person was born in [ANSWER]
['Q659887', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1479282 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Kollam
That person was born in Kollam
Kollam
action filter_type
action find
entity Mathias Kappil
relation place of birth
type administrative territorial entity
['Kottayam', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mathias_Kappil property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q321475 Q6817842 Q668
P17
Q15617994
USER
Is that administrative territory located in Mequon-Thiensville School District and India ?
(Q321475,P17,Q6817842) (Q321475,P17,Q668)
action is_in
entity Q321475
action intersection
action find_reverse
entity Q6817842
relation P17
action find_reverse
entity Q668
relation P17
['Q321475', 'P17', 'Q6817842'] ['Q321475', 'P17', 'Q668']
ASK WHERE { resource:Q321475 property:P17 resource:Q6817842 . resource:Q321475 property:P17 resource:Q668 }
Kollam Mequon-Thiensville School District India
action is_in
entity Kollam
action intersection
action find_reverse
entity Mequon-Thiensville School District
relation country
action find_reverse
entity India
relation country
['Kollam', 'country', 'Mequon-Thiensville School District'] ['Kollam', 'country', 'India']
ASK WHERE { resource:Kollam property:country resource:Mequon-Thiensville_School_District . resource:Kollam property:country resource:India }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q321475,P17,Q6817842) (Q321475,P17,Q668)
action is_in
entity Q321475
action intersection
action find_reverse
entity Q6817842
relation P17
action find_reverse
entity Q668
relation P17
[ANSWER]
['Q321475', 'P17', 'Q6817842'] ['Q321475', 'P17', 'Q668']
ASK WHERE { resource:Q321475 property:P17 resource:Q6817842 . resource:Q321475 property:P17 resource:Q668 }
NO and YES respectively
action is_in
entity Kollam
action intersection
action find_reverse
entity Mequon-Thiensville School District
relation country
action find_reverse
entity India
relation country
['Kollam', 'country', 'Mequon-Thiensville School District'] ['Kollam', 'country', 'India']
ASK WHERE { resource:Kollam property:country resource:Mequon-Thiensville_School_District . resource:Kollam property:country resource:India }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q321475
P21 P20
Q502895
USER
Which people expired at Kollam and are a male ?
AND((c(Q502895),P20,Q321475), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q321475
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q321475'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P20 resource:Q321475 . ?m property:P21 resource:Q6581097 }
male Kollam
action filter_type
action intersection
action find_reverse
entity Kollam
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Kollam'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_death resource:Kollam . ?m property:gender resource:male }
[]
common name
Q6764433 Q1099988 Q1064928 Q2474442 Q7943130 Q3525190 Q1277930
SYSTEM
N. Sreekantan Nair, Clemens Joseph Colaco Leitao, Charles Hyacinth Valerga, Thirunalloor Karunakaran, Vrindavanam Venugopalan, Kakkanadan, Ildephons Borgna
Q6764433 Q1099988 Q1064928 Q2474442 Q7943130 Q3525190 Q1277930
AND((c(Q502895),P20,Q321475), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q321475
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] expired at Kollam and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q321475'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P20 resource:Q321475 . ?m property:P21 resource:Q6581097 }
N. Sreekantan Nair Clemens Joseph Colaco Leitao Charles Hyacinth Valerga Thirunalloor Karunakaran Vrindavanam Venugopalan Kakkanadan Ildephons Borgna
N. Sreekantan Nair, Clemens Joseph Colaco Leitao, Charles Hyacinth Valerga, Thirunalloor Karunakaran, Vrindavanam Venugopalan, Kakkanadan and Ildephons Borgna expired at Kollam and are a male
N. Sreekantan Nair Clemens Joseph Colaco Leitao Charles Hyacinth Valerga Thirunalloor Karunakaran Vrindavanam Venugopalan Kakkanadan Ildephons Borgna
action filter_type
action intersection
action find_reverse
entity Kollam
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Kollam'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_death resource:Kollam . ?m property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q206987
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as vibraphone ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q206987
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:Q34379 . resource:Q206987 property:P1303 ?t } } . FILTER ( ?q = ?h ) }
vibraphone
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:musical_instrument . resource:vibraphone property:instrument ?t } } . FILTER ( ?q = ?h ) }
[]
musical instrument common name
SYSTEM
61
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q206987
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:Q34379 . resource:Q206987 property:P1303 ?t } } . FILTER ( ?q = ?h ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
61
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:musical_instrument . resource:vibraphone property:instrument ?t } } . FILTER ( ?q = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11451041 Q2474442
P27
Q15617994
USER
Which administrative territories are Thirunalloor Karunakaran or Mikita Yasuda an inhabitant of ?
OR((Q2474442,P27,c(Q15617994)), (Q11451041,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2474442
relation P27
action find
entity Q11451041
relation P27
type Q15617994
{'OR': [['Q2474442', 'P27', {'concept': 'Q15617994'}], ['Q11451041', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q2474442 property:P27 ?o } UNION { resource:Q11451041 property:P27 ?o } } }
Mikita Yasuda Thirunalloor Karunakaran
action filter_type
action union
action find
entity Thirunalloor Karunakaran
relation country of citizenship
action find
entity Mikita Yasuda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thirunalloor Karunakaran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mikita Yasuda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Thirunalloor_Karunakaran property:country_of_citizenship ?o } UNION { resource:Mikita_Yasuda property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q17 Q668
SYSTEM
Japan, India
Q17 Q668
OR((Q2474442,P27,c(Q15617994)), (Q11451041,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2474442
relation P27
action find
entity Q11451041
relation P27
type Q15617994
[ANSWERS] are Thirunalloor Karunakaran or Mikita Yasuda an inhabitant of
{'OR': [['Q2474442', 'P27', {'concept': 'Q15617994'}], ['Q11451041', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q2474442 property:P27 ?o } UNION { resource:Q11451041 property:P27 ?o } } }
Japan India
Japan and India are Thirunalloor Karunakaran or Mikita Yasuda an inhabitant of
Japan India
action filter_type
action union
action find
entity Thirunalloor Karunakaran
relation country of citizenship
action find
entity Mikita Yasuda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thirunalloor Karunakaran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mikita Yasuda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Thirunalloor_Karunakaran property:country_of_citizenship ?o } UNION { resource:Mikita_Yasuda property:country_of_citizenship ?o } } }
[]