Simple Question (Direct)
Simple Question
Q4431047
P102
Q7278
USER
Which political party is Sergey Borisovich Speransky a member of ?
(Q4431047,P102,c(Q7278))
action filter_type
action find
entity Q4431047
relation P102
type Q7278
['Q4431047', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?b WHERE { resource:Q4431047 property:P102 ?b . ?b rdf:type ontology:Q7278 }
Sergey Borisovich Speransky
action filter_type
action find
entity Sergey Borisovich Speransky
relation member of political party
type political party
['Sergey Borisovich Speransky', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?b WHERE { resource:Sergey_Borisovich_Speransky property:member_of_political_party ?b . ?b rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q4431047,P102,c(Q7278))
action filter_type
action find
entity Q4431047
relation P102
type Q7278
[ANSWER] is Sergey Borisovich Speransky a member of
['Q4431047', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?b WHERE { resource:Q4431047 property:P102 ?b . ?b rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
Communist Party of the Soviet Union is Sergey Borisovich Speransky a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Sergey Borisovich Speransky
relation member of political party
type political party
['Sergey Borisovich Speransky', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?b WHERE { resource:Sergey_Borisovich_Speransky property:member_of_political_party ?b . ?b rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4431047
P19
Q56061
USER
Which administrative territory was Sergey Borisovich Speransky born at ?
(Q4431047,P19,c(Q56061))
action filter_type
action find
entity Q4431047
relation P19
type Q56061
['Q4431047', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q4431047 property:P19 ?e }
Sergey Borisovich Speransky
action filter_type
action find
entity Sergey Borisovich Speransky
relation place of birth
type administrative territorial entity
['Sergey Borisovich Speransky', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Sergey_Borisovich_Speransky property:place_of_birth ?e }
[]
administrative territorial entity
Q900
SYSTEM
Kazan
Q900
(Q4431047,P19,c(Q56061))
action filter_type
action find
entity Q4431047
relation P19
type Q56061
Which administrative territory was Sergey Borisovich Speransky born at
['Q4431047', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q4431047 property:P19 ?e }
Kazan
Which administrative territory was Sergey Borisovich Speransky born at
Kazan
action filter_type
action find
entity Sergey Borisovich Speransky
relation place of birth
type administrative territorial entity
['Sergey Borisovich Speransky', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Sergey_Borisovich_Speransky property:place_of_birth ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q900 Q695511
P190
Q56061
USER
Is College Station partner town of that one ?
(Q900,P190,Q695511)
action is_in
entity Q695511
action find
entity Q900
relation P190
['Q900', 'P190', 'Q695511']
ASK WHERE { resource:Q900 property:P190 resource:Q695511 }
Kazan College Station
action is_in
entity College Station
action find
entity Kazan
relation sister city
['Kazan', 'sister city', 'College Station']
ASK WHERE { resource:Kazan property:sister_city resource:College_Station }
[]
administrative territorial entity
SYSTEM
YES
(Q900,P190,Q695511)
action is_in
entity Q695511
action find
entity Q900
relation P190
[ANSWER]
['Q900', 'P190', 'Q695511']
ASK WHERE { resource:Q900 property:P190 resource:Q695511 }
Yes
action is_in
entity College Station
action find
entity Kazan
relation sister city
['Kazan', 'sister city', 'College Station']
ASK WHERE { resource:Kazan property:sister_city resource:College_Station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q900
P138
Q17444909
USER
Which astronomical object type has Kazan as its toponym ?
(c(Q17444909),P138,Q900)
action filter_type
action find_reverse
entity Q900
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q900']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q900 . ?n rdf:type ontology:Q17444909 }
Kazan
action filter_type
action find_reverse
entity Kazan
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Kazan']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Kazan . ?n rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q137930
SYSTEM
1316 Kasan
Q137930
(c(Q17444909),P138,Q900)
action filter_type
action find_reverse
entity Q900
relation P138
type Q17444909
[ANSWER] has Kazan as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q900']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q900 . ?n rdf:type ontology:Q17444909 }
1316 Kasan
1316 Kasan has Kazan as its toponym
1316 Kasan
action filter_type
action find_reverse
entity Kazan
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Kazan']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Kazan . ?n rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q137930
P61
Q502895
USER
Who discovered or invented that astronomical object type ?
(Q137930,P61,c(Q502895))
action filter_type
action find
entity Q137930
relation P61
type Q502895
['Q137930', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q137930 property:P61 ?l . ?l rdf:type ontology:Q502895 }
1316 Kasan
action filter_type
action find
entity 1316 Kasan
relation discoverer or inventor
type common name
['1316 Kasan', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:1316_Kasan property:discoverer_or_inventor ?l . ?l rdf:type ontology:common_name }
[]
common name
Q445187
SYSTEM
Grigory Neujmin
Q445187
(Q137930,P61,c(Q502895))
action filter_type
action find
entity Q137930
relation P61
type Q502895
[ANSWER] discovered or invented that astronomical object type
['Q137930', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q137930 property:P61 ?l . ?l rdf:type ontology:Q502895 }
Grigory Neujmin
Grigory Neujmin discovered or invented that astronomical object type
Grigory Neujmin
action filter_type
action find
entity 1316 Kasan
relation discoverer or inventor
type common name
['1316 Kasan', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:1316_Kasan property:discoverer_or_inventor ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q445187 Q3130935
P19
Q56061
USER
Was that person born in Yala ?
(Q445187,P19,Q3130935)
action is_in
entity Q3130935
action find
entity Q445187
relation P19
['Q445187', 'P19', 'Q3130935']
ASK WHERE { resource:Q445187 property:P19 resource:Q3130935 }
Grigory Neujmin Yala
action is_in
entity Yala
action find
entity Grigory Neujmin
relation place of birth
['Grigory Neujmin', 'place of birth', 'Yala']
ASK WHERE { resource:Grigory_Neujmin property:place_of_birth resource:Yala }
[]
administrative territorial entity
SYSTEM
NO
(Q445187,P19,Q3130935)
action is_in
entity Q3130935
action find
entity Q445187
relation P19
[ANSWER]
['Q445187', 'P19', 'Q3130935']
ASK WHERE { resource:Q445187 property:P19 resource:Q3130935 }
No
action is_in
entity Yala
action find
entity Grigory Neujmin
relation place of birth
['Grigory Neujmin', 'place of birth', 'Yala']
ASK WHERE { resource:Grigory_Neujmin property:place_of_birth resource:Yala }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1879664
P1303
Q34379 Q502895
USER
How many musical instruments can greater number of people perform with than spoon ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?y rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?y } GROUP BY ?y } . FILTER ( ?x > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1879664 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } }
spoon
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?y rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?y } GROUP BY ?y } . FILTER ( ?x > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:spoon property:instrument ?l . ?l rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
63
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q5994 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?y rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?y } GROUP BY ?y } . FILTER ( ?x > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1879664 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki piano maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?y rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?y } GROUP BY ?y } . FILTER ( ?x > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:spoon property:instrument ?l . ?l rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1798603
P1303
Q34379 Q502895
USER
And also tell me about string instrument?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1798603
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q1798603 property:P1303 ?p } } }
string instrument
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:musical_instrument . resource:string_instrument property:instrument ?p } } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1798603
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q1798603 property:P1303 ?p } } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:musical_instrument . resource:string_instrument property:instrument ?p } } }
[]