Simple Question (Direct)
Simple Question
Q4460418
P1303
Q34379
USER
Which musical instrument can Warren Thomson perform with ?
(Q4460418,P1303,c(Q34379))
action filter_type
action find
entity Q4460418
relation P1303
type Q34379
['Q4460418', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34379 . resource:Q4460418 property:P1303 ?u }
Warren Thomson
action filter_type
action find
entity Warren Thomson
relation instrument
type musical instrument
['Warren Thomson', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_instrument . resource:Warren_Thomson property:instrument ?u }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q4460418,P1303,c(Q34379))
action filter_type
action find
entity Q4460418
relation P1303
type Q34379
Warren Thomson can perform [ANSWER]
['Q4460418', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34379 . resource:Q4460418 property:P1303 ?u }
piano
Warren Thomson can perform piano
piano
action filter_type
action find
entity Warren Thomson
relation instrument
type musical instrument
['Warren Thomson', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_instrument . resource:Warren_Thomson property:instrument ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P61
Q502895
USER
Who was the inventor or discoverer of that musical instrument ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q5994 property:P61 ?k . ?k rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:piano property:discoverer_or_inventor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
The inventor or discoverer of that musical instrument was [ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q5994 property:P61 ?k . ?k rdf:type ontology:Q502895 }
Bartolomeo Cristofori
The inventor or discoverer of that musical instrument was Bartolomeo Cristofori
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:piano property:discoverer_or_inventor ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q301597
P20
Q56061
USER
Where did that person die ?
(Q301597,P20,c(Q56061))
action filter_type
action find
entity Q301597
relation P20
type Q56061
['Q301597', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q301597 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Bartolomeo Cristofori
action filter_type
action find
entity Bartolomeo Cristofori
relation place of death
type administrative territorial entity
['Bartolomeo Cristofori', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bartolomeo_Cristofori property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q301597,P20,c(Q56061))
action filter_type
action find
entity Q301597
relation P20
type Q56061
That person died in [ANSWER]
['Q301597', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q301597 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Florence
That person died in Florence
Florence
action filter_type
action find
entity Bartolomeo Cristofori
relation place of death
type administrative territorial entity
['Bartolomeo Cristofori', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bartolomeo_Cristofori property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2044
P127
Q1076486
USER
Which sports venue is under posessision of that administrative territory ?
(c(Q1076486),P127,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q2044']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1076486 . ?i property:P127 resource:Q2044 }
Florence
action filter_type
action find_reverse
entity Florence
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Florence']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sports_venue . ?i property:owned_by resource:Florence }
[]
sports venue
Q270474
SYSTEM
Stadio Artemio Franchi
Q270474
(c(Q1076486),P127,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P127
type Q1076486
[ANSWER] is under posessision of that administrative territory
[{'concept': 'Q1076486'}, 'P127', 'Q2044']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1076486 . ?i property:P127 resource:Q2044 }
Stadio Artemio Franchi
Stadio Artemio Franchi is under posessision of that administrative territory
Stadio Artemio Franchi
action filter_type
action find_reverse
entity Florence
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Florence']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sports_venue . ?i property:owned_by resource:Florence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270474
P84
Q502895
USER
Who is the designer of that sports venue ?
(Q270474,P84,c(Q502895))
action filter_type
action find
entity Q270474
relation P84
type Q502895
['Q270474', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q270474 property:P84 ?n . ?n rdf:type ontology:Q502895 }
Stadio Artemio Franchi
action filter_type
action find
entity Stadio Artemio Franchi
relation architect
type common name
['Stadio Artemio Franchi', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Stadio_Artemio_Franchi property:architect ?n . ?n rdf:type ontology:common_name }
[]
common name
Q313528
SYSTEM
Pier Luigi Nervi
Q313528
(Q270474,P84,c(Q502895))
action filter_type
action find
entity Q270474
relation P84
type Q502895
The designer of that sports venue is [ANSWER]
['Q270474', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q270474 property:P84 ?n . ?n rdf:type ontology:Q502895 }
Pier Luigi Nervi
The designer of that sports venue is Pier Luigi Nervi
Pier Luigi Nervi
action filter_type
action find
entity Stadio Artemio Franchi
relation architect
type common name
['Stadio Artemio Franchi', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Stadio_Artemio_Franchi property:architect ?n . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q201129
P1303
Q34379 Q502895
USER
How many musical instruments are played by greater number of people than lyre ?
(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 Q201129
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P1303 ?y . ?g rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q201129 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?n > ?r ) }
lyre
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 lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:instrument ?y . ?g rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:lyre property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?r ) }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 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 Q201129
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P1303 ?y . ?g rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q201129 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?n > ?r ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
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 lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:instrument ?y . ?g rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:lyre property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1798603
P1303
Q34379 Q502895
USER
And what 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 ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q1798603 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?m } }
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 ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:string_instrument property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?m } }
[]
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 ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q1798603 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?m } }
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 ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:string_instrument property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?o > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P119
Q502895
USER
Who have Florence as his/her tomb ?
(c(Q502895),P119,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q2044']
SELECT DISTINCT ?t WHERE { ?t property:P119 resource:Q2044 . ?t rdf:type ontology:Q502895 }
Florence
action filter_type
action find_reverse
entity Florence
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Florence']
SELECT DISTINCT ?t WHERE { ?t property:place_of_burial resource:Florence . ?t rdf:type ontology:common_name }
[]
common name
Q3280510 Q265937
SYSTEM
Majid El Houssi, Alice Keppel
Q3280510 Q265937
(c(Q502895),P119,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P119
type Q502895
[ANSWERS] have Florence as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q2044']
SELECT DISTINCT ?t WHERE { ?t property:P119 resource:Q2044 . ?t rdf:type ontology:Q502895 }
Majid El Houssi Alice Keppel
Majid El Houssi and Alice Keppel have Florence as his/her tomb
Majid El Houssi Alice Keppel
action filter_type
action find_reverse
entity Florence
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Florence']
SELECT DISTINCT ?t WHERE { ?t property:place_of_burial resource:Florence . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3280510 Q265937
P27
Q15617994
USER
Which administrative territories are Majid El Houssi and Alice Keppel an inhabitant of ?
(Q3280510,P27,c(Q15617994)) (Q265937,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3280510
relation P27
type Q15617994
action filter_type
action find
entity Q265937
relation P27
type Q15617994
['Q3280510', 'P27', {'concept': 'Q15617994'}] ['Q265937', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q3280510 property:P27 ?v . ?v rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q15617994 . resource:Q265937 property:P27 ?v } }
Majid El Houssi Alice Keppel
action union
action filter_type
action find
entity Majid El Houssi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Alice Keppel
relation country of citizenship
type designation for an administrative territorial entity
['Majid El Houssi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Alice Keppel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Majid_El_Houssi property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alice_Keppel property:country_of_citizenship ?v } }
[]
designation for an administrative territorial entity
Q948 Q145
SYSTEM
Tunisia, United Kingdom
Q948 Q145
(Q3280510,P27,c(Q15617994)) (Q265937,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3280510
relation P27
type Q15617994
action filter_type
action find
entity Q265937
relation P27
type Q15617994
[ANSWERS] are Majid El Houssi and Alice Keppel an inhabitant of
['Q3280510', 'P27', {'concept': 'Q15617994'}] ['Q265937', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q3280510 property:P27 ?v . ?v rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q15617994 . resource:Q265937 property:P27 ?v } }
Tunisia United Kingdom
Tunisia and United Kingdom are Majid El Houssi and Alice Keppel an inhabitant of
Tunisia United Kingdom
action union
action filter_type
action find
entity Majid El Houssi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Alice Keppel
relation country of citizenship
type designation for an administrative territorial entity
['Majid El Houssi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Alice Keppel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Majid_El_Houssi property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alice_Keppel property:country_of_citizenship ?v } }
[]