Simple Question (Direct)
Simple Question
Q568804
P106
Q12737077
USER
What are the job of Luciano Neroni ?
(Q568804,P106,c(Q12737077))
action filter_type
action find
entity Q568804
relation P106
type Q12737077
['Q568804', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q568804 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Luciano Neroni
action filter_type
action find
entity Luciano Neroni
relation occupation
type occupation
['Luciano Neroni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Luciano_Neroni property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q2865819 Q177220
SYSTEM
opera singer, singer
Q2865819 Q177220
(Q568804,P106,c(Q12737077))
action filter_type
action find
entity Q568804
relation P106
type Q12737077
The job of Luciano Neroni are an [ANSWERS]
['Q568804', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q568804 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
opera singer singer
The job of Luciano Neroni are an opera singer and singer
opera singer singer
action filter_type
action find
entity Luciano Neroni
relation occupation
type occupation
['Luciano Neroni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Luciano_Neroni property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q568804
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2865819,P27,c(Q15617994)) (Q177220,P27,c(Q15617994))
action filter_type
action find
entity Q568804
relation P27
type Q15617994
['Q2865819', 'P27', {'concept': 'Q15617994'}] ['Q177220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q568804 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Luciano Neroni
action filter_type
action find
entity Luciano Neroni
relation country of citizenship
type designation for an administrative territorial entity
['opera singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Luciano_Neroni property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q2865819,P27,c(Q15617994)) (Q177220,P27,c(Q15617994))
action filter_type
action find
entity Q568804
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q2865819', 'P27', {'concept': 'Q15617994'}] ['Q177220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q568804 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Italy
That person belongs to the Italy
Italy
action filter_type
action find
entity Luciano Neroni
relation country of citizenship
type designation for an administrative territorial entity
['opera singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Luciano_Neroni property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38 Q4718112 Q20
P530
Q15617994
USER
Does Italy have diplomatic associations with Alexander and Norway ?
(Q38,P530,Q4718112) (Q38,P530,Q20)
action is_in
entity Q38
action intersection
action find_reverse
entity Q4718112
relation P530
action find_reverse
entity Q20
relation P530
['Q38', 'P530', 'Q4718112'] ['Q38', 'P530', 'Q20']
ASK WHERE { resource:Q38 property:P530 resource:Q4718112 . resource:Q38 property:P530 resource:Q20 }
Italy Alexander Norway
action is_in
entity Italy
action intersection
action find_reverse
entity Alexander
relation diplomatic relation
action find_reverse
entity Norway
relation diplomatic relation
['Italy', 'diplomatic relation', 'Alexander'] ['Italy', 'diplomatic relation', 'Norway']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Alexander . resource:Italy property:diplomatic_relation resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q38,P530,Q4718112) (Q38,P530,Q20)
action is_in
entity Q38
action intersection
action find_reverse
entity Q4718112
relation P530
action find_reverse
entity Q20
relation P530
[ANSWER]
['Q38', 'P530', 'Q4718112'] ['Q38', 'P530', 'Q20']
ASK WHERE { resource:Q38 property:P530 resource:Q4718112 . resource:Q38 property:P530 resource:Q20 }
NO and YES respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Alexander
relation diplomatic relation
action find_reverse
entity Norway
relation diplomatic relation
['Italy', 'diplomatic relation', 'Alexander'] ['Italy', 'diplomatic relation', 'Norway']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Alexander . resource:Italy property:diplomatic_relation resource:Norway }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q783 Q20
P163
Q14660
USER
What have Norway or Honduras as their flag ?
OR((Q20,P163,c(Q14660)), (Q783,P163,c(Q14660)))
action filter_type
action union
action find
entity Q20
relation P163
action find
entity Q783
relation P163
type Q14660
{'OR': [['Q20', 'P163', {'concept': 'Q14660'}], ['Q783', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q14660 . { VALUES ( ?i ) { ( resource:Q20 ) ( resource:Q783 ) } . ?i property:P163 ?p } }
Honduras Norway
action filter_type
action union
action find
entity Norway
relation flag
action find
entity Honduras
relation flag
type flag
{'OR': [['Norway', 'flag', {'concept': 'flag'}], ['Honduras', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:flag . { VALUES ( ?i ) { ( resource:Norway ) ( resource:Honduras ) } . ?i property:flag ?p } }
[]
flag
Q83149 Q102939
SYSTEM
flag of Norway, Flag of Honduras
Q83149 Q102939
OR((Q20,P163,c(Q14660)), (Q783,P163,c(Q14660)))
action filter_type
action union
action find
entity Q20
relation P163
action find
entity Q783
relation P163
type Q14660
[ANSWERS] have Norway or Honduras as their flag
{'OR': [['Q20', 'P163', {'concept': 'Q14660'}], ['Q783', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q14660 . { VALUES ( ?i ) { ( resource:Q20 ) ( resource:Q783 ) } . ?i property:P163 ?p } }
flag of Norway Flag of Honduras
Flag of Norway and Flag of Honduras have Norway or Honduras as their flag
flag of Norway Flag of Honduras
action filter_type
action union
action find
entity Norway
relation flag
action find
entity Honduras
relation flag
type flag
{'OR': [['Norway', 'flag', {'concept': 'flag'}], ['Honduras', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:flag . { VALUES ( ?i ) { ( resource:Norway ) ( resource:Honduras ) } . ?i property:flag ?p } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q83149 Q102939
P1001
Q15617994
USER
Which administrative territories belong to jurisdiction of flag of Norway and Flag of Honduras ?
(Q83149,P1001,c(Q15617994)) (Q102939,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q83149
relation P1001
type Q15617994
action filter_type
action find
entity Q102939
relation P1001
type Q15617994
['Q83149', 'P1001', {'concept': 'Q15617994'}] ['Q102939', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { resource:Q83149 property:P1001 ?w . ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q15617994 . resource:Q102939 property:P1001 ?w } }
flag of Norway Flag of Honduras
action union
action filter_type
action find
entity flag of Norway
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Flag of Honduras
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of Norway', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Honduras', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { resource:flag_of_Norway property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Flag_of_Honduras property:applies_to_jurisdiction ?w } }
[]
designation for an administrative territorial entity
Q20 Q783
SYSTEM
Norway, Honduras
Q20 Q783
(Q83149,P1001,c(Q15617994)) (Q102939,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q83149
relation P1001
type Q15617994
action filter_type
action find
entity Q102939
relation P1001
type Q15617994
[ANSWERS] belong to jurisdiction of flag of Norway and Flag of Honduras
['Q83149', 'P1001', {'concept': 'Q15617994'}] ['Q102939', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { resource:Q83149 property:P1001 ?w . ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q15617994 . resource:Q102939 property:P1001 ?w } }
Norway Honduras
Norway and Honduras belong to jurisdiction of flag of Norway and Flag of Honduras
Norway Honduras
action union
action filter_type
action find
entity flag of Norway
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Flag of Honduras
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of Norway', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Honduras', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { resource:flag_of_Norway property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Flag_of_Honduras property:applies_to_jurisdiction ?w } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20 Q783
P6
Q502895
USER
What people are Norway and Honduras the head of goverment of ?
(Q20,P6,c(Q502895)) (Q783,P6,c(Q502895))
action union
action filter_type
action find
entity Q20
relation P6
type Q502895
action filter_type
action find
entity Q783
relation P6
type Q502895
['Q20', 'P6', {'concept': 'Q502895'}] ['Q783', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { resource:Q20 property:P6 ?h . ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q502895 . resource:Q783 property:P6 ?h } }
Norway Honduras
action union
action filter_type
action find
entity Norway
relation head of government
type common name
action filter_type
action find
entity Honduras
relation head of government
type common name
['Norway', 'head of government', {'concept': 'common name'}] ['Honduras', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { resource:Norway property:head_of_government ?h . ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:common_name . resource:Honduras property:head_of_government ?h } }
[]
common name
Q291644 Q5951723
SYSTEM
Erna Solberg, Juan Orlando Hernández
Q291644 Q5951723
(Q20,P6,c(Q502895)) (Q783,P6,c(Q502895))
action union
action filter_type
action find
entity Q20
relation P6
type Q502895
action filter_type
action find
entity Q783
relation P6
type Q502895
[ANSWERS] are Norway and Honduras the head of goverment of
['Q20', 'P6', {'concept': 'Q502895'}] ['Q783', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { resource:Q20 property:P6 ?h . ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q502895 . resource:Q783 property:P6 ?h } }
Erna Solberg Juan Orlando Hernández
Erna Solberg and Juan Orlando Hernández are Norway and Honduras the head of goverment of
Erna Solberg Juan Orlando Hernández
action union
action filter_type
action find
entity Norway
relation head of government
type common name
action filter_type
action find
entity Honduras
relation head of government
type common name
['Norway', 'head of government', {'concept': 'common name'}] ['Honduras', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { resource:Norway property:head_of_government ?h . ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:common_name . resource:Honduras property:head_of_government ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P47
Q15617994
USER
Which administrative territories have a shared border with Norway ?
(Q20,P47,c(Q15617994))
action filter_type
action find
entity Q20
relation P47
type Q15617994
['Q20', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q20 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Norway
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Norway property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q159 Q34
SYSTEM
Finland, Russia, Sweden
Q33 Q159 Q34
(Q20,P47,c(Q15617994))
action filter_type
action find
entity Q20
relation P47
type Q15617994
[ANSWERS] have a shared border with Norway
['Q20', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q20 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Finland Russia Sweden
Finland, Russia and Sweden have a shared border with Norway
Finland Russia Sweden
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Norway property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]