Simple Question (Direct)
Simple Question
Q1160025
P21
Q290
USER
What is the sex of Daniel Batman ?
(Q1160025,P21,c(Q290))
action filter_type
action find
entity Q1160025
relation P21
type Q290
['Q1160025', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1160025 property:P21 ?a . ?a rdf:type ontology:Q290 }
Daniel Batman
action filter_type
action find
entity Daniel Batman
relation gender
type sex
['Daniel Batman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Daniel_Batman property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1160025,P21,c(Q290))
action filter_type
action find
entity Q1160025
relation P21
type Q290
The sex of Daniel Batman is the [ANSWER]
['Q1160025', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1160025 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Daniel Batman is the male
male
action filter_type
action find
entity Daniel Batman
relation gender
type sex
['Daniel Batman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Daniel_Batman property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1160025
P26
Q502895
USER
Which person is married to Daniel Batman ?
(c(Q502895),P26,Q1160025)
action filter_type
action find
entity Q1160025
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1160025']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q1160025 property:P26 ?a }
Daniel Batman
action filter_type
action find
entity Daniel Batman
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Daniel Batman']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Daniel_Batman property:spouse ?a }
[]
common name
Q3566032
SYSTEM
Nova Peris
Q3566032
(c(Q502895),P26,Q1160025)
action filter_type
action find
entity Q1160025
relation P26
type Q502895
[ANSWER] is married to Daniel Batman
[{'concept': 'Q502895'}, 'P26', 'Q1160025']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q1160025 property:P26 ?a }
Nova Peris
Nova Peris is married to Daniel Batman
Nova Peris
action filter_type
action find
entity Daniel Batman
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Daniel Batman']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Daniel_Batman property:spouse ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3566032
P106
Q12737077
USER
What are the professions of that person ?
(Q3566032,P106,c(Q12737077))
action filter_type
action find
entity Q3566032
relation P106
type Q12737077
['Q3566032', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3566032 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Nova Peris
action filter_type
action find
entity Nova Peris
relation occupation
type occupation
['Nova Peris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Nova_Peris property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q10843263 Q82955
SYSTEM
field hockey player, politician
Q10843263 Q82955
(Q3566032,P106,c(Q12737077))
action filter_type
action find
entity Q3566032
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q3566032', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3566032 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
field hockey player politician
The professions of that person are field hockey player and politician
field hockey player politician
action filter_type
action find
entity Nova Peris
relation occupation
type occupation
['Nova Peris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Nova_Peris property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3566032
P39
Q12737077
USER
What was the position for which Nova Peris was appointed ?
(Q3566032,P39,c(Q12737077))
action filter_type
action find
entity Q3566032
relation P39
type Q12737077
['Q3566032', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3566032 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Nova Peris
action filter_type
action find
entity Nova Peris
relation position held
type occupation
['Nova Peris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Nova_Peris property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q6814428
SYSTEM
member of the Australian Senate
Q6814428
(Q3566032,P39,c(Q12737077))
action filter_type
action find
entity Q3566032
relation P39
type Q12737077
The [ANSWER]
['Q3566032', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3566032 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
member of the Australian Senate
The member of the Australian Senate
member of the Australian Senate
action filter_type
action find
entity Nova Peris
relation position held
type occupation
['Nova Peris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Nova_Peris property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6814428 Q594184 Q408
P1001
Q1048835
USER
Does that occupation applies to jurisdiction over Nadezhdivka and Australia ?
(Q6814428,P1001,Q594184) (Q6814428,P1001,Q408)
action is_in
entity Q6814428
action intersection
action find_reverse
entity Q594184
relation P1001
action find_reverse
entity Q408
relation P1001
['Q6814428', 'P1001', 'Q594184'] ['Q6814428', 'P1001', 'Q408']
ASK WHERE { resource:Q6814428 property:P1001 resource:Q594184 . resource:Q6814428 property:P1001 resource:Q408 }
member of the Australian Senate Nadezhdivka Australia
action is_in
entity member of the Australian Senate
action intersection
action find_reverse
entity Nadezhdivka
relation applies to jurisdiction
action find_reverse
entity Australia
relation applies to jurisdiction
['member of the Australian Senate', 'applies to jurisdiction', 'Nadezhdivka'] ['member of the Australian Senate', 'applies to jurisdiction', 'Australia']
ASK WHERE { resource:member_of_the_Australian_Senate property:applies_to_jurisdiction resource:Nadezhdivka . resource:member_of_the_Australian_Senate property:applies_to_jurisdiction resource:Australia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q6814428,P1001,Q594184) (Q6814428,P1001,Q408)
action is_in
entity Q6814428
action intersection
action find_reverse
entity Q594184
relation P1001
action find_reverse
entity Q408
relation P1001
[ANSWER]
['Q6814428', 'P1001', 'Q594184'] ['Q6814428', 'P1001', 'Q408']
ASK WHERE { resource:Q6814428 property:P1001 resource:Q594184 . resource:Q6814428 property:P1001 resource:Q408 }
NO and YES respectively
action is_in
entity member of the Australian Senate
action intersection
action find_reverse
entity Nadezhdivka
relation applies to jurisdiction
action find_reverse
entity Australia
relation applies to jurisdiction
['member of the Australian Senate', 'applies to jurisdiction', 'Nadezhdivka'] ['member of the Australian Senate', 'applies to jurisdiction', 'Australia']
ASK WHERE { resource:member_of_the_Australian_Senate property:applies_to_jurisdiction resource:Nadezhdivka . resource:member_of_the_Australian_Senate property:applies_to_jurisdiction resource:Australia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15616707 Q594184
P17
Q15617994
USER
Which administrative territories do Nadezhdivka or Ekhagen and Källbacka belong to ?
OR((Q594184,P17,c(Q15617994)), (Q15616707,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q594184
relation P17
action find
entity Q15616707
relation P17
type Q15617994
{'OR': [['Q594184', 'P17', {'concept': 'Q15617994'}], ['Q15616707', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q594184 property:P17 ?l } UNION { resource:Q15616707 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Ekhagen and Källbacka Nadezhdivka
action filter_type
action union
action find
entity Nadezhdivka
relation country
action find
entity Ekhagen and Källbacka
relation country
type designation for an administrative territorial entity
{'OR': [['Nadezhdivka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ekhagen and Källbacka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Nadezhdivka property:country ?l } UNION { resource:Ekhagen_and_Källbacka property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q34
SYSTEM
Ukraine, Sweden
Q212 Q34
OR((Q594184,P17,c(Q15617994)), (Q15616707,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q594184
relation P17
action find
entity Q15616707
relation P17
type Q15617994
[ANSWERS] Nadezhdivka or Ekhagen and Källbacka belong to
{'OR': [['Q594184', 'P17', {'concept': 'Q15617994'}], ['Q15616707', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q594184 property:P17 ?l } UNION { resource:Q15616707 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Ukraine Sweden
Ukraine and Sweden Nadezhdivka or Ekhagen and Källbacka belong to
Ukraine Sweden
action filter_type
action union
action find
entity Nadezhdivka
relation country
action find
entity Ekhagen and Källbacka
relation country
type designation for an administrative territorial entity
{'OR': [['Nadezhdivka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ekhagen and Källbacka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Nadezhdivka property:country ?l } UNION { resource:Ekhagen_and_Källbacka property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19620320
Q15617994
USER
And also tell me about Van Eldikstraat?
(Q19620320,P17,c(Q15617994))
action filter_type
action find
entity Q19620320
relation P17
type Q15617994
['Q19620320', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q19620320 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Van Eldikstraat
action filter_type
action find
entity Van Eldikstraat
relation country
type designation for an administrative territorial entity
['Van Eldikstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Van_Eldikstraat property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19620320,P17,c(Q15617994))
action filter_type
action find
entity Q19620320
relation P17
type Q15617994
[ANSWER]
['Q19620320', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q19620320 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Van Eldikstraat
relation country
type designation for an administrative territorial entity
['Van Eldikstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Van_Eldikstraat property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]