Simple Question (Direct)
Simple Question
Q670456
P411
Q82799
USER
Which name does Procopius of Sázava belong to ?
(Q670456,P411,c(Q82799))
action filter_type
action find
entity Q670456
relation P411
type Q82799
['Q670456', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q670456 property:P411 ?c . ?c rdf:type ontology:Q82799 }
Procopius of Sázava
action filter_type
action find
entity Procopius of Sázava
relation canonization status
type name
['Procopius of Sázava', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Procopius_of_Sázava property:canonization_status ?c . ?c rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q670456,P411,c(Q82799))
action filter_type
action find
entity Q670456
relation P411
type Q82799
Procopius of Sázava belongs to [ANSWER]
['Q670456', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q670456 property:P411 ?c . ?c rdf:type ontology:Q82799 }
saint
Procopius of Sázava belongs to saint
saint
action filter_type
action find
entity Procopius of Sázava
relation canonization status
type name
['Procopius of Sázava', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Procopius_of_Sázava property:canonization_status ?c . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q670456
P417
Q44539
USER
Which temple has that person as their patron saint ?
(c(Q44539),P417,Q43115)
action filter_type
action find_reverse
entity Q670456
relation P417
type Q44539
[{'concept': 'Q44539'}, 'P417', 'Q43115']
SELECT DISTINCT ?e WHERE { ?e property:P417 resource:Q670456 . ?e rdf:type ontology:Q44539 }
Procopius of Sázava
action filter_type
action find_reverse
entity Procopius of Sázava
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'saint']
SELECT DISTINCT ?e WHERE { ?e property:patron_saint resource:Procopius_of_Sázava . ?e rdf:type ontology:temple }
[]
temple
Q776727
SYSTEM
St. Procopius Basilica in Třebíč
Q776727
(c(Q44539),P417,Q43115)
action filter_type
action find_reverse
entity Q670456
relation P417
type Q44539
[ANSWER] has that person as their patron saint
[{'concept': 'Q44539'}, 'P417', 'Q43115']
SELECT DISTINCT ?e WHERE { ?e property:P417 resource:Q670456 . ?e rdf:type ontology:Q44539 }
St. Procopius Basilica in Třebíč
St. Procopius Basilica in Třebíč has that person as their patron saint
St. Procopius Basilica in Třebíč
action filter_type
action find_reverse
entity Procopius of Sázava
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'saint']
SELECT DISTINCT ?e WHERE { ?e property:patron_saint resource:Procopius_of_Sázava . ?e rdf:type ontology:temple }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1875 Q776727
P17
Q15617994
USER
Which administrative territories do St. Procopius Basilica in Třebíč or Arkhangelsk Oblast belong to ?
OR((Q776727,P17,c(Q15617994)), (Q1875,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q776727
relation P17
action find
entity Q1875
relation P17
type Q15617994
{'OR': [['Q776727', 'P17', {'concept': 'Q15617994'}], ['Q1875', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1875 property:P17 ?x } UNION { resource:Q776727 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Arkhangelsk Oblast St. Procopius Basilica in Třebíč
action filter_type
action union
action find
entity St. Procopius Basilica in Třebíč
relation country
action find
entity Arkhangelsk Oblast
relation country
type designation for an administrative territorial entity
{'OR': [['St. Procopius Basilica in Třebíč', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Arkhangelsk Oblast', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Arkhangelsk_Oblast property:country ?x } UNION { resource:St._Procopius_Basilica_in_Třebíč property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q159
SYSTEM
Czech Republic, Russia
Q213 Q159
OR((Q776727,P17,c(Q15617994)), (Q1875,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q776727
relation P17
action find
entity Q1875
relation P17
type Q15617994
[ANSWERS] do St. Procopius Basilica in Třebíč or Arkhangelsk Oblast belong to
{'OR': [['Q776727', 'P17', {'concept': 'Q15617994'}], ['Q1875', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1875 property:P17 ?x } UNION { resource:Q776727 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Czech Republic Russia
Czech Republic and Russia do St. Procopius Basilica in Třebíč or Arkhangelsk Oblast belong to
Czech Republic Russia
action filter_type
action union
action find
entity St. Procopius Basilica in Třebíč
relation country
action find
entity Arkhangelsk Oblast
relation country
type designation for an administrative territorial entity
{'OR': [['St. Procopius Basilica in Třebíč', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Arkhangelsk Oblast', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Arkhangelsk_Oblast property:country ?x } UNION { resource:St._Procopius_Basilica_in_Třebíč property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P47
Q15617994
USER
Which administrative territories have an adjacent border with Czech Republic ?
(c(Q15617994),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q213']
SELECT DISTINCT ?l WHERE { resource:Q213 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?l WHERE { resource:Czech_Republic property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q214
SYSTEM
Poland, Slovakia
Q36 Q214
(c(Q15617994),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q15617994
[ANSWERS] have an adjacent border with Czech Republic
[{'concept': 'Q15617994'}, 'P47', 'Q213']
SELECT DISTINCT ?l WHERE { resource:Q213 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Poland Slovakia
Poland and Slovakia have an adjacent border with Czech Republic
Poland Slovakia
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?l WHERE { resource:Czech_Republic property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36
P159
Q43229
USER
Which organizations have headquarters located at that administrative territory ?
(c(Q43229),P159,Q36)
action filter_type
action find_reverse
entity Q36
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q36']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q36 . ?q rdf:type ontology:Q43229 }
Poland
action filter_type
action find_reverse
entity Poland
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Poland']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Poland . ?q rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q36
SYSTEM
Did you mean Poland ?
Q36 Q214
(c(Q43229),P159,Q36) (c(Q43229),P159,Q214)
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q36'] [{'concept': 'Q43229'}, 'P159', 'Q214']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q36 . ?q rdf:type ontology:Q43229 }
Poland Slovakia
Did you mean Poland ?
Poland
[{'concept': 'organization'}, 'headquarters location', 'Poland'] [{'concept': 'organization'}, 'headquarters location', 'Slovakia']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Poland . ?q rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P159,Q36)
[{'concept': 'Q43229'}, 'P159', 'Q36']
[{'concept': 'organization'}, 'headquarters location', 'Poland']
[]
Q6127600 Q9164980 Q4035602
SYSTEM
Polish Red Cross, Bank Gospodarki Żywnościowej, CD Projekt Investment
Q6127600 Q9164980 Q4035602
(c(Q43229),P159,Q36)
action filter_type
action find_reverse
entity Q36
relation P159
type Q43229
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q36']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q36 . ?q rdf:type ontology:Q43229 }
Polish Red Cross Bank Gospodarki Żywnościowej CD Projekt Investment
Polish Red Cross, Bank Gospodarki Żywnościowej and CD Projekt Investment have headquarters located at that administrative territory
Polish Red Cross Bank Gospodarki Żywnościowej CD Projekt Investment
action filter_type
action find_reverse
entity Poland
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Poland']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Poland . ?q rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9164980
P159
Q15617994
USER
How many administrative territories are the headquarter locations of Bank Gospodarki Żywnościowej ?
(Q9164980,P159,c(Q15617994))
action count
action filter_type
action find
entity Q9164980
relation P159
type Q15617994
['Q9164980', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q9164980 property:P159 ?h }
Bank Gospodarki Żywnościowej
action count
action filter_type
action find
entity Bank Gospodarki Żywnościowej
relation headquarters location
type designation for an administrative territorial entity
['Bank Gospodarki Żywnościowej', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bank_Gospodarki_Żywnościowej property:headquarters_location ?h }
[]
designation for an administrative territorial entity
SYSTEM
1
Q36
(Q9164980,P159,c(Q15617994))
action count
action filter_type
action find
entity Q9164980
relation P159
type Q15617994
[ANSWER]
['Q9164980', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q9164980 property:P159 ?h }
Poland
1
action count
action filter_type
action find
entity Bank Gospodarki Żywnościowej
relation headquarters location
type designation for an administrative territorial entity
['Bank Gospodarki Żywnościowej', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bank_Gospodarki_Żywnościowej property:headquarters_location ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1477679
P159
Q15617994
USER
Where is the head office for Orgelbau Vleugels located ?
(Q1477679,P159,c(Q15617994))
action filter_type
action find
entity Q1477679
relation P159
type Q15617994
['Q1477679', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q1477679 property:P159 ?i }
Orgelbau Vleugels
action filter_type
action find
entity Orgelbau Vleugels
relation headquarters location
type designation for an administrative territorial entity
['Orgelbau Vleugels', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Orgelbau_Vleugels property:headquarters_location ?i }
[]
designation for an administrative territorial entity
Q539852
SYSTEM
Hardheim
Q539852
(Q1477679,P159,c(Q15617994))
action filter_type
action find
entity Q1477679
relation P159
type Q15617994
The head office for Orgelbau Vleugels is located in [ANSWER]
['Q1477679', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q1477679 property:P159 ?i }
Hardheim
The head office for Orgelbau Vleugels is located in Hardheim
Hardheim
action filter_type
action find
entity Orgelbau Vleugels
relation headquarters location
type designation for an administrative territorial entity
['Orgelbau Vleugels', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Orgelbau_Vleugels property:headquarters_location ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q539852 Q63941
P19
Q502895
USER
Was Walter Hohmann born at that administrative territory ?
(Q63941,P19,Q539852)
action is_in
entity Q539852
action find
entity Q63941
relation P19
['Q63941', 'P19', 'Q539852']
ASK WHERE { resource:Q63941 property:P19 resource:Q539852 }
Hardheim Walter Hohmann
action is_in
entity Hardheim
action find
entity Walter Hohmann
relation place of birth
['Walter Hohmann', 'place of birth', 'Hardheim']
ASK WHERE { resource:Walter_Hohmann property:place_of_birth resource:Hardheim }
[]
common name
SYSTEM
YES
(Q63941,P19,Q539852)
action is_in
entity Q539852
action find
entity Q63941
relation P19
[ANSWER]
['Q63941', 'P19', 'Q539852']
ASK WHERE { resource:Q63941 property:P19 resource:Q539852 }
Yes
action is_in
entity Hardheim
action find
entity Walter Hohmann
relation place of birth
['Walter Hohmann', 'place of birth', 'Hardheim']
ASK WHERE { resource:Walter_Hohmann property:place_of_birth resource:Hardheim }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q539852
P190
Q13220204
USER
Which administrative country subdivision is twin town of that administrative territory ?
action filter_type
action find
entity Q539852
relation P190
type Q13220204
SELECT DISTINCT ?u WHERE { resource:Q539852 property:P190 ?u . ?u rdf:type ontology:Q13220204 }
Hardheim
action filter_type
action find
entity Hardheim
relation sister city
type second-level administrative country subdivision
SELECT DISTINCT ?u WHERE { resource:Hardheim property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q69945
SYSTEM
Müntschemier
Q69945
action filter_type
action find
entity Q539852
relation P190
type Q13220204
[ANSWER] is twin town of that administrative territory
SELECT DISTINCT ?u WHERE { resource:Q539852 property:P190 ?u . ?u rdf:type ontology:Q13220204 }
Müntschemier
Müntschemier is twin town of that administrative territory
Müntschemier
action filter_type
action find
entity Hardheim
relation sister city
type second-level administrative country subdivision
SELECT DISTINCT ?u WHERE { resource:Hardheim property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q539852
P20
Q502895
USER
Which person has Hardheim as the area of death ?
(c(Q502895),P20,Q539852)
action filter_type
action find_reverse
entity Q539852
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q539852']
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q539852 . ?s rdf:type ontology:Q502895 }
Hardheim
action filter_type
action find_reverse
entity Hardheim
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Hardheim']
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Hardheim . ?s rdf:type ontology:common_name }
[]
common name
Q17310719
SYSTEM
Carl Wolfgang Graf von Ballestrem
Q17310719
(c(Q502895),P20,Q539852)
action filter_type
action find_reverse
entity Q539852
relation P20
type Q502895
[ANSWER] has Hardheim as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q539852']
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q539852 . ?s rdf:type ontology:Q502895 }
Carl Wolfgang Graf von Ballestrem
Carl Wolfgang Graf von Ballestrem has Hardheim as the area of death
Carl Wolfgang Graf von Ballestrem
action filter_type
action find_reverse
entity Hardheim
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Hardheim']
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Hardheim . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17310719 Q183
P27
Q1048835
USER
Is Germany the native country of that person ?
(Q17310719,P27,Q183)
action is_in
entity Q183
action find
entity Q17310719
relation P27
['Q17310719', 'P27', 'Q183']
ASK WHERE { resource:Q17310719 property:P27 resource:Q183 }
Carl Wolfgang Graf von Ballestrem Germany
action is_in
entity Germany
action find
entity Carl Wolfgang Graf von Ballestrem
relation country of citizenship
['Carl Wolfgang Graf von Ballestrem', 'country of citizenship', 'Germany']
ASK WHERE { resource:Carl_Wolfgang_Graf_von_Ballestrem property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17310719,P27,Q183)
action is_in
entity Q183
action find
entity Q17310719
relation P27
[ANSWER]
['Q17310719', 'P27', 'Q183']
ASK WHERE { resource:Q17310719 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Carl Wolfgang Graf von Ballestrem
relation country of citizenship
['Carl Wolfgang Graf von Ballestrem', 'country of citizenship', 'Germany']
ASK WHERE { resource:Carl_Wolfgang_Graf_von_Ballestrem property:country_of_citizenship resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17310719
P106
Q12737077
USER
What is the job of that person ?
action filter_type
action find
entity Q17310719
relation P106
type Q12737077
SELECT DISTINCT ?n WHERE { resource:Q17310719 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Carl Wolfgang Graf von Ballestrem
action filter_type
action find
entity Carl Wolfgang Graf von Ballestrem
relation occupation
type occupation
SELECT DISTINCT ?n WHERE { resource:Carl_Wolfgang_Graf_von_Ballestrem property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q15637082
SYSTEM
industrialist
Q15637082
action filter_type
action find
entity Q17310719
relation P106
type Q12737077
The job of that person is an [ANSWER]
SELECT DISTINCT ?n WHERE { resource:Q17310719 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
industrialist
The job of that person is an industrialist
industrialist
action filter_type
action find
entity Carl Wolfgang Graf von Ballestrem
relation occupation
type occupation
SELECT DISTINCT ?n WHERE { resource:Carl_Wolfgang_Graf_von_Ballestrem property:occupation ?n . ?n rdf:type ontology:occupation }
[]