Simple Question (Direct)
Simple Question
Q6681775
P21
Q290
USER
What is the sex of Lorus Pratt ?
(Q6681775,P21,c(Q290))
action filter_type
action find
entity Q6681775
relation P21
type Q290
['Q6681775', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q6681775 property:P21 ?b . ?b rdf:type ontology:Q290 }
Lorus Pratt
action filter_type
action find
entity Lorus Pratt
relation gender
type sex
['Lorus Pratt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Lorus_Pratt property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6681775,P21,c(Q290))
action filter_type
action find
entity Q6681775
relation P21
type Q290
The sex of Lorus Pratt is the [ANSWER]
['Q6681775', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q6681775 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Lorus Pratt is the male
male
action filter_type
action find
entity Lorus Pratt
relation gender
type sex
['Lorus Pratt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Lorus_Pratt property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6681775
P463
Q13414953
USER
Which organization was that person a member of ?
(Q6581097,P463,c(Q13414953))
action filter_type
action find
entity Q6681775
relation P463
type Q13414953
['Q6581097', 'P463', {'concept': 'Q13414953'}]
SELECT DISTINCT ?h WHERE { resource:Q6681775 property:P463 ?h . ?h rdf:type ontology:Q13414953 }
Lorus Pratt
action filter_type
action find
entity Lorus Pratt
relation member of
type religious denomination
['male', 'member of', {'concept': 'religious denomination'}]
SELECT DISTINCT ?h WHERE { resource:Lorus_Pratt property:member_of ?h . ?h rdf:type ontology:religious_denomination }
[]
religious denomination
Q42504
SYSTEM
The Church of Jesus Christ of Latter-day Saints
Q42504
(Q6581097,P463,c(Q13414953))
action filter_type
action find
entity Q6681775
relation P463
type Q13414953
[ANSWER] was that person a member of
['Q6581097', 'P463', {'concept': 'Q13414953'}]
SELECT DISTINCT ?h WHERE { resource:Q6681775 property:P463 ?h . ?h rdf:type ontology:Q13414953 }
The Church of Jesus Christ of Latter-day Saints
The Church of Jesus Christ of Latter-day Saints was that person a member of
The Church of Jesus Christ of Latter-day Saints
action filter_type
action find
entity Lorus Pratt
relation member of
type religious denomination
['male', 'member of', {'concept': 'religious denomination'}]
SELECT DISTINCT ?h WHERE { resource:Lorus_Pratt property:member_of ?h . ?h rdf:type ontology:religious_denomination }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 223 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 223
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?l = 223 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 223
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?l = 223 ) }
[]
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
value 223
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?l = 223 ) }
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
value 223
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?l = 223 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2652435 Q6681775
P27
Q15617994
USER
Which administrative territories are the native countriesof Lorus Pratt or Leonard Peterson ?
OR((Q6681775,P27,c(Q15617994)), (Q2652435,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6681775
relation P27
action find
entity Q2652435
relation P27
type Q15617994
{'OR': [['Q6681775', 'P27', {'concept': 'Q15617994'}], ['Q2652435', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q6681775 property:P27 ?i } UNION { resource:Q2652435 property:P27 ?i } } }
Leonard Peterson Lorus Pratt
action filter_type
action union
action find
entity Lorus Pratt
relation country of citizenship
action find
entity Leonard Peterson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lorus Pratt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leonard Peterson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lorus_Pratt property:country_of_citizenship ?i } UNION { resource:Leonard_Peterson property:country_of_citizenship ?i } } }
[]
designation for an administrative territorial entity
Q30 Q34
SYSTEM
United States of America, Sweden
Q30 Q34
OR((Q6681775,P27,c(Q15617994)), (Q2652435,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6681775
relation P27
action find
entity Q2652435
relation P27
type Q15617994
[ANSWERS] are the native countriesof Lorus Pratt or Leonard Peterson
{'OR': [['Q6681775', 'P27', {'concept': 'Q15617994'}], ['Q2652435', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q6681775 property:P27 ?i } UNION { resource:Q2652435 property:P27 ?i } } }
United States of America Sweden
United States of America and Sweden are the native countriesof Lorus Pratt or Leonard Peterson
United States of America Sweden
action filter_type
action union
action find
entity Lorus Pratt
relation country of citizenship
action find
entity Leonard Peterson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lorus Pratt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leonard Peterson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lorus_Pratt property:country_of_citizenship ?i } UNION { resource:Leonard_Peterson property:country_of_citizenship ?i } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q1267889 Q107425 Q15617994
USER
How many administrative territories are located in approximately 1 waterways and landscapes ?
(c(Q15617994),P706,c(Q1267889)|c(Q107425))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action find_tuple_counts
relation P706
type Q15617994
type Q107425
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?z property:P706 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q107425 } UNION { ?z property:P706 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1267889 } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:landscape } UNION { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:waterway } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
waterway landscape designation for an administrative territorial entity
SYSTEM
2
Q216422 Q145
(c(Q15617994),P706,c(Q1267889)|c(Q107425))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
action find_tuple_counts
relation P706
type Q15617994
type Q107425
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?z property:P706 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q107425 } UNION { ?z property:P706 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1267889 } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
Samsø United Kingdom
2
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:landscape } UNION { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:waterway } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P159
Q334453 Q874405
USER
How many divisions or social groups have the principal seat at Sweden ?
(c(Q334453),P159,Q34) (c(Q874405),P159,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P159
type Q334453
action filter_type
action find_reverse
entity Q34
relation P159
type Q874405
[{'concept': 'Q334453'}, 'P159', 'Q34'] [{'concept': 'Q874405'}, 'P159', 'Q34']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P159 resource:Q34 . ?e rdf:type ontology:Q334453 } UNION { ?e property:P159 resource:Q34 . ?e rdf:type ontology:Q874405 } }
Sweden
action count
action union
action filter_type
action find_reverse
entity Sweden
relation headquarters location
type division
action filter_type
action find_reverse
entity Sweden
relation headquarters location
type social group
[{'concept': 'division'}, 'headquarters location', 'Sweden'] [{'concept': 'social group'}, 'headquarters location', 'Sweden']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:headquarters_location resource:Sweden . ?e rdf:type ontology:division } UNION { ?e property:headquarters_location resource:Sweden . ?e rdf:type ontology:social_group } }
[]
division social group
SYSTEM
2
Q1646020 Q10685075
(c(Q334453),P159,Q34) (c(Q874405),P159,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P159
type Q334453
action filter_type
action find_reverse
entity Q34
relation P159
type Q874405
[ANSWER]
[{'concept': 'Q334453'}, 'P159', 'Q34'] [{'concept': 'Q874405'}, 'P159', 'Q34']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P159 resource:Q34 . ?e rdf:type ontology:Q334453 } UNION { ?e property:P159 resource:Q34 . ?e rdf:type ontology:Q874405 } }
Konichiwa Records Swedish Chemical Society
2
action count
action union
action filter_type
action find_reverse
entity Sweden
relation headquarters location
type division
action filter_type
action find_reverse
entity Sweden
relation headquarters location
type social group
[{'concept': 'division'}, 'headquarters location', 'Sweden'] [{'concept': 'social group'}, 'headquarters location', 'Sweden']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:headquarters_location resource:Sweden . ?e rdf:type ontology:division } UNION { ?e property:headquarters_location resource:Sweden . ?e rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42504
P140
Q451967
USER
What is the religion associated with The Church of Jesus Christ of Latter-day Saints ?
(Q42504,P140,c(Q451967))
action filter_type
action find
entity Q42504
relation P140
type Q451967
['Q42504', 'P140', {'concept': 'Q451967'}]
SELECT DISTINCT ?g WHERE { resource:Q42504 property:P140 ?g . ?g rdf:type ontology:Q451967 }
The Church of Jesus Christ of Latter-day Saints
action filter_type
action find
entity The Church of Jesus Christ of Latter-day Saints
relation religion
type human action
['The Church of Jesus Christ of Latter-day Saints', 'religion', {'concept': 'human action'}]
SELECT DISTINCT ?g WHERE { resource:The_Church_of_Jesus_Christ_of_Latter-day_Saints property:religion ?g . ?g rdf:type ontology:human_action }
[]
human action
Q51644
SYSTEM
Early Christianity
Q51644
(Q42504,P140,c(Q451967))
action filter_type
action find
entity Q42504
relation P140
type Q451967
The religion associated with The Church of Jesus Christ of Latter-day Saints is [ANSWER]
['Q42504', 'P140', {'concept': 'Q451967'}]
SELECT DISTINCT ?g WHERE { resource:Q42504 property:P140 ?g . ?g rdf:type ontology:Q451967 }
Early Christianity
The religion associated with The Church of Jesus Christ of Latter-day Saints is Early Christianity
Early Christianity
action filter_type
action find
entity The Church of Jesus Christ of Latter-day Saints
relation religion
type human action
['The Church of Jesus Christ of Latter-day Saints', 'religion', {'concept': 'human action'}]
SELECT DISTINCT ?g WHERE { resource:The_Church_of_Jesus_Christ_of_Latter-day_Saints property:religion ?g . ?g rdf:type ontology:human_action }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51644
P2348
Q44539
USER
Which temple occurred in the epoch of that human action ?
(c(Q44539),P2348,Q51644)
action filter_type
action find_reverse
entity Q51644
relation P2348
type Q44539
[{'concept': 'Q44539'}, 'P2348', 'Q51644']
SELECT DISTINCT ?c WHERE { ?c property:P2348 resource:Q51644 . ?c rdf:type ontology:Q44539 }
Early Christianity
action filter_type
action find_reverse
entity Early Christianity
relation period
type temple
[{'concept': 'temple'}, 'period', 'Early Christianity']
SELECT DISTINCT ?c WHERE { ?c property:period resource:Early_Christianity . ?c rdf:type ontology:temple }
[]
temple
Q26757480
SYSTEM
Saint Elijah Church, Mitrashintsi
Q26757480
(c(Q44539),P2348,Q51644)
action filter_type
action find_reverse
entity Q51644
relation P2348
type Q44539
[ANSWER] occurred in the epoch of that human action
[{'concept': 'Q44539'}, 'P2348', 'Q51644']
SELECT DISTINCT ?c WHERE { ?c property:P2348 resource:Q51644 . ?c rdf:type ontology:Q44539 }
Saint Elijah Church, Mitrashintsi
Saint Elijah Church, Mitrashintsi occurred in the epoch of that human action
Saint Elijah Church, Mitrashintsi
action filter_type
action find_reverse
entity Early Christianity
relation period
type temple
[{'concept': 'temple'}, 'period', 'Early Christianity']
SELECT DISTINCT ?c WHERE { ?c property:period resource:Early_Christianity . ?c rdf:type ontology:temple }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q26757480 Q506034 Q6850983
P17
Q15617994
USER
Is that temple situated in Tinningstedt and Mildred Independent School District ?
(Q26757480,P17,Q506034) (Q26757480,P17,Q6850983)
action is_in
entity Q26757480
action intersection
action find_reverse
entity Q506034
relation P17
action find_reverse
entity Q6850983
relation P17
['Q26757480', 'P17', 'Q506034'] ['Q26757480', 'P17', 'Q6850983']
ASK WHERE { resource:Q26757480 property:P17 resource:Q6850983 . resource:Q26757480 property:P17 resource:Q506034 }
Saint Elijah Church, Mitrashintsi Tinningstedt Mildred Independent School District
action is_in
entity Saint Elijah Church, Mitrashintsi
action intersection
action find_reverse
entity Tinningstedt
relation country
action find_reverse
entity Mildred Independent School District
relation country
['Saint Elijah Church, Mitrashintsi', 'country', 'Tinningstedt'] ['Saint Elijah Church, Mitrashintsi', 'country', 'Mildred Independent School District']
ASK WHERE { resource:Saint_Elijah_Church,_Mitrashintsi property:country resource:Mildred_Independent_School_District . resource:Saint_Elijah_Church,_Mitrashintsi property:country resource:Tinningstedt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26757480,P17,Q506034) (Q26757480,P17,Q6850983)
action is_in
entity Q26757480
action intersection
action find_reverse
entity Q506034
relation P17
action find_reverse
entity Q6850983
relation P17
[ANSWER]
['Q26757480', 'P17', 'Q506034'] ['Q26757480', 'P17', 'Q6850983']
ASK WHERE { resource:Q26757480 property:P17 resource:Q6850983 . resource:Q26757480 property:P17 resource:Q506034 }
No
action is_in
entity Saint Elijah Church, Mitrashintsi
action intersection
action find_reverse
entity Tinningstedt
relation country
action find_reverse
entity Mildred Independent School District
relation country
['Saint Elijah Church, Mitrashintsi', 'country', 'Tinningstedt'] ['Saint Elijah Church, Mitrashintsi', 'country', 'Mildred Independent School District']
ASK WHERE { resource:Saint_Elijah_Church,_Mitrashintsi property:country resource:Mildred_Independent_School_District . resource:Saint_Elijah_Church,_Mitrashintsi property:country resource:Tinningstedt }
[]