Simple Question (Direct)
Simple Question
Q661697
P22
Q502895
USER
Which person was the father of Joel Teitelbaum ?
(Q661697,P22,c(Q502895))
action filter_type
action find
entity Q661697
relation P22
type Q502895
['Q661697', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q661697 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Joel Teitelbaum
action filter_type
action find
entity Joel Teitelbaum
relation father
type common name
['Joel Teitelbaum', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Joel_Teitelbaum property:father ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2891231
SYSTEM
Chananya Yom Tov Lipa Teitelbaum
Q2891231
(Q661697,P22,c(Q502895))
action filter_type
action find
entity Q661697
relation P22
type Q502895
The [ANSWER] was the father of Joel Teitelbaum
['Q661697', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q661697 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Chananya Yom Tov Lipa Teitelbaum
The Chananya Yom Tov Lipa Teitelbaum was the father of Joel Teitelbaum
Chananya Yom Tov Lipa Teitelbaum
action filter_type
action find
entity Joel Teitelbaum
relation father
type common name
['Joel Teitelbaum', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Joel_Teitelbaum property:father ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2891231
P40
Q502895
USER
Who is a child of that one ?
(Q2891231,P40,c(Q502895))
action filter_type
action find
entity Q2891231
relation P40
type Q502895
['Q2891231', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q2891231 property:P40 ?q }
Chananya Yom Tov Lipa Teitelbaum
action filter_type
action find
entity Chananya Yom Tov Lipa Teitelbaum
relation child
type common name
['Chananya Yom Tov Lipa Teitelbaum', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Chananya_Yom_Tov_Lipa_Teitelbaum property:child ?q }
[]
common name
Q661697
SYSTEM
Joel Teitelbaum
Q661697
(Q2891231,P40,c(Q502895))
action filter_type
action find
entity Q2891231
relation P40
type Q502895
A child of that one is John [ANSWER]
['Q2891231', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q2891231 property:P40 ?q }
Joel Teitelbaum
A child of that one is John Joel Teitelbaum
Joel Teitelbaum
action filter_type
action find
entity Chananya Yom Tov Lipa Teitelbaum
relation child
type common name
['Chananya Yom Tov Lipa Teitelbaum', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Chananya_Yom_Tov_Lipa_Teitelbaum property:child ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q661697
P112
Q164950
USER
Which dynasty was founded by that person ?
(c(Q164950),P112,Q661697)
action filter_type
action find_reverse
entity Q661697
relation P112
type Q164950
[{'concept': 'Q164950'}, 'P112', 'Q661697']
SELECT DISTINCT ?c WHERE { ?c property:P112 resource:Q661697 . ?c rdf:type ontology:Q164950 }
Joel Teitelbaum
action filter_type
action find_reverse
entity Joel Teitelbaum
relation founder
type dynasty
[{'concept': 'dynasty'}, 'founder', 'Joel Teitelbaum']
SELECT DISTINCT ?c WHERE { ?c property:founder resource:Joel_Teitelbaum . ?c rdf:type ontology:dynasty }
[]
dynasty
Q3490215
SYSTEM
Satmar
Q3490215
(c(Q164950),P112,Q661697)
action filter_type
action find_reverse
entity Q661697
relation P112
type Q164950
[ANSWER] was founded by that person
[{'concept': 'Q164950'}, 'P112', 'Q661697']
SELECT DISTINCT ?c WHERE { ?c property:P112 resource:Q661697 . ?c rdf:type ontology:Q164950 }
Satmar
Satmar was founded by that person
Satmar
action filter_type
action find_reverse
entity Joel Teitelbaum
relation founder
type dynasty
[{'concept': 'dynasty'}, 'founder', 'Joel Teitelbaum']
SELECT DISTINCT ?c WHERE { ?c property:founder resource:Joel_Teitelbaum . ?c rdf:type ontology:dynasty }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P112
Q502895
USER
How many people were the founders of that dynasty ?
(Q3490215,P112,c(Q502895))
action count
action filter_type
action find
entity Q3490215
relation P112
type Q502895
['Q3490215', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q3490215 property:P112 ?c . ?c rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Satmar
relation founder
type common name
['Satmar', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Satmar property:founder ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q661697
(Q3490215,P112,c(Q502895))
action count
action filter_type
action find
entity Q3490215
relation P112
type Q502895
[ANSWER]
['Q3490215', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q3490215 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Joel Teitelbaum
1
action count
action filter_type
action find
entity Satmar
relation founder
type common name
['Satmar', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Satmar property:founder ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2891231
P22
Q502895
USER
How many people have Chananya Yom Tov Lipa Teitelbaum as father ?
(c(Q502895),P22,Q2891231)
action count
action filter_type
action find_reverse
entity Q2891231
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2891231']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P22 resource:Q2891231 . ?s rdf:type ontology:Q502895 }
Chananya Yom Tov Lipa Teitelbaum
action count
action filter_type
action find_reverse
entity Chananya Yom Tov Lipa Teitelbaum
relation father
type common name
[{'concept': 'common name'}, 'father', 'Chananya Yom Tov Lipa Teitelbaum']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:father resource:Chananya_Yom_Tov_Lipa_Teitelbaum . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q661697
(c(Q502895),P22,Q2891231)
action count
action filter_type
action find_reverse
entity Q2891231
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2891231']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P22 resource:Q2891231 . ?s rdf:type ontology:Q502895 }
Joel Teitelbaum
1
action count
action filter_type
action find_reverse
entity Chananya Yom Tov Lipa Teitelbaum
relation father
type common name
[{'concept': 'common name'}, 'father', 'Chananya Yom Tov Lipa Teitelbaum']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:father resource:Chananya_Yom_Tov_Lipa_Teitelbaum . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2891231
P21
Q290
USER
What is the sex of that person ?
action filter_type
action find
entity Q2891231
relation P21
type Q290
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q2891231 property:P21 ?p }
Chananya Yom Tov Lipa Teitelbaum
action filter_type
action find
entity Chananya Yom Tov Lipa Teitelbaum
relation gender
type sex
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Chananya_Yom_Tov_Lipa_Teitelbaum property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q2891231
relation P21
type Q290
The sex of that person is a [ANSWER]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q2891231 property:P21 ?p }
male
The sex of that person is a male
male
action filter_type
action find
entity Chananya Yom Tov Lipa Teitelbaum
relation gender
type sex
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Chananya_Yom_Tov_Lipa_Teitelbaum property:gender ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1759986
P1303
Q34379 Q502895
USER
How many musical instruments do approximately the same number of people know to play as Wurlitzer electric piano ?
(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 Q1759986
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P1303 ?i . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:Q34379 . resource:Q1759986 property:P1303 ?q } } . FILTER ( ?z = ?g ) }
Wurlitzer electric piano
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 Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:instrument ?i . ?p rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:musical_instrument . resource:Wurlitzer_electric_piano property:instrument ?q } } . FILTER ( ?z = ?g ) }
[]
musical instrument common name
SYSTEM
60
Q80284 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 Q1759986
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P1303 ?i . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:Q34379 . resource:Q1759986 property:P1303 ?q } } . FILTER ( ?z = ?g ) }
viola 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
60
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 Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:instrument ?i . ?p rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:musical_instrument . resource:Wurlitzer_electric_piano property:instrument ?q } } . FILTER ( ?z = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q661697
P106
Q151885
USER
What is the job of Joel Teitelbaum ?
(Q661697,P106,c(Q151885))
action filter_type
action find
entity Q661697
relation P106
type Q151885
['Q661697', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q661697 property:P106 ?z . ?z rdf:type ontology:Q151885 }
Joel Teitelbaum
action filter_type
action find
entity Joel Teitelbaum
relation occupation
type concept
['Joel Teitelbaum', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Joel_Teitelbaum property:occupation ?z . ?z rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q661697,P106,c(Q151885))
action filter_type
action find
entity Q661697
relation P106
type Q151885
The job of Joel Teitelbaum is a [ANSWER]
['Q661697', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q661697 property:P106 ?z . ?z rdf:type ontology:Q151885 }
philosopher
The job of Joel Teitelbaum is a philosopher
philosopher
action filter_type
action find
entity Joel Teitelbaum
relation occupation
type concept
['Joel Teitelbaum', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Joel_Teitelbaum property:occupation ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q661697
P20
Q41176
USER
Where did Joel Teitelbaum die ?
(Q661697,P20,c(Q41176))
action filter_type
action find
entity Q661697
relation P20
type Q41176
['Q661697', 'P20', {'concept': 'Q41176'}]
SELECT DISTINCT ?x WHERE { resource:Q661697 property:P20 ?x . ?x rdf:type ontology:Q41176 }
Joel Teitelbaum
action filter_type
action find
entity Joel Teitelbaum
relation place of death
type building
['Joel Teitelbaum', 'place of death', {'concept': 'building'}]
SELECT DISTINCT ?x WHERE { resource:Joel_Teitelbaum property:place_of_death ?x . ?x rdf:type ontology:building }
[]
building
Q1476505
SYSTEM
Mount Sinai Hospital
Q1476505
(Q661697,P20,c(Q41176))
action filter_type
action find
entity Q661697
relation P20
type Q41176
Joel Teitelbaum died in [ANSWER]
['Q661697', 'P20', {'concept': 'Q41176'}]
SELECT DISTINCT ?x WHERE { resource:Q661697 property:P20 ?x . ?x rdf:type ontology:Q41176 }
Mount Sinai Hospital
Joel Teitelbaum died in Mount Sinai Hospital
Mount Sinai Hospital
action filter_type
action find
entity Joel Teitelbaum
relation place of death
type building
['Joel Teitelbaum', 'place of death', {'concept': 'building'}]
SELECT DISTINCT ?x WHERE { resource:Joel_Teitelbaum property:place_of_death ?x . ?x rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1476505
P17
Q15617994
USER
Which administrative territory is that building a part of ?
(Q1476505,P17,c(Q15617994))
action filter_type
action find
entity Q1476505
relation P17
type Q15617994
['Q1476505', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1476505 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Mount Sinai Hospital
action filter_type
action find
entity Mount Sinai Hospital
relation country
type designation for an administrative territorial entity
['Mount Sinai Hospital', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mount_Sinai_Hospital property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1476505,P17,c(Q15617994))
action filter_type
action find
entity Q1476505
relation P17
type Q15617994
The [ANSWER] is that building a part of
['Q1476505', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1476505 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is that building a part of
United States of America
action filter_type
action find
entity Mount Sinai Hospital
relation country
type designation for an administrative territorial entity
['Mount Sinai Hospital', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mount_Sinai_Hospital property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q778210
P27
Q502895
USER
Is Erik Nedeau a citizen of that administrative territory ?
(Q778210,P27,Q30)
action is_in
entity Q30
action find
entity Q778210
relation P27
['Q778210', 'P27', 'Q30']
ASK WHERE { resource:Q778210 property:P27 resource:Q30 }
United States of America Erik Nedeau
action is_in
entity United States of America
action find
entity Erik Nedeau
relation country of citizenship
['Erik Nedeau', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Erik_Nedeau property:country_of_citizenship resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q778210,P27,Q30)
action is_in
entity Q30
action find
entity Q778210
relation P27
[ANSWER]
['Q778210', 'P27', 'Q30']
ASK WHERE { resource:Q778210 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Erik Nedeau
relation country of citizenship
['Erik Nedeau', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Erik_Nedeau property:country_of_citizenship resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12318599 Q30
P530 P27
Q1048835
USER
Which political territories have a diplomatic relationship with United States of America or are the native countriesof Isabelle Brockenhuus-Løwenhielm ?
OR((Q30,P530,c(Q1048835)), (Q12318599,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q12318599
relation P27
type Q1048835
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q12318599', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . { { resource:Q30 property:P530 ?z } UNION { resource:Q12318599 property:P27 ?z } } }
Isabelle Brockenhuus-Løwenhielm United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Isabelle Brockenhuus-Løwenhielm
relation country of citizenship
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Isabelle Brockenhuus-Løwenhielm', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . { { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:Isabelle_Brockenhuus-Løwenhielm property:country_of_citizenship ?z } } }
[]
political territorial entity
Q408 Q16 Q183 Q35
SYSTEM
Australia, Canada, Germany, Denmark
Q408 Q16 Q183 Q35
OR((Q30,P530,c(Q1048835)), (Q12318599,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q12318599
relation P27
type Q1048835
[ANSWERS] have a diplomatic relationship with United States of America or are the native countriesof Isabelle Brockenhuus-Løwenhielm
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q12318599', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . { { resource:Q30 property:P530 ?z } UNION { resource:Q12318599 property:P27 ?z } } }
Australia Canada Germany Denmark
Australia, Canada, Germany and Denmark have a diplomatic relationship with United States of America or are the native countriesof Isabelle Brockenhuus-Løwenhielm
Australia Canada Germany Denmark
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Isabelle Brockenhuus-Løwenhielm
relation country of citizenship
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Isabelle Brockenhuus-Løwenhielm', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . { { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:Isabelle_Brockenhuus-Løwenhielm property:country_of_citizenship ?z } } }
[]