Simple Question (Direct)
Simple Question
Q1582350
P106
Q12737077
USER
Which occupation is the profession of Hans Schneickert ?
(Q1582350,P106,c(Q12737077))
action filter_type
action find
entity Q1582350
relation P106
type Q12737077
['Q1582350', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1582350 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Hans Schneickert
action filter_type
action find
entity Hans Schneickert
relation occupation
type occupation
['Hans Schneickert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Hans_Schneickert property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q1582350,P106,c(Q12737077))
action filter_type
action find
entity Q1582350
relation P106
type Q12737077
The [ANSWER] is the profession of Hans Schneickert
['Q1582350', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1582350 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
university teacher
The university teacher is the profession of Hans Schneickert
university teacher
action filter_type
action find
entity Hans Schneickert
relation occupation
type occupation
['Hans Schneickert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Hans_Schneickert property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1582350
P21
Q290
USER
Which sex does Hans Schneickert possess ?
(Q1582350,P21,c(Q290))
action filter_type
action find
entity Q1582350
relation P21
type Q290
['Q1582350', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1582350 property:P21 ?n . ?n rdf:type ontology:Q290 }
Hans Schneickert
action filter_type
action find
entity Hans Schneickert
relation gender
type sex
['Hans Schneickert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Hans_Schneickert property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1582350,P21,c(Q290))
action filter_type
action find
entity Q1582350
relation P21
type Q290
Hans Schneickert possesses a [ANSWER]
['Q1582350', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1582350 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Hans Schneickert possesses a male
male
action filter_type
action find
entity Hans Schneickert
relation gender
type sex
['Hans Schneickert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Hans_Schneickert property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1582350
P20
Q15617994
USER
Where did the demise of that person occur ?
(Q6581097,P20,c(Q15617994))
action filter_type
action find
entity Q1582350
relation P20
type Q15617994
['Q6581097', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1582350 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Hans Schneickert
action filter_type
action find
entity Hans Schneickert
relation place of death
type designation for an administrative territorial entity
['male', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hans_Schneickert property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q632905
SYSTEM
Baienfurt
Q632905
(Q6581097,P20,c(Q15617994))
action filter_type
action find
entity Q1582350
relation P20
type Q15617994
The demise of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1582350 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Baienfurt
The demise of that person occurred in Baienfurt
Baienfurt
action filter_type
action find
entity Hans Schneickert
relation place of death
type designation for an administrative territorial entity
['male', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hans_Schneickert property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q632905 Q183
P17
Q1048835
USER
Is Baienfurt situated in Germany ?
(Q632905,P17,Q183)
action is_in
entity Q183
action find
entity Q632905
relation P17
['Q632905', 'P17', 'Q183']
ASK WHERE { resource:Q632905 property:P17 resource:Q183 }
Baienfurt Germany
action is_in
entity Germany
action find
entity Baienfurt
relation country
['Baienfurt', 'country', 'Germany']
ASK WHERE { resource:Baienfurt property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q632905,P17,Q183)
action is_in
entity Q183
action find
entity Q632905
relation P17
[ANSWER]
['Q632905', 'P17', 'Q183']
ASK WHERE { resource:Q632905 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Baienfurt
relation country
['Baienfurt', 'country', 'Germany']
ASK WHERE { resource:Baienfurt property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1622272 Q9438 Q9285410
P417
Q502895
USER
Does university teacher have Thomas Aquinas and Halina Martinowa as their patron saint ?
(Q1622272,P417,Q9438) (Q1622272,P417,Q9285410)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q9438
relation P417
action find_reverse
entity Q9285410
relation P417
['Q1622272', 'P417', 'Q9438'] ['Q1622272', 'P417', 'Q9285410']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q9285410 }
university teacher Thomas Aquinas Halina Martinowa
action is_in
entity university teacher
action intersection
action find_reverse
entity Thomas Aquinas
relation patron saint
action find_reverse
entity Halina Martinowa
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas'] ['university teacher', 'patron saint', 'Halina Martinowa']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Halina_Martinowa }
[]
common name
SYSTEM
YES and NO respectively
(Q1622272,P417,Q9438) (Q1622272,P417,Q9285410)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q9438
relation P417
action find_reverse
entity Q9285410
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q9438'] ['Q1622272', 'P417', 'Q9285410']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q9285410 }
YES and NO respectively
action is_in
entity university teacher
action intersection
action find_reverse
entity Thomas Aquinas
relation patron saint
action find_reverse
entity Halina Martinowa
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas'] ['university teacher', 'patron saint', 'Halina Martinowa']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Halina_Martinowa }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q632905
P190
Q515
USER
Which city is sister town of Baienfurt ?
(c(Q515),P190,Q632905)
action filter_type
action find
entity Q632905
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q632905']
SELECT DISTINCT ?w WHERE { resource:Q632905 property:P190 ?w . ?w rdf:type ontology:Q515 }
Baienfurt
action filter_type
action find
entity Baienfurt
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Baienfurt']
SELECT DISTINCT ?w WHERE { resource:Baienfurt property:sister_city ?w . ?w rdf:type ontology:city }
[]
city
Q933641
SYSTEM
Martonvásár
Q933641
(c(Q515),P190,Q632905)
action filter_type
action find
entity Q632905
relation P190
type Q515
[ANSWER] is sister town of Baienfurt
[{'concept': 'Q515'}, 'P190', 'Q632905']
SELECT DISTINCT ?w WHERE { resource:Q632905 property:P190 ?w . ?w rdf:type ontology:Q515 }
Martonvásár
Martonvásár is sister town of Baienfurt
Martonvásár
action filter_type
action find
entity Baienfurt
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Baienfurt']
SELECT DISTINCT ?w WHERE { resource:Baienfurt property:sister_city ?w . ?w rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q632905
P30
Q2221906
USER
Which geographic location is Baienfurt a part of ?
(Q632905,P30,c(Q2221906))
action filter_type
action find
entity Q632905
relation P30
type Q2221906
['Q632905', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q632905 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Baienfurt
action filter_type
action find
entity Baienfurt
relation continent
type geographic location
['Baienfurt', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Baienfurt property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q632905,P30,c(Q2221906))
action filter_type
action find
entity Q632905
relation P30
type Q2221906
The [ANSWER] is Baienfurt a part of
['Q632905', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q632905 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Europe
The Europe is Baienfurt a part of
Europe
action filter_type
action find
entity Baienfurt
relation continent
type geographic location
['Baienfurt', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Baienfurt property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q632905
P19
Q502895
USER
Who was born at Baienfurt ?
(c(Q502895),P19,Q632905)
action filter_type
action find_reverse
entity Q632905
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q632905']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q632905 . ?u rdf:type ontology:Q502895 }
Baienfurt
action filter_type
action find_reverse
entity Baienfurt
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Baienfurt']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Baienfurt . ?u rdf:type ontology:common_name }
[]
common name
Q1730746
SYSTEM
Karl Dodrimont
Q1730746
(c(Q502895),P19,Q632905)
action filter_type
action find_reverse
entity Q632905
relation P19
type Q502895
[ANSWER] was born at Baienfurt
[{'concept': 'Q502895'}, 'P19', 'Q632905']
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q632905 . ?u rdf:type ontology:Q502895 }
Karl Dodrimont
Karl Dodrimont was born at Baienfurt
Karl Dodrimont
action filter_type
action find_reverse
entity Baienfurt
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Baienfurt']
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Baienfurt . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1730746
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q1730746,P27,c(Q1048835))
action filter_type
action find
entity Q1730746
relation P27
type Q1048835
['Q1730746', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1730746 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Karl Dodrimont
action filter_type
action find
entity Karl Dodrimont
relation country of citizenship
type political territorial entity
['Karl Dodrimont', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Karl_Dodrimont property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1730746,P27,c(Q1048835))
action filter_type
action find
entity Q1730746
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q1730746', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1730746 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Karl Dodrimont
relation country of citizenship
type political territorial entity
['Karl Dodrimont', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Karl_Dodrimont property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q24723009 Q1730746
P27
Q1048835
USER
Or David Martínez Madero?
OR((Q1730746,P27,c(Q1048835)), (Q24723009,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1730746
relation P27
action find
entity Q24723009
relation P27
type Q1048835
{'OR': [['Q1730746', 'P27', {'concept': 'Q1048835'}], ['Q24723009', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q24723009 property:P27 ?a } UNION { resource:Q1730746 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
David Martínez Madero Karl Dodrimont
action filter_type
action union
action find
entity Karl Dodrimont
relation country of citizenship
action find
entity David Martínez Madero
relation country of citizenship
type political territorial entity
{'OR': [['Karl Dodrimont', 'country of citizenship', {'concept': 'political territorial entity'}], ['David Martínez Madero', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:David_Martínez_Madero property:country_of_citizenship ?a } UNION { resource:Karl_Dodrimont property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q5705
SYSTEM
Germany, Catalonia
Q183 Q5705
OR((Q1730746,P27,c(Q1048835)), (Q24723009,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1730746
relation P27
action find
entity Q24723009
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q1730746', 'P27', {'concept': 'Q1048835'}], ['Q24723009', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q24723009 property:P27 ?a } UNION { resource:Q1730746 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Germany Catalonia
Germany Catalonia
action filter_type
action union
action find
entity Karl Dodrimont
relation country of citizenship
action find
entity David Martínez Madero
relation country of citizenship
type political territorial entity
{'OR': [['Karl Dodrimont', 'country of citizenship', {'concept': 'political territorial entity'}], ['David Martínez Madero', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:David_Martínez_Madero property:country_of_citizenship ?a } UNION { resource:Karl_Dodrimont property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5705
P6
Q502895
USER
Which people are the head of government of that political territory ?
(Q5705,P6,c(Q502895))
action filter_type
action find
entity Q5705
relation P6
type Q502895
['Q5705', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q5705 property:P6 ?s }
Catalonia
action filter_type
action find
entity Catalonia
relation head of government
type common name
['Catalonia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Catalonia property:head_of_government ?s }
[]
common name
Clarification for simple ques.
Q5705
SYSTEM
Did you mean Catalonia ?
Q183 Q5705
(Q183,P6,c(Q502895)) (Q5705,P6,c(Q502895))
[ANSWER]
['Q183', 'P6', {'concept': 'Q502895'}] ['Q5705', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q5705 property:P6 ?s }
Germany Catalonia
Did you mean Catalonia ?
Catalonia
['Germany', 'head of government', {'concept': 'common name'}] ['Catalonia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Catalonia property:head_of_government ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5705,P6,c(Q502895))
['Q5705', 'P6', {'concept': 'Q502895'}]
['Catalonia', 'head of government', {'concept': 'common name'}]
[]
Q7981 Q458702 Q4740163
SYSTEM
Lluís Companys, Jordi Pujol i Soley, Carles Puigdemont i Casamajó
Q7981 Q355265 Q8015 Q4740163 Q731289 Q465464 Q458702 Q1806213 Q8005
(Q5705,P6,c(Q502895))
action filter_type
action find
entity Q5705
relation P6
type Q502895
[ANSWERS] are the head of government of that political territory
['Q5705', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q5705 property:P6 ?s }
Lluís Companys Pasqual Maragall i Mira Artur Mas Carles Puigdemont i Casamajó Josep Irla i Bosch José Montilla Jordi Pujol i Soley Francesc Macià i Llussà Josep Tarradellas i Joan
Lluís Companys, Jordi Pujol i Soley and Carles Puigdemont i Casamajó are the head of government of that political territory
Lluís Companys Jordi Pujol i Soley Carles Puigdemont i Casamajó
action filter_type
action find
entity Catalonia
relation head of government
type common name
['Catalonia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Catalonia property:head_of_government ?s }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6713194
P6
Q1048835
USER
Do Sulychivka have their government headed by those people ?
(Q6713194,P6,Q7981) (Q6713194,P6,Q458702) (Q6713194,P6,Q4740163)
action is_in
entity prev_answer
action find
entity Q6713194
relation P6
['Q6713194', 'P6', 'Q7981'] ['Q6713194', 'P6', 'Q458702'] ['Q6713194', 'P6', 'Q4740163']
ASK WHERE { resource:Q6713194 property:P6 ?d . VALUES ( ?d ) { ( resource:Q7981 ) ( resource:Q355265 ) ( resource:Q8015 ) } }
Sulychivka
action is_in
entity prev_answer
action find
entity Sulychivka
relation head of government
['Sulychivka', 'head of government', 'Lluís Companys'] ['Sulychivka', 'head of government', 'Jordi Pujol i Soley'] ['Sulychivka', 'head of government', 'Carles Puigdemont i Casamajó']
ASK WHERE { resource:Sulychivka property:head_of_government ?d . VALUES ( ?d ) { ( resource:Lluís_Companys ) ( resource:Pasqual_Maragall_i_Mira ) ( resource:Artur_Mas ) } }
[]
political territorial entity
SYSTEM
NO
(Q6713194,P6,Q7981) (Q6713194,P6,Q458702) (Q6713194,P6,Q4740163)
action is_in
entity prev_answer
action find
entity Q6713194
relation P6
[ANSWER]
['Q6713194', 'P6', 'Q7981'] ['Q6713194', 'P6', 'Q458702'] ['Q6713194', 'P6', 'Q4740163']
ASK WHERE { resource:Q6713194 property:P6 ?d . VALUES ( ?d ) { ( resource:Q7981 ) ( resource:Q355265 ) ( resource:Q8015 ) } }
No
action is_in
entity prev_answer
action find
entity Sulychivka
relation head of government
['Sulychivka', 'head of government', 'Lluís Companys'] ['Sulychivka', 'head of government', 'Jordi Pujol i Soley'] ['Sulychivka', 'head of government', 'Carles Puigdemont i Casamajó']
ASK WHERE { resource:Sulychivka property:head_of_government ?d . VALUES ( ?d ) { ( resource:Lluís_Companys ) ( resource:Pasqual_Maragall_i_Mira ) ( resource:Artur_Mas ) } }
[]