Simple Question (Direct)
Simple Question
Q1637083
P108
Q811979
USER
Which architectural structure is the workplace of Wolfgang Hage ?
(Q1637083,P108,c(Q811979))
action filter_type
action find
entity Q1637083
relation P108
type Q811979
['Q1637083', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811979 . resource:Q1637083 property:P108 ?c }
Wolfgang Hage
action filter_type
action find
entity Wolfgang Hage
relation employer
type architectural structure
['Wolfgang Hage', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:architectural_structure . resource:Wolfgang_Hage property:employer ?c }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q1637083,P108,c(Q811979))
action filter_type
action find
entity Q1637083
relation P108
type Q811979
In [ANSWER] is the workplace of Wolfgang Hage
['Q1637083', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811979 . resource:Q1637083 property:P108 ?c }
University of Göttingen
In University of Göttingen is the workplace of Wolfgang Hage
University of Göttingen
action filter_type
action find
entity Wolfgang Hage
relation employer
type architectural structure
['Wolfgang Hage', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:architectural_structure . resource:Wolfgang_Hage property:employer ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1637083
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q152838,P27,c(Q1048835))
action filter_type
action find
entity Q1637083
relation P27
type Q1048835
['Q152838', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1637083 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Wolfgang Hage
action filter_type
action find
entity Wolfgang Hage
relation country of citizenship
type political territorial entity
['University of Göttingen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Wolfgang_Hage property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q152838,P27,c(Q1048835))
action filter_type
action find
entity Q1637083
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q152838', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1637083 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Wolfgang Hage
relation country of citizenship
type political territorial entity
['University of Göttingen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Wolfgang_Hage property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q674135 Q983
P530
Q15617994
USER
Is that political territory known to have diplomatic connections with Schossin and Equatorial Guinea ?
(Q183,P530,Q674135) (Q183,P530,Q983)
action is_in
entity Q183
action intersection
action find_reverse
entity Q674135
relation P530
action find_reverse
entity Q983
relation P530
['Q183', 'P530', 'Q674135'] ['Q183', 'P530', 'Q983']
ASK WHERE { resource:Q183 property:P530 resource:Q674135 . resource:Q183 property:P530 resource:Q983 }
Germany Schossin Equatorial Guinea
action is_in
entity Germany
action intersection
action find_reverse
entity Schossin
relation diplomatic relation
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
['Germany', 'diplomatic relation', 'Schossin'] ['Germany', 'diplomatic relation', 'Equatorial Guinea']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Schossin . resource:Germany property:diplomatic_relation resource:Equatorial_Guinea }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P530,Q674135) (Q183,P530,Q983)
action is_in
entity Q183
action intersection
action find_reverse
entity Q674135
relation P530
action find_reverse
entity Q983
relation P530
[ANSWER]
['Q183', 'P530', 'Q674135'] ['Q183', 'P530', 'Q983']
ASK WHERE { resource:Q183 property:P530 resource:Q674135 . resource:Q183 property:P530 resource:Q983 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Schossin
relation diplomatic relation
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
['Germany', 'diplomatic relation', 'Schossin'] ['Germany', 'diplomatic relation', 'Equatorial Guinea']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Schossin . resource:Germany property:diplomatic_relation resource:Equatorial_Guinea }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1368254 Q1637083
P106
Q12737077
USER
Which occupations have Wolfgang Hage or Kazimierz Waliszewski as his/her as a career ?
OR((Q1637083,P106,c(Q12737077)), (Q1368254,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1637083
relation P106
action find
entity Q1368254
relation P106
type Q12737077
{'OR': [['Q1637083', 'P106', {'concept': 'Q12737077'}], ['Q1368254', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?j ) { ( resource:Q1637083 ) ( resource:Q1368254 ) } . ?j property:P106 ?c } . ?c rdf:type ontology:Q12737077 }
Kazimierz Waliszewski Wolfgang Hage
action filter_type
action union
action find
entity Wolfgang Hage
relation occupation
action find
entity Kazimierz Waliszewski
relation occupation
type occupation
{'OR': [['Wolfgang Hage', 'occupation', {'concept': 'occupation'}], ['Kazimierz Waliszewski', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?j ) { ( resource:Wolfgang_Hage ) ( resource:Kazimierz_Waliszewski ) } . ?j property:occupation ?c } . ?c rdf:type ontology:occupation }
[]
occupation
Q201788 Q1743122 Q1234713 Q1622272 Q36180
SYSTEM
historian, church historian, theologian, university teacher, writer
Q201788 Q1743122 Q1234713 Q1622272 Q36180
OR((Q1637083,P106,c(Q12737077)), (Q1368254,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1637083
relation P106
action find
entity Q1368254
relation P106
type Q12737077
The [ANSWERS] have Wolfgang Hage or Kazimierz Waliszewski as his/her as a career
{'OR': [['Q1637083', 'P106', {'concept': 'Q12737077'}], ['Q1368254', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?j ) { ( resource:Q1637083 ) ( resource:Q1368254 ) } . ?j property:P106 ?c } . ?c rdf:type ontology:Q12737077 }
historian church historian theologian university teacher writer
The historian, church historian, theologian, university teacher and writer have Wolfgang Hage or Kazimierz Waliszewski as his/her as a career
historian church historian theologian university teacher writer
action filter_type
action union
action find
entity Wolfgang Hage
relation occupation
action find
entity Kazimierz Waliszewski
relation occupation
type occupation
{'OR': [['Wolfgang Hage', 'occupation', {'concept': 'occupation'}], ['Kazimierz Waliszewski', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?j ) { ( resource:Wolfgang_Hage ) ( resource:Kazimierz_Waliszewski ) } . ?j property:occupation ?c } . ?c rdf:type ontology:occupation }
[]