Simple Question (Direct)
Simple Question
Q762073
P2554
Q502895
USER
Who created the production designs of Nonna Felicità ?
(Q762073,P2554,c(Q502895))
action filter_type
action find
entity Q762073
relation P2554
type Q502895
['Q762073', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q762073 property:P2554 ?j . ?j rdf:type ontology:Q502895 }
Nonna Felicità
action filter_type
action find
entity Nonna Felicità
relation production designer
type common name
['Nonna Felicità', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Nonna_Felicità property:production_designer ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3903237
SYSTEM
Piero Filippone
Q3903237
(Q762073,P2554,c(Q502895))
action filter_type
action find
entity Q762073
relation P2554
type Q502895
[ANSWER] created the production designs of Nonna Felicità
['Q762073', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q762073 property:P2554 ?j . ?j rdf:type ontology:Q502895 }
Piero Filippone
Piero Filippone created the production designs of Nonna Felicità
Piero Filippone
action filter_type
action find
entity Nonna Felicità
relation production designer
type common name
['Nonna Felicità', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Nonna_Felicità property:production_designer ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q762073
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q3903237,P344,c(Q502895))
action filter_type
action find
entity Q762073
relation P344
type Q502895
['Q3903237', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q762073 property:P344 ?w . ?w rdf:type ontology:Q502895 }
Nonna Felicità
action filter_type
action find
entity Nonna Felicità
relation director of photography
type common name
['Piero Filippone', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Nonna_Felicità property:director_of_photography ?w . ?w rdf:type ontology:common_name }
[]
common name
Q729046
SYSTEM
Carlo Montuori
Q729046
(Q3903237,P344,c(Q502895))
action filter_type
action find
entity Q762073
relation P344
type Q502895
The cinematographer of that work of art is named [ANSWER]
['Q3903237', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q762073 property:P344 ?w . ?w rdf:type ontology:Q502895 }
Carlo Montuori
The cinematographer of that work of art is named Carlo Montuori
Carlo Montuori
action filter_type
action find
entity Nonna Felicità
relation director of photography
type common name
['Piero Filippone', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Nonna_Felicità property:director_of_photography ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q762073
P86
Q502895
USER
Who composed Nonna Felicità ?
(Q762073,P86,c(Q502895))
action filter_type
action find
entity Q762073
relation P86
type Q502895
['Q762073', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q762073 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Nonna Felicità
action filter_type
action find
entity Nonna Felicità
relation composer
type common name
['Nonna Felicità', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Nonna_Felicità property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q19395800
SYSTEM
Giulio Bonnard
Q19395800
(Q762073,P86,c(Q502895))
action filter_type
action find
entity Q762073
relation P86
type Q502895
[ANSWER] composed Nonna Felicità
['Q762073', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q762073 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Giulio Bonnard
Giulio Bonnard composed Nonna Felicità
Giulio Bonnard
action filter_type
action find
entity Nonna Felicità
relation composer
type common name
['Nonna Felicità', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Nonna_Felicità property:composer ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19395800
P19
Q56061
USER
Where was that person born ?
(Q19395800,P19,c(Q56061))
action filter_type
action find
entity Q19395800
relation P19
type Q56061
['Q19395800', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q19395800 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Giulio Bonnard
action filter_type
action find
entity Giulio Bonnard
relation place of birth
type administrative territorial entity
['Giulio Bonnard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Giulio_Bonnard property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q19395800,P19,c(Q56061))
action filter_type
action find
entity Q19395800
relation P19
type Q56061
That person was born in [ANSWER]
['Q19395800', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q19395800 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Rome
That person was born in Rome
Rome
action filter_type
action find
entity Giulio Bonnard
relation place of birth
type administrative territorial entity
['Giulio Bonnard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Giulio_Bonnard property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q220 Q3105275
P19
Q502895
USER
Does Gianni Romoli have birthplace at that administrative territory ?
(Q3105275,P19,Q220)
action is_in
entity Q220
action find
entity Q3105275
relation P19
['Q3105275', 'P19', 'Q220']
ASK WHERE { resource:Q3105275 property:P19 resource:Q220 }
Rome Gianni Romoli
action is_in
entity Rome
action find
entity Gianni Romoli
relation place of birth
['Gianni Romoli', 'place of birth', 'Rome']
ASK WHERE { resource:Gianni_Romoli property:place_of_birth resource:Rome }
[]
common name
SYSTEM
YES
(Q3105275,P19,Q220)
action is_in
entity Q220
action find
entity Q3105275
relation P19
[ANSWER]
['Q3105275', 'P19', 'Q220']
ASK WHERE { resource:Q3105275 property:P19 resource:Q220 }
Yes
action is_in
entity Rome
action find
entity Gianni Romoli
relation place of birth
['Gianni Romoli', 'place of birth', 'Rome']
ASK WHERE { resource:Gianni_Romoli property:place_of_birth resource:Rome }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220
P47
Q15617994 Q56061
USER
How many administrative territories or administrative territories share the border with Rome ?
(Q220,P47,c(Q15617994)) (Q220,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q220
relation P47
type Q15617994
action filter_type
action find
entity Q220
relation P47
type Q56061
['Q220', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?n rdf:type ?l }
Rome
action count
action union
action filter_type
action find
entity Rome
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Rome
relation shares border with
type administrative territorial entity
['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?n rdf:type ?l }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
29
Q242954 Q241693 Q242710 Q242703 Q243497 Q243133 Q241911 Q241733 Q242637 Q242558 Q242998 Q242513 Q191115 Q243364 Q243311 Q242926 Q159605 Q242645 Q243188 Q140255 Q190963 Q243168 Q242965 Q242942 Q242105 Q19326 Q242661 Q242120 Q243172
(Q220,P47,c(Q15617994)) (Q220,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q220
relation P47
type Q15617994
action filter_type
action find
entity Q220
relation P47
type Q56061
[ANSWER]
['Q220', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?n rdf:type ?l }
Monte Compatri Anguillara Sabazia Guidonia Montecelio Grottaferrata Trevignano Romano Palestrina Campagnano di Roma Ardea Fonte Nuova Colonna, Lazio Monterotondo Ciampino Albano Laziale San Gregorio da Sassola Sacrofano Marino, Lazio Tivoli Formello Riano, Lazio Zagarolo Frascati Poli, Lazio Monte Porzio Catone Mentana Castel Gandolfo Fiumicino Gallicano nel Lazio Castel San Pietro Romano Pomezia
29
action count
action union
action filter_type
action find
entity Rome
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Rome
relation shares border with
type administrative territorial entity
['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?n rdf:type ?l }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3110051 Q220
P27 P1376
Q15617994
USER
Which administrative territories have Rome have their center of administration or do Jacek Lachowicz belong to ?
OR((Q220,P1376,c(Q15617994)), (Q3110051,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q220
relation P1376
action find
entity Q3110051
relation P27
type Q15617994
{'OR': [['Q220', 'P1376', {'concept': 'Q15617994'}], ['Q3110051', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3110051 property:P27 ?x } UNION { resource:Q220 property:P1376 ?x } } . ?x rdf:type ontology:Q15617994 }
Jacek Lachowicz Rome
action filter_type
action union
action find
entity Rome
relation capital of
action find
entity Jacek Lachowicz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rome', 'capital of', {'concept': 'designation for an administrative territorial entity'}], ['Jacek Lachowicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Jacek_Lachowicz property:country_of_citizenship ?x } UNION { resource:Rome property:capital_of ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1282 Q38 Q36 Q3528124 Q1558632
SYSTEM
Lazio, Italy, Poland, Tibre, Rome
Q1282 Q38 Q36 Q3528124 Q1558632
OR((Q220,P1376,c(Q15617994)), (Q3110051,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q220
relation P1376
action find
entity Q3110051
relation P27
type Q15617994
[ANSWERS] have Rome have their center of administration or do Jacek Lachowicz belong to
{'OR': [['Q220', 'P1376', {'concept': 'Q15617994'}], ['Q3110051', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3110051 property:P27 ?x } UNION { resource:Q220 property:P1376 ?x } } . ?x rdf:type ontology:Q15617994 }
Lazio Italy Poland Tibre Rome
Lazio, Italy, Poland, Tibre and Rome have Rome have their center of administration or do Jacek Lachowicz belong to
Lazio Italy Poland Tibre Rome
action filter_type
action union
action find
entity Rome
relation capital of
action find
entity Jacek Lachowicz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rome', 'capital of', {'concept': 'designation for an administrative territorial entity'}], ['Jacek Lachowicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Jacek_Lachowicz property:country_of_citizenship ?x } UNION { resource:Rome property:capital_of ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3110051
P161
Q838948
USER
How many works of art have Jacek Lachowicz as actor ?
(c(Q838948),P161,Q3110051)
action count
action filter_type
action find_reverse
entity Q3110051
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3110051']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:Q838948 . ?b property:P161 resource:Q3110051 }
Jacek Lachowicz
action count
action filter_type
action find_reverse
entity Jacek Lachowicz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jacek Lachowicz']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:work_of_art . ?b property:cast_member resource:Jacek_Lachowicz }
[]
work of art
SYSTEM
1
Q930533
(c(Q838948),P161,Q3110051)
action count
action filter_type
action find_reverse
entity Q3110051
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3110051']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:Q838948 . ?b property:P161 resource:Q3110051 }
The Wedding
1
action count
action filter_type
action find_reverse
entity Jacek Lachowicz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jacek Lachowicz']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:work_of_art . ?b property:cast_member resource:Jacek_Lachowicz }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461949
P607
Q198
USER
Which battle did Henry O'Neill take part in ?
(Q461949,P607,c(Q198))
action filter_type
action find
entity Q461949
relation P607
type Q198
['Q461949', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q461949 property:P607 ?i . ?i rdf:type ontology:Q198 }
Henry O'Neill
action filter_type
action find
entity Henry O'Neill
relation conflict
type war
["Henry O'Neill", 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:Henry_O'Neill property:conflict ?i . ?i rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q461949,P607,c(Q198))
action filter_type
action find
entity Q461949
relation P607
type Q198
Henry O'Neill took part in [ANSWER]
['Q461949', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q461949 property:P607 ?i . ?i rdf:type ontology:Q198 }
World War I
Henry O'Neill took part in World War I
World War I
action filter_type
action find
entity Henry O'Neill
relation conflict
type war
["Henry O'Neill", 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:Henry_O'Neill property:conflict ?i . ?i rdf:type ontology:war }
[]