Simple Question (Direct)
Simple Question
Q2501651
P1344
Q1499496
USER
What German presidential elections did Ursula Haußmann participate in ?
(Q2501651,P1344,c(Q1499496))
action filter_type
action find
entity Q2501651
relation P1344
type Q1499496
['Q2501651', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1499496 . resource:Q2501651 property:P1344 ?k }
Ursula Haußmann
action filter_type
action find
entity Ursula Haußmann
relation participant of
type German presidential election
['Ursula Haußmann', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:German_presidential_election . resource:Ursula_Haußmann property:participant_of ?k }
[]
German presidential election
Q707051 Q451110 Q314532
SYSTEM
German presidential election, 2009, German presidential election, 1999, German presidential election, 2004
Q707051 Q451110 Q314532
(Q2501651,P1344,c(Q1499496))
action filter_type
action find
entity Q2501651
relation P1344
type Q1499496
[ANSWERS]
['Q2501651', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1499496 . resource:Q2501651 property:P1344 ?k }
German presidential election, 2009 German presidential election, 1999 German presidential election, 2004
Ursula Haußmann participated in German presidential election, 2009, German presidential election, 1999 and German presidential election, 2004
German presidential election, 2009 German presidential election, 1999 German presidential election, 2004
action filter_type
action find
entity Ursula Haußmann
relation participant of
type German presidential election
['Ursula Haußmann', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:German_presidential_election . resource:Ursula_Haußmann property:participant_of ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2501651
P710
Q1499496
USER
What event did Ursula Haußmann particiate in ?
(c(Q1499496),P710,Q2501651)
action filter_type
action find_reverse
entity Q2501651
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q2501651']
SELECT DISTINCT ?i WHERE { ?i property:P710 resource:Q2501651 . ?i rdf:type ontology:Q1499496 }
Ursula Haußmann
action filter_type
action find_reverse
entity Ursula Haußmann
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Ursula Haußmann']
SELECT DISTINCT ?i WHERE { ?i property:participant resource:Ursula_Haußmann . ?i rdf:type ontology:German_presidential_election }
[]
German presidential election
Q314532 Q451110 Q707051
SYSTEM
German presidential election, 2004, German presidential election, 1999, German presidential election, 2009
Q314532 Q451110 Q707051
(c(Q1499496),P710,Q2501651)
action filter_type
action find_reverse
entity Q2501651
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q2501651']
SELECT DISTINCT ?i WHERE { ?i property:P710 resource:Q2501651 . ?i rdf:type ontology:Q1499496 }
German presidential election, 2004 German presidential election, 1999 German presidential election, 2009
Ursula Haußmann particiated in German presidential election, 2004, German presidential election, 1999 and German presidential election, 2009
German presidential election, 2004 German presidential election, 1999 German presidential election, 2009
action filter_type
action find_reverse
entity Ursula Haußmann
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Ursula Haußmann']
SELECT DISTINCT ?i WHERE { ?i property:participant resource:Ursula_Haußmann . ?i rdf:type ontology:German_presidential_election }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q314532 Q451110 Q707051
P991
Q502895
USER
Which people were the successful candidates in German presidential election, 2004, German presidential election, 1999 and German presidential election, 2009 ?
(Q314532,P991,c(Q502895)) (Q451110,P991,c(Q502895)) (Q707051,P991,c(Q502895))
action union
action filter_type
action find
entity Q314532
relation P991
type Q502895
action filter_type
action find
entity Q451110
relation P991
type Q502895
action filter_type
action find
entity Q707051
relation P991
type Q502895
['Q314532', 'P991', {'concept': 'Q502895'}] ['Q451110', 'P991', {'concept': 'Q502895'}] ['Q707051', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q502895 . resource:Q451110 property:P991 ?w } UNION { resource:Q314532 property:P991 ?w . ?w rdf:type ontology:Q502895 } }
German presidential election, 2004 German presidential election, 1999 German presidential election, 2009
action union
action filter_type
action find
entity German presidential election, 2004
relation successful candidate
type common name
action filter_type
action find
entity German presidential election, 1999
relation successful candidate
type common name
action filter_type
action find
entity German presidential election, 2009
relation successful candidate
type common name
['German presidential election, 2004', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 1999', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 2009', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:common_name . resource:German_presidential_election,_1999 property:successful_candidate ?w } UNION { resource:German_presidential_election,_2004 property:successful_candidate ?w . ?w rdf:type ontology:common_name } }
[]
common name
Q2542 Q2551 Q2542
SYSTEM
Johannes Rau for 2nd, Horst Köhler for 1st, 3rd
Q2542 Q2551 Q2542
(Q314532,P991,c(Q502895)) (Q451110,P991,c(Q502895)) (Q707051,P991,c(Q502895))
action union
action filter_type
action find
entity Q314532
relation P991
type Q502895
action filter_type
action find
entity Q451110
relation P991
type Q502895
action filter_type
action find
entity Q707051
relation P991
type Q502895
[ANSWERS]
['Q314532', 'P991', {'concept': 'Q502895'}] ['Q451110', 'P991', {'concept': 'Q502895'}] ['Q707051', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q502895 . resource:Q451110 property:P991 ?w } UNION { resource:Q314532 property:P991 ?w . ?w rdf:type ontology:Q502895 } }
Horst Köhler Johannes Rau Horst Köhler
Horst Köhler, Johannes Rau and Horst Köhler were the successful candidates in German presidential election, 2004, German presidential election, 1999 and German presidential election, 2009
Horst Köhler Johannes Rau Horst Köhler
action union
action filter_type
action find
entity German presidential election, 2004
relation successful candidate
type common name
action filter_type
action find
entity German presidential election, 1999
relation successful candidate
type common name
action filter_type
action find
entity German presidential election, 2009
relation successful candidate
type common name
['German presidential election, 2004', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 1999', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 2009', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:common_name . resource:German_presidential_election,_1999 property:successful_candidate ?w } UNION { resource:German_presidential_election,_2004 property:successful_candidate ?w . ?w rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2551
P21
Q290
USER
Which sex does that person possess ?
(Q2551,P21,c(Q290))
action filter_type
action find
entity Q2551
relation P21
type Q290
['Q2551', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q2551 property:P21 ?p . ?p rdf:type ontology:Q290 }
Johannes Rau
action filter_type
action find
entity Johannes Rau
relation gender
type sex
['Johannes Rau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Johannes_Rau property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q2542
SYSTEM
Did you mean Horst Köhler ?
Q2542 Q2551 Q2542
(Q2542,P21,c(Q290)) (Q2551,P21,c(Q290)) (Q2542,P21,c(Q290))
[ANSWER]
['Q2542', 'P21', {'concept': 'Q290'}] ['Q2551', 'P21', {'concept': 'Q290'}] ['Q2542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q2551 property:P21 ?p . ?p rdf:type ontology:Q290 }
Horst Köhler Johannes Rau Horst Köhler
Did you mean Horst Köhler ?
Horst Köhler
['Horst Köhler', 'gender', {'concept': 'sex'}] ['Johannes Rau', 'gender', {'concept': 'sex'}] ['Horst Köhler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Johannes_Rau property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Johannes Rau. Could you tell me the answer for that?
(Q2551,P21,c(Q290))
Q2551
['Q2551', 'P21', {'concept': 'Q290'}]
['Johannes Rau', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q2551,P21,c(Q290))
action filter_type
action find
entity Q2551
relation P21
type Q290
That person possesses a [ANSWER]
['Q2551', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q2551 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Johannes Rau
relation gender
type sex
['Johannes Rau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Johannes_Rau property:gender ?p . ?p rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?a ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?b . ?k rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } } . { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?e = ?a ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?a ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?b . ?k rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } } . { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?e = ?a ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?a ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?b . ?k rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } } . { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?e = ?a ) }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?a ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?b . ?k rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } } . { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?e = ?a ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1303
Q34379 Q502895
USER
Which musical instruments do around the same number of people know to play as that musical instrument ?
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
musical instrument common name
Comparative|More/Less|Single entity type|Clarification
Q1879664
SYSTEM
Did you mean spoon ?
(c(Q502895),P1303,c(Q34379))
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
Did you mean spoon ?
spoon
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
[]
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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))
[ANSWERS] around the same number of people know to play as that musical instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
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
Davul, harpsichord and Wurlitzer electric piano around the same number of people know to play as that musical instrument
davul harpsichord Wurlitzer electric piano
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1759986
P17
Q15617994
USER
Which administrative territory is that musical instrument located in ?
(Q1759986,P17,c(Q15617994))
action filter_type
action find
entity Q1759986
relation P17
type Q15617994
['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1759986 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Wurlitzer electric piano
action filter_type
action find
entity Wurlitzer electric piano
relation country
type designation for an administrative territorial entity
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wurlitzer_electric_piano property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1759986
SYSTEM
Did you mean Wurlitzer electric piano ?
Q1178361 Q81982 Q1759986
(Q1178361,P17,c(Q15617994)) (Q81982,P17,c(Q15617994)) (Q1759986,P17,c(Q15617994))
[ANSWER]
['Q1178361', 'P17', {'concept': 'Q15617994'}] ['Q81982', 'P17', {'concept': 'Q15617994'}] ['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1759986 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
davul harpsichord Wurlitzer electric piano
Did you mean Wurlitzer electric piano ?
Wurlitzer electric piano
['davul', 'country', {'concept': 'designation for an administrative territorial entity'}] ['harpsichord', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wurlitzer_electric_piano property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1759986,P17,c(Q15617994))
['Q1759986', 'P17', {'concept': 'Q15617994'}]
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q1759986,P17,c(Q15617994))
action filter_type
action find
entity Q1759986
relation P17
type Q15617994
That musical instrument is located in [ANSWER]
['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1759986 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
That musical instrument is located in United States of America
United States of America
action filter_type
action find
entity Wurlitzer electric piano
relation country
type designation for an administrative territorial entity
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wurlitzer_electric_piano property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]