Simple Question (Direct)
Simple Question
Q902551
P915
Q15617994
USER
Which administrative territory was The Bravados filmed at ?
(Q902551,P915,c(Q15617994))
action filter_type
action find
entity Q902551
relation P915
type Q15617994
['Q902551', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q902551 property:P915 ?q . ?q rdf:type ontology:Q15617994 }
The Bravados
action filter_type
action find
entity The Bravados
relation filming location
type designation for an administrative territorial entity
['The Bravados', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:The_Bravados property:filming_location ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q902551,P915,c(Q15617994))
action filter_type
action find
entity Q902551
relation P915
type Q15617994
The Bravados was filmed in [ANSWER]
['Q902551', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q902551 property:P915 ?q . ?q rdf:type ontology:Q15617994 }
Mexico
The Bravados was filmed in Mexico
Mexico
action filter_type
action find
entity The Bravados
relation filming location
type designation for an administrative territorial entity
['The Bravados', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:The_Bravados property:filming_location ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P530
Q15617994
USER
Which administrative territories have diplomatic associations with that one ?
(c(Q15617994),P530,Q96)
action filter_type
action find
entity Q96
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q96']
SELECT DISTINCT ?s WHERE { resource:Q96 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
Mexico
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Mexico']
SELECT DISTINCT ?s WHERE { resource:Mexico property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(c(Q15617994),P530,Q96)
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with that one
[{'concept': 'Q15617994'}, 'P530', 'Q96']
SELECT DISTINCT ?s WHERE { resource:Q96 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
Brazil Italy
Brazil and Italy have diplomatic associations with that one
Brazil Italy
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Mexico']
SELECT DISTINCT ?s WHERE { resource:Mexico property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q38
P1532
Q502895
USER
Whose people are Brazil and Italy ?
(c(Q502895),P1532,Q155) (c(Q502895),P1532,Q38)
action union
action filter_type
action find_reverse
entity Q155
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q155'] [{'concept': 'Q502895'}, 'P1532', 'Q38']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q502895 . ?t property:P1532 resource:Q155 } UNION { ?t property:P1532 resource:Q38 . ?t rdf:type ontology:Q502895 } }
Brazil Italy
action union
action filter_type
action find_reverse
entity Brazil
relation country for sport
type common name
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Brazil'] [{'concept': 'common name'}, 'country for sport', 'Italy']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:common_name . ?t property:country_for_sport resource:Brazil } UNION { ?t property:country_for_sport resource:Italy . ?t rdf:type ontology:common_name } }
[]
common name
Q10279110 Q20028186 Q3110622
SYSTEM
Fabiana Cristine da Silva, Thiago André, Gonzalo Garcia
Q23010184 Q1503228 Q26460455 Q10279110 Q20028186 Q16041141 Q11729824 Q27023191 Q25336604 Q22988707 Q22703869 Q22136991 Q20016855 Q22949274 Q21600834 Q22911603 Q23036908 Q9345554 Q3110622 Q5041564 Q3878312 Q21034233 Q25201549 Q2026418 Q22246777 Q24287413 Q21855004 Q22137017 Q1045901 Q25820084 Q22137004 Q22137011 Q22137023 Q22137020
(c(Q502895),P1532,Q155) (c(Q502895),P1532,Q38)
action union
action filter_type
action find_reverse
entity Q155
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[ANSWERS] are Brazil and Italy
[{'concept': 'Q502895'}, 'P1532', 'Q155'] [{'concept': 'Q502895'}, 'P1532', 'Q38']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q502895 . ?t property:P1532 resource:Q155 } UNION { ?t property:P1532 resource:Q38 . ?t rdf:type ontology:Q502895 } }
Maria Rodrigues João da Silva Alexander Russo Fabiana Cristine da Silva Thiago André Douglas de Souza Jéssica Carolina dos Reis Gianetti Bonfim Filippo Tortu Giuseppe Leonardi Dries van Schalkwyk Virginia Troiani Stefanie Horn Osama Zoghlami Héctor De Marco Sergio Chiesa Daniele Corsa Stefano Braga Gonzalo Garcia Carlo Occhiena Norbert Bonvecchio Enrico Casella Livio Sciandra Dario Cerrato Elisa Rea Luca Pizzini Federica Curiazzi Federica Putti Carter Trevisani Yusneysi Santiusti Johanelis Herrera Abreu Eugenio Meloni Alice Mangione Martina Lorenzetto
Fabiana Cristine da Silva, Thiago André and Gonzalo Garcia are Brazil and Italy
Fabiana Cristine da Silva Thiago André Gonzalo Garcia
action union
action filter_type
action find_reverse
entity Brazil
relation country for sport
type common name
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Brazil'] [{'concept': 'common name'}, 'country for sport', 'Italy']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:common_name . ?t property:country_for_sport resource:Brazil } UNION { ?t property:country_for_sport resource:Italy . ?t rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10279110
P734
Q82799
USER
Which name is associated with that person ?
(Q10279110,P734,c(Q82799))
action filter_type
action find
entity Q10279110
relation P734
type Q82799
['Q10279110', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q10279110 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Fabiana Cristine da Silva
action filter_type
action find
entity Fabiana Cristine da Silva
relation family name
type name
['Fabiana Cristine da Silva', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Fabiana_Cristine_da_Silva property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q20028186
SYSTEM
Did you mean Thiago André ?
Q10279110 Q20028186 Q3110622
(Q10279110,P734,c(Q82799)) (Q20028186,P734,c(Q82799)) (Q3110622,P734,c(Q82799))
[ANSWER]
['Q10279110', 'P734', {'concept': 'Q82799'}] ['Q20028186', 'P734', {'concept': 'Q82799'}] ['Q3110622', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q10279110 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Fabiana Cristine da Silva Thiago André Gonzalo Garcia
Did you mean Thiago André ?
Thiago André
['Fabiana Cristine da Silva', 'family name', {'concept': 'name'}] ['Thiago André', 'family name', {'concept': 'name'}] ['Gonzalo Garcia', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Fabiana_Cristine_da_Silva property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Fabiana Cristine da Silva. Could you tell me the answer for that?
(Q10279110,P734,c(Q82799))
Q10279110
['Q10279110', 'P734', {'concept': 'Q82799'}]
['Fabiana Cristine da Silva', 'family name', {'concept': 'name'}]
[]
Q6327150
SYSTEM
Silva
Q6327150
(Q10279110,P734,c(Q82799))
action filter_type
action find
entity Q10279110
relation P734
type Q82799
[ANSWER] is associated with that person
['Q10279110', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q10279110 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Silva
Silva is associated with that person
Silva
action filter_type
action find
entity Fabiana Cristine da Silva
relation family name
type name
['Fabiana Cristine da Silva', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Fabiana_Cristine_da_Silva property:family_name ?n . ?n rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16236639 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy or are the countries of citizenship of Vladimir Jovović ?
OR((Q38,P530,c(Q15617994)), (Q16236639,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q16236639
relation P27
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q16236639', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q16236639 property:P27 ?s } UNION { resource:Q38 property:P530 ?s } } }
Vladimir Jovović Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Vladimir Jovović
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vladimir Jovović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Vladimir_Jovović property:country_of_citizenship ?s } UNION { resource:Italy property:diplomatic_relation ?s } } }
[]
designation for an administrative territorial entity
Q948 Q215 Q230 Q884 Q258 Q145 Q212 Q238 Q869 Q41
SYSTEM
Some of them are Tunisia, Slovenia, Georgia, South Korea, South Africa, United Kingdom, Ukraine, San Marino, Thailand, Greece
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q16236639,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q16236639
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Italy or are the countries of citizenship of Vladimir Jovović
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q16236639', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q16236639 property:P27 ?s } UNION { resource:Q38 property:P530 ?s } } }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Tunisia, Slovenia, Georgia, South Korea, South Africa, United Kingdom, Ukraine, San Marino, Thailand and Greece have diplomatic relationships with Italy or are the countries of citizenship of Vladimir Jovović
Tunisia Slovenia Georgia South Korea South Africa United Kingdom Ukraine San Marino Thailand Greece
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Vladimir Jovović
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vladimir Jovović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Vladimir_Jovović property:country_of_citizenship ?s } UNION { resource:Italy property:diplomatic_relation ?s } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q520011
P530
Q15617994
USER
Do Bersenbrück have ambassadorial relations with those ones ?
(Q520011,P530,Q948) (Q520011,P530,Q215) (Q520011,P530,Q230) (Q520011,P530,Q884) (Q520011,P530,Q258) (Q520011,P530,Q145) (Q520011,P530,Q212) (Q520011,P530,Q238) (Q520011,P530,Q869) (Q520011,P530,Q41)
action is_in
entity prev_answer
action find
entity Q520011
relation P530
['Q520011', 'P530', 'Q948'] ['Q520011', 'P530', 'Q215'] ['Q520011', 'P530', 'Q230'] ['Q520011', 'P530', 'Q884'] ['Q520011', 'P530', 'Q258'] ['Q520011', 'P530', 'Q145'] ['Q520011', 'P530', 'Q212'] ['Q520011', 'P530', 'Q238'] ['Q520011', 'P530', 'Q869'] ['Q520011', 'P530', 'Q41']
ASK WHERE { VALUES ( ?u ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q520011 property:P530 ?u }
Bersenbrück
action is_in
entity prev_answer
action find
entity Bersenbrück
relation diplomatic relation
['Bersenbrück', 'diplomatic relation', 'Tunisia'] ['Bersenbrück', 'diplomatic relation', 'Slovenia'] ['Bersenbrück', 'diplomatic relation', 'Georgia'] ['Bersenbrück', 'diplomatic relation', 'South Korea'] ['Bersenbrück', 'diplomatic relation', 'South Africa'] ['Bersenbrück', 'diplomatic relation', 'United Kingdom'] ['Bersenbrück', 'diplomatic relation', 'Ukraine'] ['Bersenbrück', 'diplomatic relation', 'San Marino'] ['Bersenbrück', 'diplomatic relation', 'Thailand'] ['Bersenbrück', 'diplomatic relation', 'Greece']
ASK WHERE { VALUES ( ?u ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Bersenbrück property:diplomatic_relation ?u }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q520011,P530,Q948) (Q520011,P530,Q215) (Q520011,P530,Q230) (Q520011,P530,Q884) (Q520011,P530,Q258) (Q520011,P530,Q145) (Q520011,P530,Q212) (Q520011,P530,Q238) (Q520011,P530,Q869) (Q520011,P530,Q41)
action is_in
entity prev_answer
action find
entity Q520011
relation P530
[ANSWER]
['Q520011', 'P530', 'Q948'] ['Q520011', 'P530', 'Q215'] ['Q520011', 'P530', 'Q230'] ['Q520011', 'P530', 'Q884'] ['Q520011', 'P530', 'Q258'] ['Q520011', 'P530', 'Q145'] ['Q520011', 'P530', 'Q212'] ['Q520011', 'P530', 'Q238'] ['Q520011', 'P530', 'Q869'] ['Q520011', 'P530', 'Q41']
ASK WHERE { VALUES ( ?u ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q520011 property:P530 ?u }
No
action is_in
entity prev_answer
action find
entity Bersenbrück
relation diplomatic relation
['Bersenbrück', 'diplomatic relation', 'Tunisia'] ['Bersenbrück', 'diplomatic relation', 'Slovenia'] ['Bersenbrück', 'diplomatic relation', 'Georgia'] ['Bersenbrück', 'diplomatic relation', 'South Korea'] ['Bersenbrück', 'diplomatic relation', 'South Africa'] ['Bersenbrück', 'diplomatic relation', 'United Kingdom'] ['Bersenbrück', 'diplomatic relation', 'Ukraine'] ['Bersenbrück', 'diplomatic relation', 'San Marino'] ['Bersenbrück', 'diplomatic relation', 'Thailand'] ['Bersenbrück', 'diplomatic relation', 'Greece']
ASK WHERE { VALUES ( ?u ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Bersenbrück property:diplomatic_relation ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q41 Q111226
P47
Q15617994
USER
Is Quattro Castella bordered by Greece ?
(Q41,P47,Q111226)
action is_in
entity Q111226
action find
entity Q41
relation P47
['Q41', 'P47', 'Q111226']
ASK WHERE { resource:Q41 property:P47 resource:Q111226 }
Greece Quattro Castella
action is_in
entity Quattro Castella
action find
entity Greece
relation shares border with
['Greece', 'shares border with', 'Quattro Castella']
ASK WHERE { resource:Greece property:shares_border_with resource:Quattro_Castella }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q41,P47,Q111226)
action is_in
entity Q111226
action find
entity Q41
relation P47
[ANSWER]
['Q41', 'P47', 'Q111226']
ASK WHERE { resource:Q41 property:P47 resource:Q111226 }
No
action is_in
entity Quattro Castella
action find
entity Greece
relation shares border with
['Greece', 'shares border with', 'Quattro Castella']
ASK WHERE { resource:Greece property:shares_border_with resource:Quattro_Castella }
[]