Simple Question (Direct)
Simple Question
Q224165
P57
Q502895
USER
Who was 30 Winchester per El Diablo directed by ?
(Q224165,P57,c(Q502895))
action filter_type
action find
entity Q224165
relation P57
type Q502895
['Q224165', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q224165 property:P57 ?v . ?v rdf:type ontology:Q502895 }
30 Winchester per El Diablo
action filter_type
action find
entity 30 Winchester per El Diablo
relation director
type common name
['30 Winchester per El Diablo', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:30_Winchester_per_El_Diablo property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1522412
SYSTEM
Gianfranco Baldanello
Q1522412
(Q224165,P57,c(Q502895))
action filter_type
action find
entity Q224165
relation P57
type Q502895
30 Winchester per El Diablo was directed by Franco [ANSWER]
['Q224165', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q224165 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Gianfranco Baldanello
30 Winchester per El Diablo was directed by Franco Gianfranco Baldanello
Gianfranco Baldanello
action filter_type
action find
entity 30 Winchester per El Diablo
relation director
type common name
['30 Winchester per El Diablo', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:30_Winchester_per_El_Diablo property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224165
P1040
Q502895
USER
Which person edited 30 Winchester per El Diablo ?
(Q224165,P1040,c(Q502895))
action filter_type
action find
entity Q224165
relation P1040
type Q502895
['Q224165', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q224165 property:P1040 ?i . ?i rdf:type ontology:Q502895 }
30 Winchester per El Diablo
action filter_type
action find
entity 30 Winchester per El Diablo
relation film editor
type common name
['30 Winchester per El Diablo', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:30_Winchester_per_El_Diablo property:film_editor ?i . ?i rdf:type ontology:common_name }
[]
common name
Q1522412
SYSTEM
Gianfranco Baldanello
Q1522412
(Q224165,P1040,c(Q502895))
action filter_type
action find
entity Q224165
relation P1040
type Q502895
[ANSWER] edited 30 Winchester per El Diablo
['Q224165', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q224165 property:P1040 ?i . ?i rdf:type ontology:Q502895 }
Gianfranco Baldanello
Gianfranco Baldanello edited 30 Winchester per El Diablo
Gianfranco Baldanello
action filter_type
action find
entity 30 Winchester per El Diablo
relation film editor
type common name
['30 Winchester per El Diablo', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:30_Winchester_per_El_Diablo property:film_editor ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3351801
Q502895
USER
And also tell me about Om Jai Jagadish?
(Q3351801,P1040,c(Q502895))
action filter_type
action find
entity Q3351801
relation P1040
type Q502895
['Q3351801', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3351801 property:P1040 ?b . ?b rdf:type ontology:Q502895 }
Om Jai Jagadish
action filter_type
action find
entity Om Jai Jagadish
relation film editor
type common name
['Om Jai Jagadish', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Om_Jai_Jagadish property:film_editor ?b . ?b rdf:type ontology:common_name }
[]
common name
Q4782324
SYSTEM
Apurva Asrani
Q4782324
(Q3351801,P1040,c(Q502895))
action filter_type
action find
entity Q3351801
relation P1040
type Q502895
[ANSWER]
['Q3351801', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3351801 property:P1040 ?b . ?b rdf:type ontology:Q502895 }
Apurva Asrani
Apurva Asrani
action filter_type
action find
entity Om Jai Jagadish
relation film editor
type common name
['Om Jai Jagadish', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Om_Jai_Jagadish property:film_editor ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4782324 Q770741
P57
Q838948
USER
Does In the Loop have that person as its director ?
(Q770741,P57,Q4782324)
action is_in
entity Q770741
action find
entity Q4782324
relation P57
['Q770741', 'P57', 'Q4782324']
ASK WHERE { resource:Q4782324 property:P57 resource:Q770741 }
Apurva Asrani In the Loop
action is_in
entity In the Loop
action find
entity Apurva Asrani
relation director
['In the Loop', 'director', 'Apurva Asrani']
ASK WHERE { resource:Apurva_Asrani property:director resource:In_the_Loop }
[]
work of art
SYSTEM
NO
(Q770741,P57,Q4782324)
action is_in
entity Q770741
action find
entity Q4782324
relation P57
[ANSWER]
['Q770741', 'P57', 'Q4782324']
ASK WHERE { resource:Q4782324 property:P57 resource:Q770741 }
No
action is_in
entity In the Loop
action find
entity Apurva Asrani
relation director
['In the Loop', 'director', 'Apurva Asrani']
ASK WHERE { resource:Apurva_Asrani property:director resource:In_the_Loop }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3637781 Q224165
P161
Q502895
USER
Which people are in 30 Winchester per El Diablo and Bellezze in bicicletta ?
AND((Q224165,P161,c(Q502895)), (Q3637781,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q224165
relation P161
action find
entity Q3637781
relation P161
type Q502895
{'AND': [['Q224165', 'P161', {'concept': 'Q502895'}], ['Q3637781', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { resource:Q224165 property:P161 ?b . resource:Q3637781 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Bellezze in bicicletta 30 Winchester per El Diablo
action filter_type
action intersection
action find
entity 30 Winchester per El Diablo
relation cast member
action find
entity Bellezze in bicicletta
relation cast member
type common name
{'AND': [['30 Winchester per El Diablo', 'cast member', {'concept': 'common name'}], ['Bellezze in bicicletta', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { resource:30_Winchester_per_El_Diablo property:cast_member ?b . resource:Bellezze_in_bicicletta property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q778794
SYSTEM
Dante Maggio
Q778794
AND((Q224165,P161,c(Q502895)), (Q3637781,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q224165
relation P161
action find
entity Q3637781
relation P161
type Q502895
[ANSWER] is in 30 Winchester per El Diablo and Bellezze in bicicletta
{'AND': [['Q224165', 'P161', {'concept': 'Q502895'}], ['Q3637781', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { resource:Q224165 property:P161 ?b . resource:Q3637781 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Dante Maggio
Dante Maggio is in 30 Winchester per El Diablo and Bellezze in bicicletta
Dante Maggio
action filter_type
action intersection
action find
entity 30 Winchester per El Diablo
relation cast member
action find
entity Bellezze in bicicletta
relation cast member
type common name
{'AND': [['30 Winchester per El Diablo', 'cast member', {'concept': 'common name'}], ['Bellezze in bicicletta', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { resource:30_Winchester_per_El_Diablo property:cast_member ?b . resource:Bellezze_in_bicicletta property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3637781
P364
Q34770
USER
Which language was used originally for the creation of Bellezze in bicicletta ?
(Q778794,P364,c(Q34770))
action filter_type
action find
entity Q3637781
relation P364
type Q34770
['Q778794', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q3637781 property:P364 ?w }
Bellezze in bicicletta
action filter_type
action find
entity Bellezze in bicicletta
relation original language of work
type language
['Dante Maggio', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:Bellezze_in_bicicletta property:original_language_of_work ?w }
[]
language
Q652
SYSTEM
Italian
Q652
(Q778794,P364,c(Q34770))
action filter_type
action find
entity Q3637781
relation P364
type Q34770
[ANSWER] was used originally for the creation of Bellezze in bicicletta
['Q778794', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q3637781 property:P364 ?w }
Italian
Italian was used originally for the creation of Bellezze in bicicletta
Italian
action filter_type
action find
entity Bellezze in bicicletta
relation original language of work
type language
['Dante Maggio', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:Bellezze_in_bicicletta property:original_language_of_work ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3637781
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q652,P86,c(Q502895))
action filter_type
action find
entity Q3637781
relation P86
type Q502895
['Q652', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3637781 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Bellezze in bicicletta
action filter_type
action find
entity Bellezze in bicicletta
relation composer
type common name
['Italian', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Bellezze_in_bicicletta property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q3613886
SYSTEM
Amedeo Escobar
Q3613886
(Q652,P86,c(Q502895))
action filter_type
action find
entity Q3637781
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q652', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3637781 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Amedeo Escobar
Amedeo Escobar did the compostion for that work of art
Amedeo Escobar
action filter_type
action find
entity Bellezze in bicicletta
relation composer
type common name
['Italian', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Bellezze_in_bicicletta property:composer ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3637781
P2554
Q502895
USER
Who created the production designs of Bellezze in bicicletta ?
(Q3637781,P2554,c(Q502895))
action filter_type
action find
entity Q3637781
relation P2554
type Q502895
['Q3637781', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3637781 property:P2554 ?i . ?i rdf:type ontology:Q502895 }
Bellezze in bicicletta
action filter_type
action find
entity Bellezze in bicicletta
relation production designer
type common name
['Bellezze in bicicletta', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bellezze_in_bicicletta property:production_designer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q7001983
SYSTEM
Alfredo Montori
Q7001983
(Q3637781,P2554,c(Q502895))
action filter_type
action find
entity Q3637781
relation P2554
type Q502895
[ANSWER] created the production designs of Bellezze in bicicletta
['Q3637781', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3637781 property:P2554 ?i . ?i rdf:type ontology:Q502895 }
Alfredo Montori
Alfredo Montori created the production designs of Bellezze in bicicletta
Alfredo Montori
action filter_type
action find
entity Bellezze in bicicletta
relation production designer
type common name
['Bellezze in bicicletta', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bellezze_in_bicicletta property:production_designer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7001983
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q7001983,P27,c(Q15617994))
action filter_type
action find
entity Q7001983
relation P27
type Q15617994
['Q7001983', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q7001983 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Alfredo Montori
action filter_type
action find
entity Alfredo Montori
relation country of citizenship
type designation for an administrative territorial entity
['Alfredo Montori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Alfredo_Montori property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q7001983,P27,c(Q15617994))
action filter_type
action find
entity Q7001983
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q7001983', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q7001983 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Italy
Italy is the native country of that person
Italy
action filter_type
action find
entity Alfredo Montori
relation country of citizenship
type designation for an administrative territorial entity
['Alfredo Montori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Alfredo_Montori property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q5589178
USER
How many political territories or regimes have a diplomatic relationship with that administrative territory ?
(Q38,P530,c(Q1048835)) (Q38,P530,c(Q5589178)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q5589178))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q38
relation P530
type Q5589178
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q5589178'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q5589178 ) } . ?y rdf:type ?n }
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Italy
relation diplomatic relation
type regime
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'regime'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:regime ) } . ?y rdf:type ?n }
[]
political territorial entity regime
SYSTEM
7
Q408 Q35 Q40 Q16 Q664 Q183 Q1246
(Q38,P530,c(Q1048835)) (Q38,P530,c(Q5589178)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q5589178))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q38
relation P530
type Q5589178
[ANSWER]
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q5589178'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q5589178 ) } . ?y rdf:type ?n }
Australia Denmark Austria Canada New Zealand Germany Kosovo
7
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Italy
relation diplomatic relation
type regime
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'regime'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:regime ) } . ?y rdf:type ?n }
[]