Simple Question (Direct)
Simple Question
Q2600468
P21
Q290
USER
Which sex does Antonio Capuano have ?
(Q2600468,P21,c(Q290))
action filter_type
action find
entity Q2600468
relation P21
type Q290
['Q2600468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q2600468 property:P21 ?l }
Antonio Capuano
action filter_type
action find
entity Antonio Capuano
relation gender
type sex
['Antonio Capuano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Antonio_Capuano property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2600468,P21,c(Q290))
action filter_type
action find
entity Q2600468
relation P21
type Q290
Antonio Capuano has a [ANSWER]
['Q2600468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q2600468 property:P21 ?l }
male
Antonio Capuano has a male
male
action filter_type
action find
entity Antonio Capuano
relation gender
type sex
['Antonio Capuano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Antonio_Capuano property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2600468
P58
Q838948
USER
Which works of art are Antonio Capuano a screenwriter of ?
(c(Q838948),P58,Q2600468)
action filter_type
action find_reverse
entity Q2600468
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q2600468']
SELECT DISTINCT ?c WHERE { ?c property:P58 resource:Q2600468 . ?c rdf:type ontology:Q838948 }
Antonio Capuano
action filter_type
action find_reverse
entity Antonio Capuano
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Antonio Capuano']
SELECT DISTINCT ?c WHERE { ?c property:screenwriter resource:Antonio_Capuano . ?c rdf:type ontology:work_of_art }
[]
work of art
Q3791401 Q3907716 Q3822695
SYSTEM
The Vesuvians, The Dust of Naples, Mario's War
Q3822695 Q1397907 Q3791401 Q3907716 Q16622423
(c(Q838948),P58,Q2600468)
action filter_type
action find_reverse
entity Q2600468
relation P58
type Q838948
[ANSWERS] are Antonio Capuano a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q2600468']
SELECT DISTINCT ?c WHERE { ?c property:P58 resource:Q2600468 . ?c rdf:type ontology:Q838948 }
Mario's War Sacred Silence The Vesuvians The Dust of Naples Vito e gli altri
The Vesuvians, The Dust of Naples and Mario's War are Antonio Capuano a screenwriter of
The Vesuvians The Dust of Naples Mario's War
action filter_type
action find_reverse
entity Antonio Capuano
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Antonio Capuano']
SELECT DISTINCT ?c WHERE { ?c property:screenwriter resource:Antonio_Capuano . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3791401 Q3907716 Q3822695
P57
Q502895
USER
Who were the director of The Vesuvians, The Dust of Naples and Mario's War ?
(Q3791401,P57,c(Q502895)) (Q3907716,P57,c(Q502895)) (Q3822695,P57,c(Q502895))
action union
action filter_type
action find
entity Q3791401
relation P57
type Q502895
action filter_type
action find
entity Q3907716
relation P57
type Q502895
action filter_type
action find
entity Q3822695
relation P57
type Q502895
['Q3791401', 'P57', {'concept': 'Q502895'}] ['Q3907716', 'P57', {'concept': 'Q502895'}] ['Q3822695', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q3791401 property:P57 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q3907716 property:P57 ?n . ?n rdf:type ontology:Q502895 } }
The Vesuvians The Dust of Naples Mario's War
action union
action filter_type
action find
entity The Vesuvians
relation director
type common name
action filter_type
action find
entity The Dust of Naples
relation director
type common name
action filter_type
action find
entity Mario's War
relation director
type common name
['The Vesuvians', 'director', {'concept': 'common name'}] ['The Dust of Naples', 'director', {'concept': 'common name'}] ["Mario's War", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:The_Vesuvians property:director ?n . ?n rdf:type ontology:common_name } UNION { resource:The_Dust_of_Naples property:director ?n . ?n rdf:type ontology:common_name } }
[]
common name
Q1008154 Q598780 Q2600468
SYSTEM
Mario Martone, Antonietta De Lillo, Antonio Capuano
Q2338414 Q1008154 Q598780 Q2600468 Q2050883 Q2600468 Q2600468
(Q3791401,P57,c(Q502895)) (Q3907716,P57,c(Q502895)) (Q3822695,P57,c(Q502895))
action union
action filter_type
action find
entity Q3791401
relation P57
type Q502895
action filter_type
action find
entity Q3907716
relation P57
type Q502895
action filter_type
action find
entity Q3822695
relation P57
type Q502895
The director of The Vesuvians , The Dust of Naples and Mario's War were also [ANSWERS]
['Q3791401', 'P57', {'concept': 'Q502895'}] ['Q3907716', 'P57', {'concept': 'Q502895'}] ['Q3822695', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q3791401 property:P57 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q3907716 property:P57 ?n . ?n rdf:type ontology:Q502895 } }
Stefano Incerti Mario Martone Antonietta De Lillo Antonio Capuano Pappi Corsicato Antonio Capuano Antonio Capuano
The director of The Vesuvians , The Dust of Naples and Mario's War were also Mario Martone, Antonietta De Lillo and Antonio Capuano
Mario Martone Antonietta De Lillo Antonio Capuano
action union
action filter_type
action find
entity The Vesuvians
relation director
type common name
action filter_type
action find
entity The Dust of Naples
relation director
type common name
action filter_type
action find
entity Mario's War
relation director
type common name
['The Vesuvians', 'director', {'concept': 'common name'}] ['The Dust of Naples', 'director', {'concept': 'common name'}] ["Mario's War", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:The_Vesuvians property:director ?n . ?n rdf:type ontology:common_name } UNION { resource:The_Dust_of_Naples property:director ?n . ?n rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1008154
P1411
Q4220917
USER
Which film award was that person nominated for ?
(Q1008154,P1411,c(Q4220917))
action filter_type
action find
entity Q1008154
relation P1411
type Q4220917
['Q1008154', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?x WHERE { resource:Q1008154 property:P1411 ?x . ?x rdf:type ontology:Q4220917 }
Mario Martone
action filter_type
action find
entity Mario Martone
relation nominated for
type film award
['Mario Martone', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?x WHERE { resource:Mario_Martone property:nominated_for ?x . ?x rdf:type ontology:film_award }
[]
film award
Clarification for simple ques.
Q2600468
SYSTEM
Did you mean Antonio Capuano ?
Q1008154 Q598780 Q2600468
(Q1008154,P1411,c(Q4220917)) (Q598780,P1411,c(Q4220917)) (Q2600468,P1411,c(Q4220917))
[ANSWER]
['Q1008154', 'P1411', {'concept': 'Q4220917'}] ['Q598780', 'P1411', {'concept': 'Q4220917'}] ['Q2600468', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?x WHERE { resource:Q1008154 property:P1411 ?x . ?x rdf:type ontology:Q4220917 }
Mario Martone Antonietta De Lillo Antonio Capuano
Did you mean Antonio Capuano ?
Antonio Capuano
['Mario Martone', 'nominated for', {'concept': 'film award'}] ['Antonietta De Lillo', 'nominated for', {'concept': 'film award'}] ['Antonio Capuano', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?x WHERE { resource:Mario_Martone property:nominated_for ?x . ?x rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
USER
No, I meant Mario Martone. Could you tell me the answer for that?
(Q1008154,P1411,c(Q4220917))
Q1008154
['Q1008154', 'P1411', {'concept': 'Q4220917'}]
['Mario Martone', 'nominated for', {'concept': 'film award'}]
[]
Q768476
SYSTEM
David di Donatello for Best Film
Q768476
(Q1008154,P1411,c(Q4220917))
action filter_type
action find
entity Q1008154
relation P1411
type Q4220917
That person was nominated for [ANSWER]
['Q1008154', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?x WHERE { resource:Q1008154 property:P1411 ?x . ?x rdf:type ontology:Q4220917 }
David di Donatello for Best Film
That person was nominated for David di Donatello for Best Film
David di Donatello for Best Film
action filter_type
action find
entity Mario Martone
relation nominated for
type film award
['Mario Martone', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?x WHERE { resource:Mario_Martone property:nominated_for ?x . ?x rdf:type ontology:film_award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q768476 Q7496617
P1411
Q838948
USER
Was Shikshanachya Aaicha Gho nominated for that film award ?
(Q7496617,P1411,Q768476)
action is_in
entity Q7496617
action find
entity Q768476
relation P1411
['Q7496617', 'P1411', 'Q768476']
ASK WHERE { resource:Q768476 property:P1411 resource:Q7496617 }
David di Donatello for Best Film Shikshanachya Aaicha Gho
action is_in
entity Shikshanachya Aaicha Gho
action find
entity David di Donatello for Best Film
relation nominated for
['Shikshanachya Aaicha Gho', 'nominated for', 'David di Donatello for Best Film']
ASK WHERE { resource:David_di_Donatello_for_Best_Film property:nominated_for resource:Shikshanachya_Aaicha_Gho }
[]
work of art
SYSTEM
NO
(Q7496617,P1411,Q768476)
action is_in
entity Q7496617
action find
entity Q768476
relation P1411
[ANSWER]
['Q7496617', 'P1411', 'Q768476']
ASK WHERE { resource:Q768476 property:P1411 resource:Q7496617 }
No
action is_in
entity Shikshanachya Aaicha Gho
action find
entity David di Donatello for Best Film
relation nominated for
['Shikshanachya Aaicha Gho', 'nominated for', 'David di Donatello for Best Film']
ASK WHERE { resource:David_di_Donatello_for_Best_Film property:nominated_for resource:Shikshanachya_Aaicha_Gho }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3791401 Q16944394 Q38
P495
Q15617994
USER
Does The Vesuvians have Meridian Elementary School District and Italy as its place of origin ?
(Q3791401,P495,Q16944394) (Q3791401,P495,Q38)
action is_in
entity Q3791401
action intersection
action find_reverse
entity Q16944394
relation P495
action find_reverse
entity Q38
relation P495
['Q3791401', 'P495', 'Q16944394'] ['Q3791401', 'P495', 'Q38']
ASK WHERE { resource:Q3791401 property:P495 resource:Q16944394 . resource:Q3791401 property:P495 resource:Q38 }
The Vesuvians Meridian Elementary School District Italy
action is_in
entity The Vesuvians
action intersection
action find_reverse
entity Meridian Elementary School District
relation country of origin
action find_reverse
entity Italy
relation country of origin
['The Vesuvians', 'country of origin', 'Meridian Elementary School District'] ['The Vesuvians', 'country of origin', 'Italy']
ASK WHERE { resource:The_Vesuvians property:country_of_origin resource:Meridian_Elementary_School_District . resource:The_Vesuvians property:country_of_origin resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3791401,P495,Q16944394) (Q3791401,P495,Q38)
action is_in
entity Q3791401
action intersection
action find_reverse
entity Q16944394
relation P495
action find_reverse
entity Q38
relation P495
[ANSWER]
['Q3791401', 'P495', 'Q16944394'] ['Q3791401', 'P495', 'Q38']
ASK WHERE { resource:Q3791401 property:P495 resource:Q16944394 . resource:Q3791401 property:P495 resource:Q38 }
NO and YES respectively
action is_in
entity The Vesuvians
action intersection
action find_reverse
entity Meridian Elementary School District
relation country of origin
action find_reverse
entity Italy
relation country of origin
['The Vesuvians', 'country of origin', 'Meridian Elementary School District'] ['The Vesuvians', 'country of origin', 'Italy']
ASK WHERE { resource:The_Vesuvians property:country_of_origin resource:Meridian_Elementary_School_District . resource:The_Vesuvians property:country_of_origin resource:Italy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3822695 Q38 Q117218
P495
Q15617994
USER
Did Mario's War originate in Italy and San Biagio Saracinisco ?
(Q3822695,P495,Q38) (Q3822695,P495,Q117218)
action is_in
entity Q3822695
action intersection
action find_reverse
entity Q38
relation P495
action find_reverse
entity Q117218
relation P495
['Q3822695', 'P495', 'Q38'] ['Q3822695', 'P495', 'Q117218']
ASK WHERE { resource:Q3822695 property:P495 resource:Q38 . resource:Q3822695 property:P495 resource:Q117218 }
Mario's War Italy San Biagio Saracinisco
action is_in
entity Mario's War
action intersection
action find_reverse
entity Italy
relation country of origin
action find_reverse
entity San Biagio Saracinisco
relation country of origin
["Mario's War", 'country of origin', 'Italy'] ["Mario's War", 'country of origin', 'San Biagio Saracinisco']
ASK WHERE { resource:Mario's_War property:country_of_origin resource:Italy . resource:Mario's_War property:country_of_origin resource:San_Biagio_Saracinisco }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3822695,P495,Q38) (Q3822695,P495,Q117218)
action is_in
entity Q3822695
action intersection
action find_reverse
entity Q38
relation P495
action find_reverse
entity Q117218
relation P495
[ANSWER]
['Q3822695', 'P495', 'Q38'] ['Q3822695', 'P495', 'Q117218']
ASK WHERE { resource:Q3822695 property:P495 resource:Q38 . resource:Q3822695 property:P495 resource:Q117218 }
YES and NO respectively
action is_in
entity Mario's War
action intersection
action find_reverse
entity Italy
relation country of origin
action find_reverse
entity San Biagio Saracinisco
relation country of origin
["Mario's War", 'country of origin', 'Italy'] ["Mario's War", 'country of origin', 'San Biagio Saracinisco']
ASK WHERE { resource:Mario's_War property:country_of_origin resource:Italy . resource:Mario's_War property:country_of_origin resource:San_Biagio_Saracinisco }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4714723 Q2600468
P27
Q15617994
USER
Which administrative territories are Antonio Capuano or Alejo Mabanag a civilian of ?
OR((Q2600468,P27,c(Q15617994)), (Q4714723,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2600468
relation P27
action find
entity Q4714723
relation P27
type Q15617994
{'OR': [['Q2600468', 'P27', {'concept': 'Q15617994'}], ['Q4714723', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2600468 property:P27 ?t } UNION { resource:Q4714723 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Alejo Mabanag Antonio Capuano
action filter_type
action union
action find
entity Antonio Capuano
relation country of citizenship
action find
entity Alejo Mabanag
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antonio Capuano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alejo Mabanag', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Antonio_Capuano property:country_of_citizenship ?t } UNION { resource:Alejo_Mabanag property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q38
SYSTEM
Philippines, Italy
Q928 Q38
OR((Q2600468,P27,c(Q15617994)), (Q4714723,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2600468
relation P27
action find
entity Q4714723
relation P27
type Q15617994
[ANSWERS] are Antonio Capuano or Alejo Mabanag a civilian of
{'OR': [['Q2600468', 'P27', {'concept': 'Q15617994'}], ['Q4714723', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2600468 property:P27 ?t } UNION { resource:Q4714723 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Philippines Italy
Philippines and Italy are Antonio Capuano or Alejo Mabanag a civilian of
Philippines Italy
action filter_type
action union
action find
entity Antonio Capuano
relation country of citizenship
action find
entity Alejo Mabanag
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antonio Capuano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alejo Mabanag', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Antonio_Capuano property:country_of_citizenship ?t } UNION { resource:Alejo_Mabanag property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2011631
P530
Q1048835
USER
Do Tangará, Rio Grande do Norte have ambassadorial relations with those administrative territories ?
(Q2011631,P530,Q928) (Q2011631,P530,Q38)
action is_in
entity prev_answer
action find
entity Q2011631
relation P530
['Q2011631', 'P530', 'Q928'] ['Q2011631', 'P530', 'Q38']
ASK WHERE { resource:Q2011631 property:P530 ?b . VALUES ( ?b ) { ( resource:Q928 ) ( resource:Q38 ) } }
Tangará, Rio Grande do Norte
action is_in
entity prev_answer
action find
entity Tangará, Rio Grande do Norte
relation diplomatic relation
['Tangará, Rio Grande do Norte', 'diplomatic relation', 'Philippines'] ['Tangará, Rio Grande do Norte', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Tangará,_Rio_Grande_do_Norte property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Philippines ) ( resource:Italy ) } }
[]
political territorial entity
SYSTEM
NO
(Q2011631,P530,Q928) (Q2011631,P530,Q38)
action is_in
entity prev_answer
action find
entity Q2011631
relation P530
[ANSWER]
['Q2011631', 'P530', 'Q928'] ['Q2011631', 'P530', 'Q38']
ASK WHERE { resource:Q2011631 property:P530 ?b . VALUES ( ?b ) { ( resource:Q928 ) ( resource:Q38 ) } }
No
action is_in
entity prev_answer
action find
entity Tangará, Rio Grande do Norte
relation diplomatic relation
['Tangará, Rio Grande do Norte', 'diplomatic relation', 'Philippines'] ['Tangará, Rio Grande do Norte', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Tangará,_Rio_Grande_do_Norte property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Philippines ) ( resource:Italy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928
P607
Q15142889
USER
Which weapon family did Philippines take part in ?
(c(Q15142889),P607,Q928)
action filter_type
action find_reverse
entity Q928
relation P607
type Q15142889
[{'concept': 'Q15142889'}, 'P607', 'Q928']
SELECT DISTINCT ?y WHERE { ?y property:P607 resource:Q928 . ?y rdf:type ontology:Q15142889 }
Philippines
action filter_type
action find_reverse
entity Philippines
relation conflict
type weapon family
[{'concept': 'weapon family'}, 'conflict', 'Philippines']
SELECT DISTINCT ?y WHERE { ?y property:conflict resource:Philippines . ?y rdf:type ontology:weapon_family }
[]
weapon family
Q3439458
SYSTEM
Floro MK-9
Q3439458
(c(Q15142889),P607,Q928)
action filter_type
action find_reverse
entity Q928
relation P607
type Q15142889
Philippines took the [ANSWER] part
[{'concept': 'Q15142889'}, 'P607', 'Q928']
SELECT DISTINCT ?y WHERE { ?y property:P607 resource:Q928 . ?y rdf:type ontology:Q15142889 }
Floro MK-9
Philippines took the Floro MK-9 part
Floro MK-9
action filter_type
action find_reverse
entity Philippines
relation conflict
type weapon family
[{'concept': 'weapon family'}, 'conflict', 'Philippines']
SELECT DISTINCT ?y WHERE { ?y property:conflict resource:Philippines . ?y rdf:type ontology:weapon_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928
P35
Q502895
USER
Which person has the highest formal authority in Philippines ?
(Q928,P35,c(Q502895))
action filter_type
action find
entity Q928
relation P35
type Q502895
['Q928', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q928 property:P35 ?d }
Philippines
action filter_type
action find
entity Philippines
relation head of state
type common name
['Philippines', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Philippines property:head_of_state ?d }
[]
common name
Q1464
SYSTEM
Benigno Simeon Cojuangco Aquino III
Q1464
(Q928,P35,c(Q502895))
action filter_type
action find
entity Q928
relation P35
type Q502895
[ANSWER] has the highest formal authority in Philippines
['Q928', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q928 property:P35 ?d }
Benigno Simeon Cojuangco Aquino III
Benigno Simeon Cojuangco Aquino III has the highest formal authority in Philippines
Benigno Simeon Cojuangco Aquino III
action filter_type
action find
entity Philippines
relation head of state
type common name
['Philippines', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Philippines property:head_of_state ?d }
[]