Simple Question (Direct)
Simple Question
Q6762865
P20
Q515
USER
Where did Marie Haupt expire ?
(Q6762865,P20,c(Q515))
action filter_type
action find
entity Q6762865
relation P20
type Q515
['Q6762865', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q6762865 property:P20 ?b . ?b rdf:type ontology:Q515 }
Marie Haupt
action filter_type
action find
entity Marie Haupt
relation place of death
type city
['Marie Haupt', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Marie_Haupt property:place_of_death ?b . ?b rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q6762865,P20,c(Q515))
action filter_type
action find
entity Q6762865
relation P20
type Q515
Marie Haupt expired in [ANSWER]
['Q6762865', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q6762865 property:P20 ?b . ?b rdf:type ontology:Q515 }
Leipzig
Marie Haupt expired in Leipzig
Leipzig
action filter_type
action find
entity Marie Haupt
relation place of death
type city
['Marie Haupt', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Marie_Haupt property:place_of_death ?b . ?b rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6762865
P21
Q290
USER
Which sex does that person possess ?
(Q2079,P21,c(Q290))
action filter_type
action find
entity Q6762865
relation P21
type Q290
['Q2079', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q6762865 property:P21 ?w }
Marie Haupt
action filter_type
action find
entity Marie Haupt
relation gender
type sex
['Leipzig', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Marie_Haupt property:gender ?w }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2079,P21,c(Q290))
action filter_type
action find
entity Q6762865
relation P21
type Q290
That person possesses the [ANSWER]
['Q2079', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q6762865 property:P21 ?w }
female
That person possesses the female
female
action filter_type
action find
entity Marie Haupt
relation gender
type sex
['Leipzig', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Marie_Haupt property:gender ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7340661 Q6762865
P21
Q290
USER
Or Rob Worley?
OR((Q6762865,P21,c(Q290)), (Q7340661,P21,c(Q290)))
action filter_type
action union
action find
entity Q6762865
relation P21
action find
entity Q7340661
relation P21
type Q290
{'OR': [['Q6762865', 'P21', {'concept': 'Q290'}], ['Q7340661', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { { ?h property:P21 ?c . VALUES ( ?h ) { ( resource:Q7340661 ) ( resource:Q6762865 ) } } . ?c rdf:type ontology:Q290 }
Rob Worley Marie Haupt
action filter_type
action union
action find
entity Marie Haupt
relation gender
action find
entity Rob Worley
relation gender
type sex
{'OR': [['Marie Haupt', 'gender', {'concept': 'sex'}], ['Rob Worley', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { { ?h property:gender ?c . VALUES ( ?h ) { ( resource:Rob_Worley ) ( resource:Marie_Haupt ) } } . ?c rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q6762865,P21,c(Q290)), (Q7340661,P21,c(Q290)))
action filter_type
action union
action find
entity Q6762865
relation P21
action find
entity Q7340661
relation P21
type Q290
[ANSWERS]
{'OR': [['Q6762865', 'P21', {'concept': 'Q290'}], ['Q7340661', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { { ?h property:P21 ?c . VALUES ( ?h ) { ( resource:Q7340661 ) ( resource:Q6762865 ) } } . ?c rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Marie Haupt
relation gender
action find
entity Rob Worley
relation gender
type sex
{'OR': [['Marie Haupt', 'gender', {'concept': 'sex'}], ['Rob Worley', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { { ?h property:gender ?c . VALUES ( ?h ) { ( resource:Rob_Worley ) ( resource:Marie_Haupt ) } } . ?c rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22073991
P21
Q502895
USER
Do Saalumarada Thimmakka have the gender as those sexes ?
(Q22073991,P21,Q6581097) (Q22073991,P21,Q6581072)
action is_in
entity prev_answer
action find
entity Q22073991
relation P21
['Q22073991', 'P21', 'Q6581097'] ['Q22073991', 'P21', 'Q6581072']
ASK WHERE { VALUES ( ?g ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } . resource:Q22073991 property:P21 ?g }
Saalumarada Thimmakka
action is_in
entity prev_answer
action find
entity Saalumarada Thimmakka
relation gender
['Saalumarada Thimmakka', 'gender', 'male'] ['Saalumarada Thimmakka', 'gender', 'female']
ASK WHERE { VALUES ( ?g ) { ( resource:male ) ( resource:female ) } . resource:Saalumarada_Thimmakka property:gender ?g }
[]
common name
SYSTEM
YES
(Q22073991,P21,Q6581097) (Q22073991,P21,Q6581072)
action is_in
entity prev_answer
action find
entity Q22073991
relation P21
[ANSWER]
['Q22073991', 'P21', 'Q6581097'] ['Q22073991', 'P21', 'Q6581072']
ASK WHERE { VALUES ( ?g ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } . resource:Q22073991 property:P21 ?g }
Yes
action is_in
entity prev_answer
action find
entity Saalumarada Thimmakka
relation gender
['Saalumarada Thimmakka', 'gender', 'male'] ['Saalumarada Thimmakka', 'gender', 'female']
ASK WHERE { VALUES ( ?g ) { ( resource:male ) ( resource:female ) } . resource:Saalumarada_Thimmakka property:gender ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6762865 Q183
P27
Q1048835
USER
Is Marie Haupt an inhabitant of Germany ?
(Q6762865,P27,Q183)
action is_in
entity Q183
action find
entity Q6762865
relation P27
['Q6762865', 'P27', 'Q183']
ASK WHERE { resource:Q6762865 property:P27 resource:Q183 }
Marie Haupt Germany
action is_in
entity Germany
action find
entity Marie Haupt
relation country of citizenship
['Marie Haupt', 'country of citizenship', 'Germany']
ASK WHERE { resource:Marie_Haupt property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q6762865,P27,Q183)
action is_in
entity Q183
action find
entity Q6762865
relation P27
[ANSWER]
['Q6762865', 'P27', 'Q183']
ASK WHERE { resource:Q6762865 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Marie Haupt
relation country of citizenship
['Marie Haupt', 'country of citizenship', 'Germany']
ASK WHERE { resource:Marie_Haupt property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4840229 Q183
P47 P495
Q15617994
USER
Which administrative territories share border with Germany or are the countries of origin of Bad Business ?
OR((Q183,P47,c(Q15617994)), (Q4840229,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P47
action find
entity Q4840229
relation P495
type Q15617994
{'OR': [['Q183', 'P47', {'concept': 'Q15617994'}], ['Q4840229', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q183 property:P47 ?d } UNION { resource:Q4840229 property:P495 ?d } } . ?d rdf:type ontology:Q15617994 }
Bad Business Germany
action filter_type
action union
action find
entity Germany
relation shares border with
action find
entity Bad Business
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Bad Business', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Germany property:shares_border_with ?d } UNION { resource:Bad_Business property:country_of_origin ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q213 Q55 Q29999 Q32 Q31 Q30 Q36 Q39
SYSTEM
France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, United States of America, Poland, Switzerland
Q142 Q213 Q55 Q29999 Q32 Q31 Q30 Q36 Q39
OR((Q183,P47,c(Q15617994)), (Q4840229,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P47
action find
entity Q4840229
relation P495
type Q15617994
[ANSWERS] share border with Germany or are the countries of origin of Bad Business
{'OR': [['Q183', 'P47', {'concept': 'Q15617994'}], ['Q4840229', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q183 property:P47 ?d } UNION { resource:Q4840229 property:P495 ?d } } . ?d rdf:type ontology:Q15617994 }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium United States of America Poland Switzerland
France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, United States of America, Poland and Switzerland share border with Germany or are the countries of origin of Bad Business
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium United States of America Poland Switzerland
action filter_type
action union
action find
entity Germany
relation shares border with
action find
entity Bad Business
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Bad Business', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Germany property:shares_border_with ?d } UNION { resource:Bad_Business property:country_of_origin ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q213 Q55 Q29999 Q32 Q31 Q30 Q36 Q39
P47
Q1048835
USER
Which political territories share border with France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, United States of America, Poland and Switzerland ?
(Q142,P47,c(Q1048835)) (Q213,P47,c(Q1048835)) (Q55,P47,c(Q1048835)) (Q29999,P47,c(Q1048835)) (Q32,P47,c(Q1048835)) (Q31,P47,c(Q1048835)) (Q30,P47,c(Q1048835)) (Q36,P47,c(Q1048835)) (Q39,P47,c(Q1048835))
action union
action filter_type
action find
entity Q142
relation P47
type Q1048835
action filter_type
action find
entity Q213
relation P47
type Q1048835
action filter_type
action find
entity Q55
relation P47
type Q1048835
action filter_type
action find
entity Q29999
relation P47
type Q1048835
action filter_type
action find
entity Q32
relation P47
type Q1048835
action filter_type
action find
entity Q31
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q39
relation P47
type Q1048835
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q213', 'P47', {'concept': 'Q1048835'}] ['Q55', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q32', 'P47', {'concept': 'Q1048835'}] ['Q31', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q1048835'}] ['Q39', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:Q142 ) ( resource:Q213 ) } . ?g property:P47 ?b }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium United States of America Poland Switzerland
action union
action filter_type
action find
entity France
relation shares border with
type political territorial entity
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
action filter_type
action find
entity Netherlands
relation shares border with
type political territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
action filter_type
action find
entity Luxembourg
relation shares border with
type political territorial entity
action filter_type
action find
entity Belgium
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Switzerland
relation shares border with
type political territorial entity
['France', 'shares border with', {'concept': 'political territorial entity'}] ['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}] ['Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Luxembourg', 'shares border with', {'concept': 'political territorial entity'}] ['Belgium', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Switzerland', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:France ) ( resource:Czech_Republic ) } . ?g property:shares_border_with ?b }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q13116 Q183 Q40 Q183 Q183 Q183 Q183 Q183 Q778 Q16 Q183 Q183 Q40
(Q142,P47,c(Q1048835)) (Q213,P47,c(Q1048835)) (Q55,P47,c(Q1048835)) (Q29999,P47,c(Q1048835)) (Q32,P47,c(Q1048835)) (Q31,P47,c(Q1048835)) (Q30,P47,c(Q1048835)) (Q36,P47,c(Q1048835)) (Q39,P47,c(Q1048835))
action union
action filter_type
action find
entity Q142
relation P47
type Q1048835
action filter_type
action find
entity Q213
relation P47
type Q1048835
action filter_type
action find
entity Q55
relation P47
type Q1048835
action filter_type
action find
entity Q29999
relation P47
type Q1048835
action filter_type
action find
entity Q32
relation P47
type Q1048835
action filter_type
action find
entity Q31
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q39
relation P47
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] share border with France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, United States of America, Poland and Switzerland
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q213', 'P47', {'concept': 'Q1048835'}] ['Q55', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q32', 'P47', {'concept': 'Q1048835'}] ['Q31', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q1048835'}] ['Q39', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:Q142 ) ( resource:Q213 ) } . ?g property:P47 ?b }
Benelux Germany Austria Germany Germany Germany Germany Germany The Bahamas Canada Germany Germany Austria
Germany, Germany and Germany share border with France, Czech Republic, Netherlands, Kingdom of the Netherlands, Luxembourg, Belgium, United States of America, Poland and Switzerland
Germany Germany Germany
action union
action filter_type
action find
entity France
relation shares border with
type political territorial entity
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
action filter_type
action find
entity Netherlands
relation shares border with
type political territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
action filter_type
action find
entity Luxembourg
relation shares border with
type political territorial entity
action filter_type
action find
entity Belgium
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Switzerland
relation shares border with
type political territorial entity
['France', 'shares border with', {'concept': 'political territorial entity'}] ['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}] ['Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Luxembourg', 'shares border with', {'concept': 'political territorial entity'}] ['Belgium', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Switzerland', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:France ) ( resource:Czech_Republic ) } . ?g property:shares_border_with ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2079
P1071
Q1420
USER
Which automobile has Leipzig as its final assembly location ?
(c(Q1420),P1071,Q2079)
action filter_type
action find_reverse
entity Q2079
relation P1071
type Q1420
[{'concept': 'Q1420'}, 'P1071', 'Q2079']
SELECT DISTINCT ?w WHERE { ?w property:P1071 resource:Q2079 . ?w rdf:type ontology:Q1420 }
Leipzig
action filter_type
action find_reverse
entity Leipzig
relation location of final assembly
type automobile
[{'concept': 'automobile'}, 'location of final assembly', 'Leipzig']
SELECT DISTINCT ?w WHERE { ?w property:location_of_final_assembly resource:Leipzig . ?w rdf:type ontology:automobile }
[]
automobile
Q796785
SYSTEM
BMW i3
Q796785
(c(Q1420),P1071,Q2079)
action filter_type
action find_reverse
entity Q2079
relation P1071
type Q1420
[ANSWER] has Leipzig as its final assembly location
[{'concept': 'Q1420'}, 'P1071', 'Q2079']
SELECT DISTINCT ?w WHERE { ?w property:P1071 resource:Q2079 . ?w rdf:type ontology:Q1420 }
BMW i3
BMW i3 has Leipzig as its final assembly location
BMW i3
action filter_type
action find_reverse
entity Leipzig
relation location of final assembly
type automobile
[{'concept': 'automobile'}, 'location of final assembly', 'Leipzig']
SELECT DISTINCT ?w WHERE { ?w property:location_of_final_assembly resource:Leipzig . ?w rdf:type ontology:automobile }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2079
P30
Q2221906
USER
Which geographic location is Leipzig located in ?
(Q2079,P30,c(Q2221906))
action filter_type
action find
entity Q2079
relation P30
type Q2221906
['Q2079', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q2079 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Leipzig
action filter_type
action find
entity Leipzig
relation continent
type geographic location
['Leipzig', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Leipzig property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q5401
SYSTEM
Eurasia
Q5401
(Q2079,P30,c(Q2221906))
action filter_type
action find
entity Q2079
relation P30
type Q2221906
Leipzig is located in [ANSWER]
['Q2079', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q2079 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Eurasia
Leipzig is located in Eurasia
Eurasia
action filter_type
action find
entity Leipzig
relation continent
type geographic location
['Leipzig', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Leipzig property:continent ?l . ?l rdf:type ontology:geographic_location }
[]