Simple Question (Direct)
Simple Question
Q1629960
P512
Q3412758
USER
What degree does Horst Siewert hold ?
(Q1629960,P512,c(Q3412758))
action filter_type
action find
entity Q1629960
relation P512
type Q3412758
['Q1629960', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?l WHERE { resource:Q1629960 property:P512 ?l . ?l rdf:type ontology:Q3412758 }
Horst Siewert
action filter_type
action find
entity Horst Siewert
relation academic degree
type qualification
['Horst Siewert', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Siewert property:academic_degree ?l . ?l rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1629960,P512,c(Q3412758))
action filter_type
action find
entity Q1629960
relation P512
type Q3412758
Horst Siewert holds a [ANSWER]
['Q1629960', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?l WHERE { resource:Q1629960 property:P512 ?l . ?l rdf:type ontology:Q3412758 }
doctoral degree
Horst Siewert holds a doctoral degree
doctoral degree
action filter_type
action find
entity Horst Siewert
relation academic degree
type qualification
['Horst Siewert', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Siewert property:academic_degree ?l . ?l rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P828
Q8434
USER
What is the underlying cause of that qualification ?
(Q849697,P828,c(Q8434))
action filter_type
action find
entity Q849697
relation P828
type Q8434
['Q849697', 'P828', {'concept': 'Q8434'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q8434 . resource:Q849697 property:P828 ?h }
doctoral degree
action filter_type
action find
entity doctoral degree
relation has cause
type education
['doctoral degree', 'has cause', {'concept': 'education'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:education . resource:doctoral_degree property:has_cause ?h }
[]
education
Q2095243
SYSTEM
doctorate
Q2095243
(Q849697,P828,c(Q8434))
action filter_type
action find
entity Q849697
relation P828
type Q8434
The underlying cause of that qualification is [ANSWER]
['Q849697', 'P828', {'concept': 'Q8434'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q8434 . resource:Q849697 property:P828 ?h }
doctorate
The underlying cause of that qualification is doctorate
doctorate
action filter_type
action find
entity doctoral degree
relation has cause
type education
['doctoral degree', 'has cause', {'concept': 'education'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:education . resource:doctoral_degree property:has_cause ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1629960
P21
Q290
USER
Which sex does Horst Siewert have ?
(Q1629960,P21,c(Q290))
action filter_type
action find
entity Q1629960
relation P21
type Q290
['Q1629960', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1629960 property:P21 ?k . ?k rdf:type ontology:Q290 }
Horst Siewert
action filter_type
action find
entity Horst Siewert
relation gender
type sex
['Horst Siewert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Horst_Siewert property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1629960,P21,c(Q290))
action filter_type
action find
entity Q1629960
relation P21
type Q290
Horst Siewert has a [ANSWER]
['Q1629960', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1629960 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Horst Siewert has a male
male
action filter_type
action find
entity Horst Siewert
relation gender
type sex
['Horst Siewert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Horst_Siewert property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2749514
Q290
USER
And how about Rafael Casanova?
(Q2749514,P21,c(Q290))
action filter_type
action find
entity Q2749514
relation P21
type Q290
['Q2749514', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q2749514 property:P21 ?y . ?y rdf:type ontology:Q290 }
Rafael Casanova
action filter_type
action find
entity Rafael Casanova
relation gender
type sex
['Rafael Casanova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Rafael_Casanova property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2749514,P21,c(Q290))
action filter_type
action find
entity Q2749514
relation P21
type Q290
[ANSWER]
['Q2749514', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q2749514 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Rafael Casanova
relation gender
type sex
['Rafael Casanova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Rafael_Casanova property:gender ?y . ?y rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q862501
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as ondes Martenot ?
(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 Q862501
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q862501 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?f rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?f } GROUP BY ?f } }
ondes Martenot
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 ondes Martenot
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:ondes_Martenot property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?f rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?f } GROUP BY ?f } }
[]
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 Q862501
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q862501 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?f rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?f } GROUP BY ?f } }
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 ondes Martenot
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:ondes_Martenot property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?f rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?f } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1327500
P1303
Q34379 Q502895
USER
And what about electronic musical instrument?
(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 Q1327500
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q1327500 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P1303 ?q . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } }
electronic musical instrument
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 electronic musical instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:electronic_musical_instrument property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:instrument ?q . ?o rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } }
[]
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 Q1327500
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q1327500 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P1303 ?q . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } }
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 electronic musical instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:electronic_musical_instrument property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:instrument ?q . ?o rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1629960
P19
Q56061
USER
Which administrative territory is the birthplace of Horst Siewert ?
(Q1629960,P19,c(Q56061))
action filter_type
action find
entity Q1629960
relation P19
type Q56061
['Q1629960', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1629960 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Horst Siewert
action filter_type
action find
entity Horst Siewert
relation place of birth
type administrative territorial entity
['Horst Siewert', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Horst_Siewert property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q622
SYSTEM
Ludwigsburg
Q622
(Q1629960,P19,c(Q56061))
action filter_type
action find
entity Q1629960
relation P19
type Q56061
The birthplace of Horst Siewert is in [ANSWER]
['Q1629960', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1629960 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Ludwigsburg
The birthplace of Horst Siewert is in Ludwigsburg
Ludwigsburg
action filter_type
action find
entity Horst Siewert
relation place of birth
type administrative territorial entity
['Horst Siewert', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Horst_Siewert property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q622 Q926729
P1376
Q1048835
USER
Does Paraty have that administrative territory has its first city ?
(Q622,P1376,Q926729)
action is_in
entity Q926729
action find
entity Q622
relation P1376
['Q622', 'P1376', 'Q926729']
ASK WHERE { resource:Q622 property:P1376 resource:Q926729 }
Ludwigsburg Paraty
action is_in
entity Paraty
action find
entity Ludwigsburg
relation capital of
['Ludwigsburg', 'capital of', 'Paraty']
ASK WHERE { resource:Ludwigsburg property:capital_of resource:Paraty }
[]
political territorial entity
SYSTEM
NO
(Q622,P1376,Q926729)
action is_in
entity Q926729
action find
entity Q622
relation P1376
[ANSWER]
['Q622', 'P1376', 'Q926729']
ASK WHERE { resource:Q622 property:P1376 resource:Q926729 }
No
action is_in
entity Paraty
action find
entity Ludwigsburg
relation capital of
['Ludwigsburg', 'capital of', 'Paraty']
ASK WHERE { resource:Ludwigsburg property:capital_of resource:Paraty }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q622
P190
Q56061
USER
Which administrative territories are twin city of Ludwigsburg ?
(c(Q56061),P190,Q622)
action filter_type
action find
entity Q622
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q622']
SELECT DISTINCT ?s WHERE { resource:Q622 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Ludwigsburg
action filter_type
action find
entity Ludwigsburg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Ludwigsburg']
SELECT DISTINCT ?s WHERE { resource:Ludwigsburg property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3584 Q33345 Q909119
SYSTEM
Nový Jičín, Yevpatoria, Caerphilly
Q773432 Q3584 Q33345 Q909119
(c(Q56061),P190,Q622)
action filter_type
action find
entity Q622
relation P190
type Q56061
[ANSWERS] are twin city of Ludwigsburg
[{'concept': 'Q56061'}, 'P190', 'Q622']
SELECT DISTINCT ?s WHERE { resource:Q622 property:P190 ?s . ?s rdf:type ontology:Q56061 }
St. Charles Nový Jičín Yevpatoria Caerphilly
Nový Jičín, Yevpatoria and Caerphilly are twin city of Ludwigsburg
Nový Jičín Yevpatoria Caerphilly
action filter_type
action find
entity Ludwigsburg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Ludwigsburg']
SELECT DISTINCT ?s WHERE { resource:Ludwigsburg property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]