Simple Question (Direct)
Simple Question
Q5405751
P734
Q82799
USER
Who is associated with Käte Oswald ?
(Q5405751,P734,c(Q82799))
action filter_type
action find
entity Q5405751
relation P734
type Q82799
['Q5405751', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q5405751 property:P734 ?j }
Käte Oswald
action filter_type
action find
entity Käte Oswald
relation family name
type name
['Käte Oswald', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Käte_Oswald property:family_name ?j }
[]
name
Q1260183
SYSTEM
Oswald
Q1260183
(Q5405751,P734,c(Q82799))
action filter_type
action find
entity Q5405751
relation P734
type Q82799
[ANSWER] is associated with Käte [ANSWER]
['Q5405751', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q5405751 property:P734 ?j }
Oswald
Oswald is associated with Käte Oswald
Oswald
action filter_type
action find
entity Käte Oswald
relation family name
type name
['Käte Oswald', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Käte_Oswald property:family_name ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5405751
P19
Q56061
USER
Where was that person born ?
(Q1260183,P19,c(Q56061))
action filter_type
action find
entity Q5405751
relation P19
type Q56061
['Q1260183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5405751 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Käte Oswald
action filter_type
action find
entity Käte Oswald
relation place of birth
type administrative territorial entity
['Oswald', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Käte_Oswald property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1260183,P19,c(Q56061))
action filter_type
action find
entity Q5405751
relation P19
type Q56061
That person was born in [ANSWER]
['Q1260183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5405751 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Düsseldorf
That person was born in Düsseldorf
Düsseldorf
action filter_type
action find
entity Käte Oswald
relation place of birth
type administrative territorial entity
['Oswald', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Käte_Oswald property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5405751
P25
Q502895
USER
Who has that one as a mother ?
(c(Q502895),P25,Q1718)
action filter_type
action find_reverse
entity Q5405751
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q1718']
SELECT DISTINCT ?p WHERE { ?p property:P25 resource:Q5405751 . ?p rdf:type ontology:Q502895 }
Käte Oswald
action filter_type
action find_reverse
entity Käte Oswald
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Düsseldorf']
SELECT DISTINCT ?p WHERE { ?p property:mother resource:Käte_Oswald . ?p rdf:type ontology:common_name }
[]
common name
Q316957
SYSTEM
Gerd Oswald
Q316957
(c(Q502895),P25,Q1718)
action filter_type
action find_reverse
entity Q5405751
relation P25
type Q502895
[ANSWER] has that one as a mother
[{'concept': 'Q502895'}, 'P25', 'Q1718']
SELECT DISTINCT ?p WHERE { ?p property:P25 resource:Q5405751 . ?p rdf:type ontology:Q502895 }
Gerd Oswald
Gerd Oswald has that one as a mother
Gerd Oswald
action filter_type
action find_reverse
entity Käte Oswald
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Düsseldorf']
SELECT DISTINCT ?p WHERE { ?p property:mother resource:Käte_Oswald . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as bass guitar ?
(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 Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Q46185 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } }
bass guitar
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 bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:bass_guitar property:instrument ?g . ?g rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
10
Q80284 Q46185 Q80019 Q81982 Q206987 Q8338 Q8371 Q1444 Q128309 Q1343007
(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 Q46185
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Q46185 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } }
viola bass guitar double bass harpsichord vibraphone trumpet cello organ drum kit electronic keyboard
10
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 bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:bass_guitar property:instrument ?g . ?g rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11404
P1303
Q34379 Q502895
USER
And what about drum?
(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 Q11404
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?p ) WHERE { ?m rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ontology:Q34379 . resource:Q11404 property:P1303 ?q } } . FILTER ( ?p = ?r ) }
drum
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 drum
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?p ) WHERE { ?m rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ontology:musical_instrument . resource:drum property:instrument ?q } } . FILTER ( ?p = ?r ) }
[]
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 Q11404
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?p ) WHERE { ?m rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ontology:Q34379 . resource:Q11404 property:P1303 ?q } } . FILTER ( ?p = ?r ) }
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 drum
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?p ) WHERE { ?m rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ontology:musical_instrument . resource:drum property:instrument ?q } } . FILTER ( ?p = ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1718
P190
Q56061
USER
How many administrative territories are partner towns of Düsseldorf ?
(Q1718,P190,c(Q56061))
action count
action filter_type
action find
entity Q1718
relation P190
type Q56061
['Q1718', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q1718 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Düsseldorf
action count
action filter_type
action find
entity Düsseldorf
relation sister city
type administrative territorial entity
['Düsseldorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Düsseldorf property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
9
Q41621 Q270 Q3805 Q8717 Q649 Q3711 Q8826 Q7880 Q1297
(Q1718,P190,c(Q56061))
action count
action filter_type
action find
entity Q1718
relation P190
type Q56061
[ANSWER]
['Q1718', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q1718 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Haifa Warsaw Amman Seville Moscow Belgrade Palma Toulouse Chicago
9
action count
action filter_type
action find
entity Düsseldorf
relation sister city
type administrative territorial entity
['Düsseldorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Düsseldorf property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q217720
Q56061
USER
And also tell me about Çeşme?
(Q217720,P190,c(Q56061))
action count
action filter_type
action find
entity Q217720
relation P190
type Q56061
['Q217720', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:Q56061 . resource:Q217720 property:P190 ?q }
Çeşme
action count
action filter_type
action find
entity Çeşme
relation sister city
type administrative territorial entity
['Çeşme', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Çeşme property:sister_city ?q }
[]
administrative territorial entity
SYSTEM
7
(Q217720,P190,c(Q56061))
action count
action filter_type
action find
entity Q217720
relation P190
type Q56061
[ANSWER]
['Q217720', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:Q56061 . resource:Q217720 property:P190 ?q }
7
action count
action filter_type
action find
entity Çeşme
relation sister city
type administrative territorial entity
['Çeşme', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Çeşme property:sister_city ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217720
P17
Q15617994
USER
Which administrative territory does that district of Turkey belong to ?
action filter_type
action find
entity Q217720
relation P17
type Q15617994
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q217720 property:P17 ?u }
Çeşme
action filter_type
action find
entity Çeşme
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Çeşme property:country ?u }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
action filter_type
action find
entity Q217720
relation P17
type Q15617994
That district of [ANSWER] belongs to the [ANSWER]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q217720 property:P17 ?u }
Turkey
That district of Turkey belongs to the Turkey
Turkey
action filter_type
action find
entity Çeşme
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Çeşme property:country ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P163
Q14660
USER
What is associated with that administrative territory ?
(Q43,P163,c(Q14660))
action filter_type
action find
entity Q43
relation P163
type Q14660
['Q43', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q43 property:P163 ?b . ?b rdf:type ontology:Q14660 }
Turkey
action filter_type
action find
entity Turkey
relation flag
type flag
['Turkey', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:Turkey property:flag ?b . ?b rdf:type ontology:flag }
[]
flag
Q81952
SYSTEM
flag of Turkey
Q81952
(Q43,P163,c(Q14660))
action filter_type
action find
entity Q43
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q43', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q43 property:P163 ?b . ?b rdf:type ontology:Q14660 }
flag of Turkey
The flag of Turkey is associated with that administrative territory
flag of Turkey
action filter_type
action find
entity Turkey
relation flag
type flag
['Turkey', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:Turkey property:flag ?b . ?b rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q81952,P85,c(Q484692))
action filter_type
action find
entity Q43
relation P85
type Q484692
['Q81952', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?d WHERE { resource:Q43 property:P85 ?d . ?d rdf:type ontology:Q484692 }
Turkey
action filter_type
action find
entity Turkey
relation anthem
type hymn
['flag of Turkey', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?d WHERE { resource:Turkey property:anthem ?d . ?d rdf:type ontology:hymn }
[]
hymn
Q344452
SYSTEM
İstiklâl Marşı
Q344452
(Q81952,P85,c(Q484692))
action filter_type
action find
entity Q43
relation P85
type Q484692
[ANSWER] is the anthem for that administrative territory
['Q81952', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?d WHERE { resource:Q43 property:P85 ?d . ?d rdf:type ontology:Q484692 }
İstiklâl Marşı
İstiklâl Marşı is the anthem for that administrative territory
İstiklâl Marşı
action filter_type
action find
entity Turkey
relation anthem
type hymn
['flag of Turkey', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?d WHERE { resource:Turkey property:anthem ?d . ?d rdf:type ontology:hymn }
[]