Simple Question (Direct)
Simple Question
Q3823920
P57
Q502895
USER
Who directed La rivincita di Natale ?
(Q3823920,P57,c(Q502895))
action filter_type
action find
entity Q3823920
relation P57
type Q502895
['Q3823920', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3823920 property:P57 ?w . ?w rdf:type ontology:Q502895 }
La rivincita di Natale
action filter_type
action find
entity La rivincita di Natale
relation director
type common name
['La rivincita di Natale', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:La_rivincita_di_Natale property:director ?w . ?w rdf:type ontology:common_name }
[]
common name
Q55435
SYSTEM
Pupi Avati
Q55435
(Q3823920,P57,c(Q502895))
action filter_type
action find
entity Q3823920
relation P57
type Q502895
[ANSWER] directed La rivincita di Natale
['Q3823920', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3823920 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Pupi Avati
Pupi Avati directed La rivincita di Natale
Pupi Avati
action filter_type
action find
entity La rivincita di Natale
relation director
type common name
['La rivincita di Natale', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:La_rivincita_di_Natale property:director ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3823920
P86
Q502895
USER
Who was that work of art composed by ?
(Q55435,P86,c(Q502895))
action filter_type
action find
entity Q3823920
relation P86
type Q502895
['Q55435', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3823920 property:P86 ?h . ?h rdf:type ontology:Q502895 }
La rivincita di Natale
action filter_type
action find
entity La rivincita di Natale
relation composer
type common name
['Pupi Avati', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:La_rivincita_di_Natale property:composer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q288217
SYSTEM
Riz Ortolani
Q288217
(Q55435,P86,c(Q502895))
action filter_type
action find
entity Q3823920
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q55435', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3823920 property:P86 ?h . ?h rdf:type ontology:Q502895 }
Riz Ortolani
By that work of art was composed by Riz Ortolani
Riz Ortolani
action filter_type
action find
entity La rivincita di Natale
relation composer
type common name
['Pupi Avati', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:La_rivincita_di_Natale property:composer ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q288217 Q53868 Q391683
P27
Q15617994
USER
Is that person a citizen of Cleto and Uri, Sardinia ?
(Q288217,P27,Q53868) (Q288217,P27,Q391683)
action is_in
entity Q288217
action intersection
action find_reverse
entity Q53868
relation P27
action find_reverse
entity Q391683
relation P27
['Q288217', 'P27', 'Q53868'] ['Q288217', 'P27', 'Q391683']
ASK WHERE { resource:Q288217 property:P27 resource:Q391683 . resource:Q288217 property:P27 resource:Q53868 }
Riz Ortolani Cleto Uri, Sardinia
action is_in
entity Riz Ortolani
action intersection
action find_reverse
entity Cleto
relation country of citizenship
action find_reverse
entity Uri, Sardinia
relation country of citizenship
['Riz Ortolani', 'country of citizenship', 'Cleto'] ['Riz Ortolani', 'country of citizenship', 'Uri, Sardinia']
ASK WHERE { resource:Riz_Ortolani property:country_of_citizenship resource:Uri,_Sardinia . resource:Riz_Ortolani property:country_of_citizenship resource:Cleto }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q288217,P27,Q53868) (Q288217,P27,Q391683)
action is_in
entity Q288217
action intersection
action find_reverse
entity Q53868
relation P27
action find_reverse
entity Q391683
relation P27
[ANSWER]
['Q288217', 'P27', 'Q53868'] ['Q288217', 'P27', 'Q391683']
ASK WHERE { resource:Q288217 property:P27 resource:Q391683 . resource:Q288217 property:P27 resource:Q53868 }
No
action is_in
entity Riz Ortolani
action intersection
action find_reverse
entity Cleto
relation country of citizenship
action find_reverse
entity Uri, Sardinia
relation country of citizenship
['Riz Ortolani', 'country of citizenship', 'Cleto'] ['Riz Ortolani', 'country of citizenship', 'Uri, Sardinia']
ASK WHERE { resource:Riz_Ortolani property:country_of_citizenship resource:Uri,_Sardinia . resource:Riz_Ortolani property:country_of_citizenship resource:Cleto }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3823920 Q38 Q7245103
P495
Q15617994
USER
Did La rivincita di Natale originate in Italy and Principality of Gjirokastër ?
(Q3823920,P495,Q38) (Q3823920,P495,Q7245103)
action is_in
entity Q3823920
action intersection
action find_reverse
entity Q38
relation P495
action find_reverse
entity Q7245103
relation P495
['Q3823920', 'P495', 'Q38'] ['Q3823920', 'P495', 'Q7245103']
ASK WHERE { resource:Q3823920 property:P495 resource:Q38 . resource:Q3823920 property:P495 resource:Q7245103 }
La rivincita di Natale Italy Principality of Gjirokastër
action is_in
entity La rivincita di Natale
action intersection
action find_reverse
entity Italy
relation country of origin
action find_reverse
entity Principality of Gjirokastër
relation country of origin
['La rivincita di Natale', 'country of origin', 'Italy'] ['La rivincita di Natale', 'country of origin', 'Principality of Gjirokastër']
ASK WHERE { resource:La_rivincita_di_Natale property:country_of_origin resource:Italy . resource:La_rivincita_di_Natale property:country_of_origin resource:Principality_of_Gjirokastër }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3823920,P495,Q38) (Q3823920,P495,Q7245103)
action is_in
entity Q3823920
action intersection
action find_reverse
entity Q38
relation P495
action find_reverse
entity Q7245103
relation P495
[ANSWER]
['Q3823920', 'P495', 'Q38'] ['Q3823920', 'P495', 'Q7245103']
ASK WHERE { resource:Q3823920 property:P495 resource:Q38 . resource:Q3823920 property:P495 resource:Q7245103 }
YES and NO respectively
action is_in
entity La rivincita di Natale
action intersection
action find_reverse
entity Italy
relation country of origin
action find_reverse
entity Principality of Gjirokastër
relation country of origin
['La rivincita di Natale', 'country of origin', 'Italy'] ['La rivincita di Natale', 'country of origin', 'Principality of Gjirokastër']
ASK WHERE { resource:La_rivincita_di_Natale property:country_of_origin resource:Italy . resource:La_rivincita_di_Natale property:country_of_origin resource:Principality_of_Gjirokastër }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 3777 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3777
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?p = 3777 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?g } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3777
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?p = 3777 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?g } }
[]
musical instrument common name
Q8355 Q1444
SYSTEM
violin, organ
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3777
[ANSWERS] can around 3777 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?p = 3777 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?g } }
violin organ
Violin and organ can around 3777 people perform with
violin organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3777
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?p = 3777 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q288217
P800
Q7725634
USER
What is a notable work of Riz Ortolani ?
(Q288217,P800,c(Q7725634))
action filter_type
action find
entity Q288217
relation P800
type Q7725634
['Q288217', 'P800', {'concept': 'Q7725634'}]
SELECT DISTINCT ?m WHERE { resource:Q288217 property:P800 ?m . ?m rdf:type ontology:Q7725634 }
Riz Ortolani
action filter_type
action find
entity Riz Ortolani
relation notable work
type literary work
['Riz Ortolani', 'notable work', {'concept': 'literary work'}]
SELECT DISTINCT ?m WHERE { resource:Riz_Ortolani property:notable_work ?m . ?m rdf:type ontology:literary_work }
[]
literary work
Q740577
SYSTEM
More
Q740577
(Q288217,P800,c(Q7725634))
action filter_type
action find
entity Q288217
relation P800
type Q7725634
A notable work of Riz Ortolani is [ANSWER]
['Q288217', 'P800', {'concept': 'Q7725634'}]
SELECT DISTINCT ?m WHERE { resource:Q288217 property:P800 ?m . ?m rdf:type ontology:Q7725634 }
More
A notable work of Riz Ortolani is More
More
action filter_type
action find
entity Riz Ortolani
relation notable work
type literary work
['Riz Ortolani', 'notable work', {'concept': 'literary work'}]
SELECT DISTINCT ?m WHERE { resource:Riz_Ortolani property:notable_work ?m . ?m rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q740577
P264
Q334453
USER
Which division is the record brand of that literary work ?
(Q740577,P264,c(Q334453))
action filter_type
action find
entity Q740577
relation P264
type Q334453
['Q740577', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q740577 property:P264 ?e . ?e rdf:type ontology:Q334453 }
More
action filter_type
action find
entity More
relation record label
type division
['More', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:More property:record_label ?e . ?e rdf:type ontology:division }
[]
division
Q1542119
SYSTEM
United Artists Records
Q1542119
(Q740577,P264,c(Q334453))
action filter_type
action find
entity Q740577
relation P264
type Q334453
[ANSWER] is the record brand of that literary work
['Q740577', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q740577 property:P264 ?e . ?e rdf:type ontology:Q334453 }
United Artists Records
United Artists Records is the record brand of that literary work
United Artists Records
action filter_type
action find
entity More
relation record label
type division
['More', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:More property:record_label ?e . ?e rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q288217
P175
Q2031291
USER
Which release performed Riz Ortolani ?
(c(Q2031291),P175,Q288217)
action filter_type
action find_reverse
entity Q288217
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q288217']
SELECT DISTINCT ?m WHERE { ?m property:P175 resource:Q288217 . ?m rdf:type ontology:Q2031291 }
Riz Ortolani
action filter_type
action find_reverse
entity Riz Ortolani
relation performer
type release
[{'concept': 'release'}, 'performer', 'Riz Ortolani']
SELECT DISTINCT ?m WHERE { ?m property:performer resource:Riz_Ortolani . ?m rdf:type ontology:release }
[]
release
Q6464750
SYSTEM
La Ragazza dal Pigiama Giallo
Q6464750
(c(Q2031291),P175,Q288217)
action filter_type
action find_reverse
entity Q288217
relation P175
type Q2031291
[ANSWER] performed Riz Ortolani
[{'concept': 'Q2031291'}, 'P175', 'Q288217']
SELECT DISTINCT ?m WHERE { ?m property:P175 resource:Q288217 . ?m rdf:type ontology:Q2031291 }
La Ragazza dal Pigiama Giallo
La Ragazza dal Pigiama Giallo performed Riz Ortolani
La Ragazza dal Pigiama Giallo
action filter_type
action find_reverse
entity Riz Ortolani
relation performer
type release
[{'concept': 'release'}, 'performer', 'Riz Ortolani']
SELECT DISTINCT ?m WHERE { ?m property:performer resource:Riz_Ortolani . ?m rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q288217
P20
Q56061
USER
Where did the demise of that person occur ?
(Q6464750,P20,c(Q56061))
action filter_type
action find
entity Q288217
relation P20
type Q56061
['Q6464750', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q288217 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Riz Ortolani
action filter_type
action find
entity Riz Ortolani
relation place of death
type administrative territorial entity
['La Ragazza dal Pigiama Giallo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Riz_Ortolani property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q6464750,P20,c(Q56061))
action filter_type
action find
entity Q288217
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q6464750', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q288217 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Rome
The demise of that person occurred in Rome
Rome
action filter_type
action find
entity Riz Ortolani
relation place of death
type administrative territorial entity
['La Ragazza dal Pigiama Giallo', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Riz_Ortolani property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have around the same number of people and holidays as their patron saint as that administrative territory ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q220
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?f ) WHERE { { ?x property:P417 ?p . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q502895 } UNION { ?x property:P417 ?p . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1445650 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q1445650 } } . resource:Q220 property:P417 ?d } } . FILTER ( ?f = ?o ) }
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Rome
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?f ) WHERE { { ?x property:patron_saint ?p . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:common_name } UNION { ?x property:patron_saint ?p . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:holiday } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:holiday } } . resource:Rome property:patron_saint ?d } } . FILTER ( ?f = ?o ) }
[]
common name holiday administrative territorial entity
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q220
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?f ) WHERE { { ?x property:P417 ?p . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q502895 } UNION { ?x property:P417 ?p . ?x rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1445650 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q1445650 } } . resource:Q220 property:P417 ?d } } . FILTER ( ?f = ?o ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Rome
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?f ) WHERE { { ?x property:patron_saint ?p . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:common_name } UNION { ?x property:patron_saint ?p . ?x rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:holiday } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:holiday } } . resource:Rome property:patron_saint ?d } } . FILTER ( ?f = ?o ) }
[]