Simple Question (Direct)
Simple Question
Q98751
P937
Q56061
USER
Which administrative territory is the work location of Alfred Leber ?
(Q98751,P937,c(Q56061))
action filter_type
action find
entity Q98751
relation P937
type Q56061
['Q98751', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q98751 property:P937 ?e . ?e rdf:type ontology:Q56061 }
Alfred Leber
action filter_type
action find
entity Alfred Leber
relation work location
type administrative territorial entity
['Alfred Leber', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Alfred_Leber property:work_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3033
SYSTEM
Göttingen
Q3033
(Q98751,P937,c(Q56061))
action filter_type
action find
entity Q98751
relation P937
type Q56061
[ANSWER] is the work location of Alfred Leber
['Q98751', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q98751 property:P937 ?e . ?e rdf:type ontology:Q56061 }
Göttingen
Göttingen is the work location of Alfred Leber
Göttingen
action filter_type
action find
entity Alfred Leber
relation work location
type administrative territorial entity
['Alfred Leber', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Alfred_Leber property:work_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q98751
P1038
Q502895
USER
Which person is a relative of Alfred Leber ?
(Q98751,P1038,c(Q502895))
action filter_type
action find
entity Q98751
relation P1038
type Q502895
['Q98751', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q98751 property:P1038 ?m . ?m rdf:type ontology:Q502895 }
Alfred Leber
action filter_type
action find
entity Alfred Leber
relation relative
type common name
['Alfred Leber', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Alfred_Leber property:relative ?m . ?m rdf:type ontology:common_name }
[]
common name
Q69692
SYSTEM
Theodor Leber
Q69692
(Q98751,P1038,c(Q502895))
action filter_type
action find
entity Q98751
relation P1038
type Q502895
[ANSWER] is a relative of Alfred Leber
['Q98751', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q98751 property:P1038 ?m . ?m rdf:type ontology:Q502895 }
Theodor Leber
Theodor Leber is a relative of Alfred Leber
Theodor Leber
action filter_type
action find
entity Alfred Leber
relation relative
type common name
['Alfred Leber', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Alfred_Leber property:relative ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q69692
P138
Q2057971
USER
Which health problems are the eponym of that person ?
(c(Q2057971),P138,Q69692)
action filter_type
action find_reverse
entity Q69692
relation P138
type Q2057971
[{'concept': 'Q2057971'}, 'P138', 'Q69692']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q69692 . ?k rdf:type ontology:Q2057971 }
Theodor Leber
action filter_type
action find_reverse
entity Theodor Leber
relation named after
type health problem
[{'concept': 'health problem'}, 'named after', 'Theodor Leber']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Theodor_Leber . ?k rdf:type ontology:health_problem }
[]
health problem
Q1811132 Q1262161
SYSTEM
Leber congenital amaurosis, Leber hereditary optic neuropathy
Q1811132 Q1262161
(c(Q2057971),P138,Q69692)
action filter_type
action find_reverse
entity Q69692
relation P138
type Q2057971
[ANSWERS] are the eponym of that person
[{'concept': 'Q2057971'}, 'P138', 'Q69692']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q69692 . ?k rdf:type ontology:Q2057971 }
Leber congenital amaurosis Leber hereditary optic neuropathy
Leber congenital amaurosis and Leber hereditary optic neuropathy are the eponym of that person
Leber congenital amaurosis Leber hereditary optic neuropathy
action filter_type
action find_reverse
entity Theodor Leber
relation named after
type health problem
[{'concept': 'health problem'}, 'named after', 'Theodor Leber']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Theodor_Leber . ?k rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3033
P551
Q502895
USER
Which people live in Göttingen ?
(c(Q502895),P551,Q3033)
action filter_type
action find_reverse
entity Q3033
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q3033']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q3033 . ?g rdf:type ontology:Q502895 }
Göttingen
action filter_type
action find_reverse
entity Göttingen
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Göttingen']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Göttingen . ?g rdf:type ontology:common_name }
[]
common name
Q20829318 Q112007 Q21013724
SYSTEM
Detmar Wilhelm Soemmerring, Lucy Hillebrand, Jonathan Groß
Q20829318 Q112007 Q21013724
(c(Q502895),P551,Q3033)
action filter_type
action find_reverse
entity Q3033
relation P551
type Q502895
[ANSWERS] live in Göttingen
[{'concept': 'Q502895'}, 'P551', 'Q3033']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q3033 . ?g rdf:type ontology:Q502895 }
Detmar Wilhelm Soemmerring Lucy Hillebrand Jonathan Groß
Detmar Wilhelm Soemmerring, Lucy Hillebrand and Jonathan Groß live in Göttingen
Detmar Wilhelm Soemmerring Lucy Hillebrand Jonathan Groß
action filter_type
action find_reverse
entity Göttingen
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Göttingen']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Göttingen . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3033
P206
Q355304
USER
Which watercourses are situated in the neighbourhood of Göttingen ?
(Q3033,P206,c(Q355304))
action filter_type
action find
entity Q3033
relation P206
type Q355304
['Q3033', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q3033 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Göttingen
action filter_type
action find
entity Göttingen
relation located next to body of water
type watercourse
['Göttingen', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Göttingen property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
watercourse
Q161051 Q1547316 Q1878012
SYSTEM
Leine, Grone, Lutter
Q1878012 Q161051 Q1547316 Q646849
(Q3033,P206,c(Q355304))
action filter_type
action find
entity Q3033
relation P206
type Q355304
[ANSWERS] are situated in the neighbourhood of Göttingen
['Q3033', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q3033 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Lutter Leine Grone Weende
Leine, Grone and Lutter are situated in the neighbourhood of Göttingen
Leine Grone Lutter
action filter_type
action find
entity Göttingen
relation located next to body of water
type watercourse
['Göttingen', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Göttingen property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1878012
P17
Q1048835
USER
Which political territory is that watercourse located in ?
(Q1878012,P17,c(Q1048835))
action filter_type
action find
entity Q1878012
relation P17
type Q1048835
['Q1878012', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1878012 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Lutter
action filter_type
action find
entity Lutter
relation country
type political territorial entity
['Lutter', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lutter property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q1878012
SYSTEM
Did you mean Lutter ?
Q161051 Q1547316 Q1878012
(Q161051,P17,c(Q1048835)) (Q1547316,P17,c(Q1048835)) (Q1878012,P17,c(Q1048835))
[ANSWER]
['Q161051', 'P17', {'concept': 'Q1048835'}] ['Q1547316', 'P17', {'concept': 'Q1048835'}] ['Q1878012', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1878012 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Leine Grone Lutter
Did you mean Lutter ?
Lutter
['Leine', 'country', {'concept': 'political territorial entity'}] ['Grone', 'country', {'concept': 'political territorial entity'}] ['Lutter', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lutter property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1878012,P17,c(Q1048835))
['Q1878012', 'P17', {'concept': 'Q1048835'}]
['Lutter', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q1878012,P17,c(Q1048835))
action filter_type
action find
entity Q1878012
relation P17
type Q1048835
That watercourse is located in [ANSWER]
['Q1878012', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1878012 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Germany
That watercourse is located in Germany
Germany
action filter_type
action find
entity Lutter
relation country
type political territorial entity
['Lutter', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lutter property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q403 Q99943
P530
Q15617994
USER
Does that political territory have diplomatic relations with Serbia and Gatteo ?
(Q183,P530,Q403) (Q183,P530,Q99943)
action is_in
entity Q183
action intersection
action find_reverse
entity Q403
relation P530
action find_reverse
entity Q99943
relation P530
['Q183', 'P530', 'Q403'] ['Q183', 'P530', 'Q99943']
ASK WHERE { resource:Q183 property:P530 resource:Q403 . resource:Q183 property:P530 resource:Q99943 }
Germany Serbia Gatteo
action is_in
entity Germany
action intersection
action find_reverse
entity Serbia
relation diplomatic relation
action find_reverse
entity Gatteo
relation diplomatic relation
['Germany', 'diplomatic relation', 'Serbia'] ['Germany', 'diplomatic relation', 'Gatteo']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Serbia . resource:Germany property:diplomatic_relation resource:Gatteo }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q403) (Q183,P530,Q99943)
action is_in
entity Q183
action intersection
action find_reverse
entity Q403
relation P530
action find_reverse
entity Q99943
relation P530
[ANSWER]
['Q183', 'P530', 'Q403'] ['Q183', 'P530', 'Q99943']
ASK WHERE { resource:Q183 property:P530 resource:Q403 . resource:Q183 property:P530 resource:Q99943 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Serbia
relation diplomatic relation
action find_reverse
entity Gatteo
relation diplomatic relation
['Germany', 'diplomatic relation', 'Serbia'] ['Germany', 'diplomatic relation', 'Gatteo']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Serbia . resource:Germany property:diplomatic_relation resource:Gatteo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P793
Q57821 Q846882
USER
How many fortifications or sourcess of law are a significant events associated with Germany ?
(Q183,P793,c(Q57821)) (Q183,P793,c(Q846882))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q57821
action filter_type
action find
entity Q183
relation P793
type Q846882
['Q183', 'P793', {'concept': 'Q57821'}] ['Q183', 'P793', {'concept': 'Q846882'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { resource:Q183 property:P793 ?q . ?q rdf:type ontology:Q57821 } UNION { resource:Q183 property:P793 ?q . ?q rdf:type ontology:Q846882 } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation significant event
type fortification
action filter_type
action find
entity Germany
relation significant event
type sources of law
['Germany', 'significant event', {'concept': 'fortification'}] ['Germany', 'significant event', {'concept': 'sources of law'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { resource:Germany property:significant_event ?q . ?q rdf:type ontology:fortification } UNION { resource:Germany property:significant_event ?q . ?q rdf:type ontology:sources_of_law } }
[]
fortification sources of law
SYSTEM
2
Q5086 Q56045
(Q183,P793,c(Q57821)) (Q183,P793,c(Q846882))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q57821
action filter_type
action find
entity Q183
relation P793
type Q846882
[ANSWER]
['Q183', 'P793', {'concept': 'Q57821'}] ['Q183', 'P793', {'concept': 'Q846882'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { resource:Q183 property:P793 ?q . ?q rdf:type ontology:Q57821 } UNION { resource:Q183 property:P793 ?q . ?q rdf:type ontology:Q846882 } }
Berlin Wall Basic Law for the Federal Republic of Germany
2
action count
action union
action filter_type
action find
entity Germany
relation significant event
type fortification
action filter_type
action find
entity Germany
relation significant event
type sources of law
['Germany', 'significant event', {'concept': 'fortification'}] ['Germany', 'significant event', {'concept': 'sources of law'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { resource:Germany property:significant_event ?q . ?q rdf:type ontology:fortification } UNION { resource:Germany property:significant_event ?q . ?q rdf:type ontology:sources_of_law } }
[]