Simple Question (Direct)
Simple Question
Q1876234
P1412
Q34770
USER
Which language can Luigi Negri understand ?
(Q1876234,P1412,c(Q34770))
action filter_type
action find
entity Q1876234
relation P1412
type Q34770
['Q1876234', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q1876234 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Luigi Negri
action filter_type
action find
entity Luigi Negri
relation languages spoken, written or signed
type language
['Luigi Negri', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Luigi_Negri property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1876234,P1412,c(Q34770))
action filter_type
action find
entity Q1876234
relation P1412
type Q34770
Luigi Negri can understand [ANSWER]
['Q1876234', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q1876234 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Italian
Luigi Negri can understand Italian
Italian
action filter_type
action find
entity Luigi Negri
relation languages spoken, written or signed
type language
['Luigi Negri', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Luigi_Negri property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1876234
P19
Q56061
USER
Which administrative territory was Luigi Negri born at ?
(Q1876234,P19,c(Q56061))
action filter_type
action find
entity Q1876234
relation P19
type Q56061
['Q1876234', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1876234 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Luigi Negri
action filter_type
action find
entity Luigi Negri
relation place of birth
type administrative territorial entity
['Luigi Negri', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Luigi_Negri property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q1876234,P19,c(Q56061))
action filter_type
action find
entity Q1876234
relation P19
type Q56061
Luigi Negri was born in [ANSWER]
['Q1876234', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1876234 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Milan
Luigi Negri was born in Milan
Milan
action filter_type
action find
entity Luigi Negri
relation place of birth
type administrative territorial entity
['Luigi Negri', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Luigi_Negri property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2467594
Q56061
USER
And how about Yitzhak Arad?
(Q2467594,P19,c(Q56061))
action filter_type
action find
entity Q2467594
relation P19
type Q56061
['Q2467594', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2467594 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Yitzhak Arad
action filter_type
action find
entity Yitzhak Arad
relation place of birth
type administrative territorial entity
['Yitzhak Arad', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Yitzhak_Arad property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q137863
SYSTEM
Švenčionys
Q137863
(Q2467594,P19,c(Q56061))
action filter_type
action find
entity Q2467594
relation P19
type Q56061
[ANSWER]
['Q2467594', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2467594 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Švenčionys
Švenčionys
action filter_type
action find
entity Yitzhak Arad
relation place of birth
type administrative territorial entity
['Yitzhak Arad', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Yitzhak_Arad property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q137863
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q137863,P17,c(Q15617994))
action filter_type
action find
entity Q137863
relation P17
type Q15617994
['Q137863', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q137863 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Švenčionys
action filter_type
action find
entity Švenčionys
relation country
type designation for an administrative territorial entity
['Švenčionys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Švenčionys property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q137863,P17,c(Q15617994))
action filter_type
action find
entity Q137863
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q137863', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q137863 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Lithuania
That administrative territory is situated in Lithuania
Lithuania
action filter_type
action find
entity Švenčionys
relation country
type designation for an administrative territorial entity
['Švenčionys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Švenčionys property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16629202 Q1876234
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Luigi Negri or Edgars Vārdaunis ?
OR((Q1876234,P27,c(Q15617994)), (Q16629202,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1876234
relation P27
action find
entity Q16629202
relation P27
type Q15617994
{'OR': [['Q1876234', 'P27', {'concept': 'Q15617994'}], ['Q16629202', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q16629202 property:P27 ?d } UNION { resource:Q1876234 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Edgars Vārdaunis Luigi Negri
action filter_type
action union
action find
entity Luigi Negri
relation country of citizenship
action find
entity Edgars Vārdaunis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luigi Negri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edgars Vārdaunis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Edgars_Vārdaunis property:country_of_citizenship ?d } UNION { resource:Luigi_Negri property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q159 Q38
SYSTEM
Latvia, Russia, Italy
Q211 Q159 Q38
OR((Q1876234,P27,c(Q15617994)), (Q16629202,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1876234
relation P27
action find
entity Q16629202
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Luigi Negri or Edgars Vārdaunis
{'OR': [['Q1876234', 'P27', {'concept': 'Q15617994'}], ['Q16629202', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q16629202 property:P27 ?d } UNION { resource:Q1876234 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Latvia Russia Italy
Latvia, Russia and Italy are the countries of citizenship of Luigi Negri or Edgars Vārdaunis
Latvia Russia Italy
action filter_type
action union
action find
entity Luigi Negri
relation country of citizenship
action find
entity Edgars Vārdaunis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luigi Negri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edgars Vārdaunis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Edgars_Vārdaunis property:country_of_citizenship ?d } UNION { resource:Luigi_Negri property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have tactful political relations with those ones ?
(Q184,P530,Q211) (Q184,P530,Q159) (Q184,P530,Q38)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q211'] ['Q184', 'P530', 'Q159'] ['Q184', 'P530', 'Q38']
ASK WHERE { resource:Q184 property:P530 ?h . VALUES ( ?h ) { ( resource:Q211 ) ( resource:Q159 ) ( resource:Q38 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Latvia'] ['Belarus', 'diplomatic relation', 'Russia'] ['Belarus', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Belarus property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Latvia ) ( resource:Russia ) ( resource:Italy ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q211) (Q184,P530,Q159) (Q184,P530,Q38)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q211'] ['Q184', 'P530', 'Q159'] ['Q184', 'P530', 'Q38']
ASK WHERE { resource:Q184 property:P530 ?h . VALUES ( ?h ) { ( resource:Q211 ) ( resource:Q159 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Latvia'] ['Belarus', 'diplomatic relation', 'Russia'] ['Belarus', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Belarus property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Latvia ) ( resource:Russia ) ( resource:Italy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2467594
P106
Q12737077
USER
Which occupations have Yitzhak Arad as his/her 's career ?
(Q2467594,P106,c(Q12737077))
action filter_type
action find
entity Q2467594
relation P106
type Q12737077
['Q2467594', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2467594 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Yitzhak Arad
action filter_type
action find
entity Yitzhak Arad
relation occupation
type occupation
['Yitzhak Arad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Yitzhak_Arad property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272 Q1231865
SYSTEM
historian, university teacher, educationist
Q201788 Q1231865 Q1622272 Q47064 Q36180
(Q2467594,P106,c(Q12737077))
action filter_type
action find
entity Q2467594
relation P106
type Q12737077
[ANSWERS] have Yitzhak Arad as his/her 's career
['Q2467594', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2467594 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
historian educationist university teacher military personnel writer
Historian, university teacher and educationist have Yitzhak Arad as his/her 's career
historian university teacher educationist
action filter_type
action find
entity Yitzhak Arad
relation occupation
type occupation
['Yitzhak Arad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Yitzhak_Arad property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P463
Q874405
USER
What social groups had Russia as their member ?
(Q159,P463,c(Q874405))
action filter_type
action find
entity Q159
relation P463
type Q874405
['Q159', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q159 property:P463 ?c . ?c rdf:type ontology:Q874405 }
Russia
action filter_type
action find
entity Russia
relation member of
type social group
['Russia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:Russia property:member_of ?c . ?c rdf:type ontology:social_group }
[]
social group
Q2297670 Q8908
SYSTEM
Central Asian Cooperation Organization, Council of Europe
Q2297670 Q8908
(Q159,P463,c(Q874405))
action filter_type
action find
entity Q159
relation P463
type Q874405
[ANSWERS] had Russia as their member
['Q159', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q159 property:P463 ?c . ?c rdf:type ontology:Q874405 }
Central Asian Cooperation Organization Council of Europe
Central Asian Cooperation Organization and Council of Europe had Russia as their member
Central Asian Cooperation Organization Council of Europe
action filter_type
action find
entity Russia
relation member of
type social group
['Russia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:Russia property:member_of ?c . ?c rdf:type ontology:social_group }
[]