Simple Question (Direct)
Simple Question
Q17484511
P19
Q15617994
USER
Which administrative territory was Haile Goitom born in ?
(Q17484511,P19,c(Q15617994))
action filter_type
action find
entity Q17484511
relation P19
type Q15617994
['Q17484511', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q17484511 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Haile Goitom
action filter_type
action find
entity Haile Goitom
relation place of birth
type designation for an administrative territorial entity
['Haile Goitom', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Haile_Goitom property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q986
SYSTEM
Eritrea
Q986
(Q17484511,P19,c(Q15617994))
action filter_type
action find
entity Q17484511
relation P19
type Q15617994
Haile Goitom was born in [ANSWER]
['Q17484511', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q17484511 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Eritrea
Haile Goitom was born in Eritrea
Eritrea
action filter_type
action find
entity Haile Goitom
relation place of birth
type designation for an administrative territorial entity
['Haile Goitom', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Haile_Goitom property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q986
P276
Q350604
USER
What is situated at that administrative territory ?
(c(Q350604),P276,Q986)
action filter_type
action find_reverse
entity Q986
relation P276
type Q350604
[{'concept': 'Q350604'}, 'P276', 'Q986']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q986 . ?l rdf:type ontology:Q350604 }
Eritrea
action filter_type
action find_reverse
entity Eritrea
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Eritrea']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Eritrea . ?l rdf:type ontology:armed_conflict }
[]
armed conflict
Q832273
SYSTEM
Eritrean–Ethiopian War
Q832273
(c(Q350604),P276,Q986)
action filter_type
action find_reverse
entity Q986
relation P276
type Q350604
[ANSWER] is situated at that administrative territory
[{'concept': 'Q350604'}, 'P276', 'Q986']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q986 . ?l rdf:type ontology:Q350604 }
Eritrean–Ethiopian War
Eritrean–Ethiopian War is situated at that administrative territory
Eritrean–Ethiopian War
action filter_type
action find_reverse
entity Eritrea
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Eritrea']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Eritrea . ?l rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q15617994 Q838948 Q15416
USER
Which administrative territories are the countries of origin of max number of works of art or television programs ?
(c(Q838948)|c(Q15416),P495,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?x WHERE { { ?o property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 . ?o property:P495 ?x } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q838948 . ?t property:P495 ?m } UNION { ?t property:P495 ?m . ?t rdf:type ontology:Q15416 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . FILTER ( ?y = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?x WHERE { { ?o property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program . ?o property:country_of_origin ?x } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:work_of_art . ?t property:country_of_origin ?m } UNION { ?t property:country_of_origin ?m . ?t rdf:type ontology:television_program . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . FILTER ( ?y = ?v ) }
[]
designation for an administrative territorial entity work of art television program
Q30
SYSTEM
United States of America
Q30
(c(Q838948)|c(Q15416),P495,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
[ANSWER] is the countries of origin of max number of works of art or television programs
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?x WHERE { { ?o property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 . ?o property:P495 ?x } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q838948 . ?t property:P495 ?m } UNION { ?t property:P495 ?m . ?t rdf:type ontology:Q15416 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . FILTER ( ?y = ?v ) }
United States of America
United States of America is the countries of origin of max number of works of art or television programs
United States of America
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?x WHERE { { ?o property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program . ?o property:country_of_origin ?x } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:work_of_art . ?t property:country_of_origin ?m } UNION { ?t property:country_of_origin ?m . ?t rdf:type ontology:television_program . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . FILTER ( ?y = ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q53298 Q17484511
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Haile Goitom or are bordered by Ovaro ?
OR((Q17484511,P27,c(Q15617994)), (Q53298,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q17484511
relation P27
action find
entity Q53298
relation P47
type Q15617994
{'OR': [['Q17484511', 'P27', {'concept': 'Q15617994'}], ['Q53298', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q17484511 property:P27 ?m } UNION { resource:Q53298 property:P47 ?m } } . ?m rdf:type ontology:Q15617994 }
Ovaro Haile Goitom
action filter_type
action union
action find
entity Haile Goitom
relation country of citizenship
action find
entity Ovaro
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Haile Goitom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ovaro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Haile_Goitom property:country_of_citizenship ?m } UNION { resource:Ovaro property:shares_border_with ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q986 Q53366 Q53249 Q53368 Q53316 Q53214 Q53328 Q53270 Q53330
SYSTEM
Eritrea, Socchieve, Comeglians, Sutrio, Prato Carnico, Ampezzo, Ravascletto, Lauco, Raveo
Q986 Q53366 Q53249 Q53368 Q53316 Q53214 Q53328 Q53270 Q53330
OR((Q17484511,P27,c(Q15617994)), (Q53298,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q17484511
relation P27
action find
entity Q53298
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Haile Goitom or are bordered by Ovaro
{'OR': [['Q17484511', 'P27', {'concept': 'Q15617994'}], ['Q53298', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q17484511 property:P27 ?m } UNION { resource:Q53298 property:P47 ?m } } . ?m rdf:type ontology:Q15617994 }
Eritrea Socchieve Comeglians Sutrio Prato Carnico Ampezzo Ravascletto Lauco Raveo
Eritrea, Socchieve, Comeglians, Sutrio, Prato Carnico, Ampezzo, Ravascletto, Lauco and Raveo are the countries of citizenship of Haile Goitom or are bordered by Ovaro
Eritrea Socchieve Comeglians Sutrio Prato Carnico Ampezzo Ravascletto Lauco Raveo
action filter_type
action union
action find
entity Haile Goitom
relation country of citizenship
action find
entity Ovaro
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Haile Goitom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ovaro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Haile_Goitom property:country_of_citizenship ?m } UNION { resource:Ovaro property:shares_border_with ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q986 Q53366 Q53249 Q53368 Q53316 Q53214 Q53328 Q53270 Q53330
P17
Q15617994
USER
Which administrative territories do Eritrea, Socchieve, Comeglians, Sutrio, Prato Carnico, Ampezzo, Ravascletto, Lauco and Raveo belong to ?
(Q986,P17,c(Q15617994)) (Q53366,P17,c(Q15617994)) (Q53249,P17,c(Q15617994)) (Q53368,P17,c(Q15617994)) (Q53316,P17,c(Q15617994)) (Q53214,P17,c(Q15617994)) (Q53328,P17,c(Q15617994)) (Q53270,P17,c(Q15617994)) (Q53330,P17,c(Q15617994))
action union
action filter_type
action find
entity Q986
relation P17
type Q15617994
action filter_type
action find
entity Q53366
relation P17
type Q15617994
action filter_type
action find
entity Q53249
relation P17
type Q15617994
action filter_type
action find
entity Q53368
relation P17
type Q15617994
action filter_type
action find
entity Q53316
relation P17
type Q15617994
action filter_type
action find
entity Q53214
relation P17
type Q15617994
action filter_type
action find
entity Q53328
relation P17
type Q15617994
action filter_type
action find
entity Q53270
relation P17
type Q15617994
action filter_type
action find
entity Q53330
relation P17
type Q15617994
['Q986', 'P17', {'concept': 'Q15617994'}] ['Q53366', 'P17', {'concept': 'Q15617994'}] ['Q53249', 'P17', {'concept': 'Q15617994'}] ['Q53368', 'P17', {'concept': 'Q15617994'}] ['Q53316', 'P17', {'concept': 'Q15617994'}] ['Q53214', 'P17', {'concept': 'Q15617994'}] ['Q53328', 'P17', {'concept': 'Q15617994'}] ['Q53270', 'P17', {'concept': 'Q15617994'}] ['Q53330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q986 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q53366 property:P17 ?u . ?u rdf:type ontology:Q15617994 } }
Eritrea Socchieve Comeglians Sutrio Prato Carnico Ampezzo Ravascletto Lauco Raveo
action union
action filter_type
action find
entity Eritrea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Socchieve
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Comeglians
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sutrio
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prato Carnico
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ampezzo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ravascletto
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lauco
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Raveo
relation country
type designation for an administrative territorial entity
['Eritrea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Socchieve', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Comeglians', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sutrio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prato Carnico', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ampezzo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ravascletto', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lauco', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Raveo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:Eritrea property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Socchieve property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q986 Q38 Q38 Q38 Q38 Q38 Q38 Q38 Q38
(Q986,P17,c(Q15617994)) (Q53366,P17,c(Q15617994)) (Q53249,P17,c(Q15617994)) (Q53368,P17,c(Q15617994)) (Q53316,P17,c(Q15617994)) (Q53214,P17,c(Q15617994)) (Q53328,P17,c(Q15617994)) (Q53270,P17,c(Q15617994)) (Q53330,P17,c(Q15617994))
action union
action filter_type
action find
entity Q986
relation P17
type Q15617994
action filter_type
action find
entity Q53366
relation P17
type Q15617994
action filter_type
action find
entity Q53249
relation P17
type Q15617994
action filter_type
action find
entity Q53368
relation P17
type Q15617994
action filter_type
action find
entity Q53316
relation P17
type Q15617994
action filter_type
action find
entity Q53214
relation P17
type Q15617994
action filter_type
action find
entity Q53328
relation P17
type Q15617994
action filter_type
action find
entity Q53270
relation P17
type Q15617994
action filter_type
action find
entity Q53330
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] Eritrea, Socchieve, Comeglians, Sutrio, Prato Carnico, Ampezzo, Ravascletto, Lauco and Raveo belong to
['Q986', 'P17', {'concept': 'Q15617994'}] ['Q53366', 'P17', {'concept': 'Q15617994'}] ['Q53249', 'P17', {'concept': 'Q15617994'}] ['Q53368', 'P17', {'concept': 'Q15617994'}] ['Q53316', 'P17', {'concept': 'Q15617994'}] ['Q53214', 'P17', {'concept': 'Q15617994'}] ['Q53328', 'P17', {'concept': 'Q15617994'}] ['Q53270', 'P17', {'concept': 'Q15617994'}] ['Q53330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q986 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q53366 property:P17 ?u . ?u rdf:type ontology:Q15617994 } }
Eritrea Italy Italy Italy Italy Italy Italy Italy Italy
Italy, Italy and Italy Eritrea, Socchieve, Comeglians, Sutrio, Prato Carnico, Ampezzo, Ravascletto, Lauco and Raveo belong to
Italy Italy Italy
action union
action filter_type
action find
entity Eritrea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Socchieve
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Comeglians
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sutrio
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prato Carnico
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ampezzo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ravascletto
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lauco
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Raveo
relation country
type designation for an administrative territorial entity
['Eritrea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Socchieve', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Comeglians', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sutrio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prato Carnico', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ampezzo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ravascletto', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lauco', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Raveo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:Eritrea property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Socchieve property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5666071
Q15617994
USER
And how about Azizlu?
(Q5666071,P17,c(Q15617994))
action filter_type
action find
entity Q5666071
relation P17
type Q15617994
['Q5666071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q5666071 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Azizlu
action filter_type
action find
entity Azizlu
relation country
type designation for an administrative territorial entity
['Azizlu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Azizlu property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q5666071,P17,c(Q15617994))
action filter_type
action find
entity Q5666071
relation P17
type Q15617994
[ANSWER]
['Q5666071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q5666071 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Azizlu
relation country
type designation for an administrative territorial entity
['Azizlu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Azizlu property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q794 Q16213515
P27
Q502895
USER
Is Wayne A.I. Frederick a civilian of that administrative territory ?
(Q16213515,P27,Q794)
action is_in
entity Q16213515
action find
entity Q794
relation P27
['Q16213515', 'P27', 'Q794']
ASK WHERE { resource:Q794 property:P27 resource:Q16213515 }
Iran Wayne A.I. Frederick
action is_in
entity Wayne A.I. Frederick
action find
entity Iran
relation country of citizenship
['Wayne A.I. Frederick', 'country of citizenship', 'Iran']
ASK WHERE { resource:Iran property:country_of_citizenship resource:Wayne_A.I._Frederick }
[]
common name
SYSTEM
NO
(Q16213515,P27,Q794)
action is_in
entity Q16213515
action find
entity Q794
relation P27
[ANSWER]
['Q16213515', 'P27', 'Q794']
ASK WHERE { resource:Q794 property:P27 resource:Q16213515 }
No
action is_in
entity Wayne A.I. Frederick
action find
entity Iran
relation country of citizenship
['Wayne A.I. Frederick', 'country of citizenship', 'Iran']
ASK WHERE { resource:Iran property:country_of_citizenship resource:Wayne_A.I._Frederick }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q986 Q183
P530
Q1048835
USER
Does Germany have diplomatic relationships with that administrative territory ?
(Q986,P530,Q183)
action is_in
entity Q183
action find
entity Q986
relation P530
['Q986', 'P530', 'Q183']
ASK WHERE { resource:Q986 property:P530 resource:Q183 }
Eritrea Germany
action is_in
entity Germany
action find
entity Eritrea
relation diplomatic relation
['Eritrea', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Eritrea property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q986,P530,Q183)
action is_in
entity Q183
action find
entity Q986
relation P530
[ANSWER]
['Q986', 'P530', 'Q183']
ASK WHERE { resource:Q986 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Eritrea
relation diplomatic relation
['Eritrea', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Eritrea property:diplomatic_relation resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q53330 Q53366 Q14707750
P47
Q15617994
USER
Does Socchieve and West Irondequoit Central School District share a border with Raveo ?
(Q53330,P47,Q53366) (Q53330,P47,Q14707750)
action is_in
entity Q53330
action intersection
action find_reverse
entity Q53366
relation P47
action find_reverse
entity Q14707750
relation P47
['Q53330', 'P47', 'Q53366'] ['Q53330', 'P47', 'Q14707750']
ASK WHERE { resource:Q53330 property:P47 resource:Q53366 . resource:Q53330 property:P47 resource:Q14707750 }
Raveo Socchieve West Irondequoit Central School District
action is_in
entity Raveo
action intersection
action find_reverse
entity Socchieve
relation shares border with
action find_reverse
entity West Irondequoit Central School District
relation shares border with
['Raveo', 'shares border with', 'Socchieve'] ['Raveo', 'shares border with', 'West Irondequoit Central School District']
ASK WHERE { resource:Raveo property:shares_border_with resource:Socchieve . resource:Raveo property:shares_border_with resource:West_Irondequoit_Central_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q53330,P47,Q53366) (Q53330,P47,Q14707750)
action is_in
entity Q53330
action intersection
action find_reverse
entity Q53366
relation P47
action find_reverse
entity Q14707750
relation P47
[ANSWER]
['Q53330', 'P47', 'Q53366'] ['Q53330', 'P47', 'Q14707750']
ASK WHERE { resource:Q53330 property:P47 resource:Q53366 . resource:Q53330 property:P47 resource:Q14707750 }
YES and NO respectively
action is_in
entity Raveo
action intersection
action find_reverse
entity Socchieve
relation shares border with
action find_reverse
entity West Irondequoit Central School District
relation shares border with
['Raveo', 'shares border with', 'Socchieve'] ['Raveo', 'shares border with', 'West Irondequoit Central School District']
ASK WHERE { resource:Raveo property:shares_border_with resource:Socchieve . resource:Raveo property:shares_border_with resource:West_Irondequoit_Central_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53330
P20
Q502895
USER
Who died in Raveo ?
action filter_type
action find_reverse
entity Q53330
relation P20
type Q502895
SELECT DISTINCT ?t WHERE { ?t property:P20 resource:Q53330 . ?t rdf:type ontology:Q502895 }
Raveo
action filter_type
action find_reverse
entity Raveo
relation place of death
type common name
SELECT DISTINCT ?t WHERE { ?t property:place_of_death resource:Raveo . ?t rdf:type ontology:common_name }
[]
common name
Q3620331
SYSTEM
Antonio Zanella
Q3620331
action filter_type
action find_reverse
entity Q53330
relation P20
type Q502895
[ANSWER] died in Raveo
SELECT DISTINCT ?t WHERE { ?t property:P20 resource:Q53330 . ?t rdf:type ontology:Q502895 }
Antonio Zanella
Antonio Zanella died in Raveo
Antonio Zanella
action filter_type
action find_reverse
entity Raveo
relation place of death
type common name
SELECT DISTINCT ?t WHERE { ?t property:place_of_death resource:Raveo . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q53330
P21 P20
Q502895
USER
Which people died in Raveo and have the gender as male ?
AND((c(Q502895),P20,Q53330), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q53330
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q53330'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q53330 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male Raveo
action filter_type
action intersection
action find_reverse
entity Raveo
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Raveo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Raveo . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q3620331
SYSTEM
Antonio Zanella
Q3620331
AND((c(Q502895),P20,Q53330), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q53330
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] died in Raveo and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q53330'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q53330 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Antonio Zanella
Antonio Zanella died in Raveo and have the gender as male
Antonio Zanella
action filter_type
action intersection
action find_reverse
entity Raveo
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Raveo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Raveo . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]