Simple Question (Direct)
Simple Question
Q3119284
P19
Q15617994
USER
Which administrative territory was Guglielmo Oppezzo born in ?
(Q3119284,P19,c(Q15617994))
action filter_type
action find
entity Q3119284
relation P19
type Q15617994
['Q3119284', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q3119284 property:P19 ?c }
Guglielmo Oppezzo
action filter_type
action find
entity Guglielmo Oppezzo
relation place of birth
type designation for an administrative territorial entity
['Guglielmo Oppezzo', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Guglielmo_Oppezzo property:place_of_birth ?c }
[]
designation for an administrative territorial entity
Q17261
SYSTEM
Balzola
Q17261
(Q3119284,P19,c(Q15617994))
action filter_type
action find
entity Q3119284
relation P19
type Q15617994
Guglielmo Oppezzo was born in [ANSWER]
['Q3119284', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q3119284 property:P19 ?c }
Balzola
Guglielmo Oppezzo was born in Balzola
Balzola
action filter_type
action find
entity Guglielmo Oppezzo
relation place of birth
type designation for an administrative territorial entity
['Guglielmo Oppezzo', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Guglielmo_Oppezzo property:place_of_birth ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3119284
P54
Q43229
USER
What sports team is Guglielmo Oppezzo a member of ?
(Q3119284,P54,c(Q43229))
action filter_type
action find
entity Q3119284
relation P54
type Q43229
['Q3119284', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q3119284 property:P54 ?j . ?j rdf:type ontology:Q43229 }
Guglielmo Oppezzo
action filter_type
action find
entity Guglielmo Oppezzo
relation member of sports team
type organization
['Guglielmo Oppezzo', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:Guglielmo_Oppezzo property:member_of_sports_team ?j . ?j rdf:type ontology:organization }
[]
organization
Q1422
SYSTEM
Juventus F.C.
Q1422
(Q3119284,P54,c(Q43229))
action filter_type
action find
entity Q3119284
relation P54
type Q43229
[ANSWER] is Guglielmo Oppezzo a member of
['Q3119284', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { resource:Q3119284 property:P54 ?j . ?j rdf:type ontology:Q43229 }
Juventus F.C.
Juventus F.C. is Guglielmo Oppezzo a member of
Juventus F.C.
action filter_type
action find
entity Guglielmo Oppezzo
relation member of sports team
type organization
['Guglielmo Oppezzo', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { resource:Guglielmo_Oppezzo property:member_of_sports_team ?j . ?j rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1422 Q913113 Q982438
P488
Q502895
USER
Is Enrico Canfari and Eugenio Canfari a chairperson of Q1422 ?
(Q1422,P488,Q913113) (Q1422,P488,Q982438)
action is_in
entity Q1422
action intersection
action find_reverse
entity Q913113
relation P488
action find_reverse
entity Q982438
relation P488
['Q1422', 'P488', 'Q913113'] ['Q1422', 'P488', 'Q982438']
ASK WHERE { resource:Q1422 property:P488 resource:Q913113 . resource:Q1422 property:P488 resource:Q982438 }
Juventus F.C. Enrico Canfari Eugenio Canfari
action is_in
entity Juventus F.C.
action intersection
action find_reverse
entity Enrico Canfari
relation chairperson
action find_reverse
entity Eugenio Canfari
relation chairperson
['Juventus F.C.', 'chairperson', 'Enrico Canfari'] ['Juventus F.C.', 'chairperson', 'Eugenio Canfari']
ASK WHERE { resource:Juventus_F.C. property:chairperson resource:Enrico_Canfari . resource:Juventus_F.C. property:chairperson resource:Eugenio_Canfari }
[]
common name
SYSTEM
YES
(Q1422,P488,Q913113) (Q1422,P488,Q982438)
action is_in
entity Q1422
action intersection
action find_reverse
entity Q913113
relation P488
action find_reverse
entity Q982438
relation P488
[ANSWER]
['Q1422', 'P488', 'Q913113'] ['Q1422', 'P488', 'Q982438']
ASK WHERE { resource:Q1422 property:P488 resource:Q913113 . resource:Q1422 property:P488 resource:Q982438 }
Yes
action is_in
entity Juventus F.C.
action intersection
action find_reverse
entity Enrico Canfari
relation chairperson
action find_reverse
entity Eugenio Canfari
relation chairperson
['Juventus F.C.', 'chairperson', 'Enrico Canfari'] ['Juventus F.C.', 'chairperson', 'Eugenio Canfari']
ASK WHERE { resource:Juventus_F.C. property:chairperson resource:Enrico_Canfari . resource:Juventus_F.C. property:chairperson resource:Eugenio_Canfari }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3119284 Q38
P27
Q15617994
USER
Is Italy the native country of Guglielmo Oppezzo ?
(Q3119284,P27,Q38)
action is_in
entity Q38
action find
entity Q3119284
relation P27
['Q3119284', 'P27', 'Q38']
ASK WHERE { resource:Q3119284 property:P27 resource:Q38 }
Guglielmo Oppezzo Italy
action is_in
entity Italy
action find
entity Guglielmo Oppezzo
relation country of citizenship
['Guglielmo Oppezzo', 'country of citizenship', 'Italy']
ASK WHERE { resource:Guglielmo_Oppezzo property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3119284,P27,Q38)
action is_in
entity Q38
action find
entity Q3119284
relation P27
[ANSWER]
['Q3119284', 'P27', 'Q38']
ASK WHERE { resource:Q3119284 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Guglielmo Oppezzo
relation country of citizenship
['Guglielmo Oppezzo', 'country of citizenship', 'Italy']
ASK WHERE { resource:Guglielmo_Oppezzo property:country_of_citizenship resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17261 Q38
P17
Q15617994
USER
Does Balzola belong to Italy ?
(Q17261,P17,Q38)
action is_in
entity Q38
action find
entity Q17261
relation P17
['Q17261', 'P17', 'Q38']
ASK WHERE { resource:Q17261 property:P17 resource:Q38 }
Balzola Italy
action is_in
entity Italy
action find
entity Balzola
relation country
['Balzola', 'country', 'Italy']
ASK WHERE { resource:Balzola property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17261,P17,Q38)
action is_in
entity Q38
action find
entity Q17261
relation P17
[ANSWER]
['Q17261', 'P17', 'Q38']
ASK WHERE { resource:Q17261 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Balzola
relation country
['Balzola', 'country', 'Italy']
ASK WHERE { resource:Balzola property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3119284 Q38
P27
Q15617994
USER
Is Italy the country of citizenship of Guglielmo Oppezzo ?
(Q3119284,P27,Q38)
action is_in
entity Q38
action find
entity Q3119284
relation P27
['Q3119284', 'P27', 'Q38']
ASK WHERE { resource:Q3119284 property:P27 resource:Q38 }
Guglielmo Oppezzo Italy
action is_in
entity Italy
action find
entity Guglielmo Oppezzo
relation country of citizenship
['Guglielmo Oppezzo', 'country of citizenship', 'Italy']
ASK WHERE { resource:Guglielmo_Oppezzo property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3119284,P27,Q38)
action is_in
entity Q38
action find
entity Q3119284
relation P27
[ANSWER]
['Q3119284', 'P27', 'Q38']
ASK WHERE { resource:Q3119284 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Guglielmo Oppezzo
relation country of citizenship
['Guglielmo Oppezzo', 'country of citizenship', 'Italy']
ASK WHERE { resource:Guglielmo_Oppezzo property:country_of_citizenship resource:Italy }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q26692709 Q38
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy and are mayor of San Juan del Olmo located in ?
AND((Q38,P530,c(Q15617994)), (Q26692709,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q26692709
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q26692709', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q26692709 property:P17 ?e . resource:Q38 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
mayor of San Juan del Olmo Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity mayor of San Juan del Olmo
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['mayor of San Juan del Olmo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:mayor_of_San_Juan_del_Olmo property:country ?e . resource:Italy property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q38,P530,c(Q15617994)), (Q26692709,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q26692709
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Italy and are mayor of San Juan del Olmo located in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q26692709', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q26692709 property:P17 ?e . resource:Q38 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Spain
Spain have a diplomatic relationship with Italy and are mayor of San Juan del Olmo located in
Spain
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity mayor of San Juan del Olmo
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['mayor of San Juan del Olmo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:mayor_of_San_Juan_del_Olmo property:country ?e . resource:Italy property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4842326 Q38
P530 P17
Q1048835
USER
Which political territories have a diplomatic relationship with Italy or are Bahamas Association of Athletic Associations located in ?
OR((Q38,P530,c(Q1048835)), (Q4842326,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q4842326
relation P17
type Q1048835
{'OR': [['Q38', 'P530', {'concept': 'Q1048835'}], ['Q4842326', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q38 property:P530 ?z } UNION { resource:Q4842326 property:P17 ?z } } . ?z rdf:type ontology:Q1048835 }
Bahamas Association of Athletic Associations Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Bahamas Association of Athletic Associations
relation country
type political territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Bahamas Association of Athletic Associations', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Italy property:diplomatic_relation ?z } UNION { resource:Bahamas_Association_of_Athletic_Associations property:country ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40 Q183 Q778 Q408 Q16 Q35 Q664
SYSTEM
Austria, Germany, The Bahamas, Australia, Canada, Denmark, New Zealand
Q40 Q183 Q778 Q408 Q16 Q35 Q664
OR((Q38,P530,c(Q1048835)), (Q4842326,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q4842326
relation P17
type Q1048835
[ANSWERS] have a diplomatic relationship with Italy or are Bahamas Association of Athletic Associations located in
{'OR': [['Q38', 'P530', {'concept': 'Q1048835'}], ['Q4842326', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q38 property:P530 ?z } UNION { resource:Q4842326 property:P17 ?z } } . ?z rdf:type ontology:Q1048835 }
Austria Germany The Bahamas Australia Canada Denmark New Zealand
Austria, Germany, The Bahamas, Australia, Canada, Denmark and New Zealand have a diplomatic relationship with Italy or are Bahamas Association of Athletic Associations located in
Austria Germany The Bahamas Australia Canada Denmark New Zealand
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Bahamas Association of Athletic Associations
relation country
type political territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Bahamas Association of Athletic Associations', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Italy property:diplomatic_relation ?z } UNION { resource:Bahamas_Association_of_Athletic_Associations property:country ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q3409
P138
Q2235308
USER
How many ship types are named after Australia or Sirius ?
(c(Q2235308),P138,Q408) (c(Q2235308),P138,Q3409)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q3409
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q408'] [{'concept': 'Q2235308'}, 'P138', 'Q3409']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P138 resource:Q408 . ?q rdf:type ontology:Q2235308 } UNION { ?q property:P138 resource:Q3409 . ?q rdf:type ontology:Q2235308 } }
Australia Sirius
action count
action union
action filter_type
action find_reverse
entity Australia
relation named after
type ship type
action filter_type
action find_reverse
entity Sirius
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Australia'] [{'concept': 'ship type'}, 'named after', 'Sirius']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:named_after resource:Australia . ?q rdf:type ontology:ship_type } UNION { ?q property:named_after resource:Sirius . ?q rdf:type ontology:ship_type } }
[]
ship type
SYSTEM
2
Q10515102 Q2310320
(c(Q2235308),P138,Q408) (c(Q2235308),P138,Q3409)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q3409
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P138', 'Q408'] [{'concept': 'Q2235308'}, 'P138', 'Q3409']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:P138 resource:Q408 . ?q rdf:type ontology:Q2235308 } UNION { ?q property:P138 resource:Q3409 . ?q rdf:type ontology:Q2235308 } }
HMS Sirius MV Sirius
2
action count
action union
action filter_type
action find_reverse
entity Australia
relation named after
type ship type
action filter_type
action find_reverse
entity Sirius
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Australia'] [{'concept': 'ship type'}, 'named after', 'Sirius']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q property:named_after resource:Australia . ?q rdf:type ontology:ship_type } UNION { ?q property:named_after resource:Sirius . ?q rdf:type ontology:ship_type } }
[]