Simple Question (Direct)
Simple Question
Q54010
P26
Q502895
USER
Which person is the life partner of Mieszko IV Tanglefoot ?
(Q54010,P26,c(Q502895))
action filter_type
action find
entity Q54010
relation P26
type Q502895
['Q54010', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q54010 property:P26 ?n }
Mieszko IV Tanglefoot
action filter_type
action find
entity Mieszko IV Tanglefoot
relation spouse
type common name
['Mieszko IV Tanglefoot', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Mieszko_IV_Tanglefoot property:spouse ?n }
[]
common name
Q5545491
SYSTEM
Ludmila
Q5545491
(Q54010,P26,c(Q502895))
action filter_type
action find
entity Q54010
relation P26
type Q502895
[ANSWER] is the life partner of Mieszko IV Tanglefoot
['Q54010', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q54010 property:P26 ?n }
Ludmila
Ludmila is the life partner of Mieszko IV Tanglefoot
Ludmila
action filter_type
action find
entity Mieszko IV Tanglefoot
relation spouse
type common name
['Mieszko IV Tanglefoot', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Mieszko_IV_Tanglefoot property:spouse ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5545491
P25
Q502895
USER
Which person has that one as mother ?
(c(Q502895),P25,Q5545491)
action filter_type
action find_reverse
entity Q5545491
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q5545491']
SELECT DISTINCT ?k WHERE { ?k property:P25 resource:Q5545491 . ?k rdf:type ontology:Q502895 }
Ludmila
action filter_type
action find_reverse
entity Ludmila
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Ludmila']
SELECT DISTINCT ?k WHERE { ?k property:mother resource:Ludmila . ?k rdf:type ontology:common_name }
[]
common name
Q667930
SYSTEM
Casimir I of Opole
Q667930
(c(Q502895),P25,Q5545491)
action filter_type
action find_reverse
entity Q5545491
relation P25
type Q502895
[ANSWER] has that one as mother
[{'concept': 'Q502895'}, 'P25', 'Q5545491']
SELECT DISTINCT ?k WHERE { ?k property:P25 resource:Q5545491 . ?k rdf:type ontology:Q502895 }
Casimir I of Opole
Casimir I of Opole has that one as mother
Casimir I of Opole
action filter_type
action find_reverse
entity Ludmila
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Ludmila']
SELECT DISTINCT ?k WHERE { ?k property:mother resource:Ludmila . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q667930 Q1437620
P22
Q502895
USER
Was Karola Knoblich the dad of that one ?
(Q667930,P22,Q1437620)
action is_in
entity Q1437620
action find
entity Q667930
relation P22
['Q667930', 'P22', 'Q1437620']
ASK WHERE { resource:Q667930 property:P22 resource:Q1437620 }
Casimir I of Opole Karola Knoblich
action is_in
entity Karola Knoblich
action find
entity Casimir I of Opole
relation father
['Casimir I of Opole', 'father', 'Karola Knoblich']
ASK WHERE { resource:Casimir_I_of_Opole property:father resource:Karola_Knoblich }
[]
common name
SYSTEM
NO
(Q667930,P22,Q1437620)
action is_in
entity Q1437620
action find
entity Q667930
relation P22
[ANSWER]
['Q667930', 'P22', 'Q1437620']
ASK WHERE { resource:Q667930 property:P22 resource:Q1437620 }
No
action is_in
entity Karola Knoblich
action find
entity Casimir I of Opole
relation father
['Casimir I of Opole', 'father', 'Karola Knoblich']
ASK WHERE { resource:Casimir_I_of_Opole property:father resource:Karola_Knoblich }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1889425 Q1437620
P102
Q7278
USER
Which political parties are Karola Knoblich or Manfred Güllner affiliated with ?
OR((Q1437620,P102,c(Q7278)), (Q1889425,P102,c(Q7278)))
action filter_type
action union
action find
entity Q1437620
relation P102
action find
entity Q1889425
relation P102
type Q7278
{'OR': [['Q1437620', 'P102', {'concept': 'Q7278'}], ['Q1889425', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7278 . { { resource:Q1889425 property:P102 ?k } UNION { resource:Q1437620 property:P102 ?k } } }
Manfred Güllner Karola Knoblich
action filter_type
action union
action find
entity Karola Knoblich
relation member of political party
action find
entity Manfred Güllner
relation member of political party
type political party
{'OR': [['Karola Knoblich', 'member of political party', {'concept': 'political party'}], ['Manfred Güllner', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_party . { { resource:Manfred_Güllner property:member_of_political_party ?k } UNION { resource:Karola_Knoblich property:member_of_political_party ?k } } }
[]
political party
Q49762 Q49768
SYSTEM
Christian Democratic Union, Social Democratic Party of Germany
Q49762 Q49768
OR((Q1437620,P102,c(Q7278)), (Q1889425,P102,c(Q7278)))
action filter_type
action union
action find
entity Q1437620
relation P102
action find
entity Q1889425
relation P102
type Q7278
Karola Knoblich or Manfred Güllner are affiliated with [ANSWERS]
{'OR': [['Q1437620', 'P102', {'concept': 'Q7278'}], ['Q1889425', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7278 . { { resource:Q1889425 property:P102 ?k } UNION { resource:Q1437620 property:P102 ?k } } }
Christian Democratic Union Social Democratic Party of Germany
Karola Knoblich or Manfred Güllner are affiliated with Christian Democratic Union and Social Democratic Party of Germany
Christian Democratic Union Social Democratic Party of Germany
action filter_type
action union
action find
entity Karola Knoblich
relation member of political party
action find
entity Manfred Güllner
relation member of political party
type political party
{'OR': [['Karola Knoblich', 'member of political party', {'concept': 'political party'}], ['Manfred Güllner', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_party . { { resource:Manfred_Güllner property:member_of_political_party ?k } UNION { resource:Karola_Knoblich property:member_of_political_party ?k } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1889425
P108
Q19335303
USER
Which German business organization is the workplace of Manfred Güllner ?
(Q49762,P108,c(Q19335303)) (Q49768,P108,c(Q19335303))
action filter_type
action find
entity Q1889425
relation P108
type Q19335303
['Q49762', 'P108', {'concept': 'Q19335303'}] ['Q49768', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?j WHERE { resource:Q1889425 property:P108 ?j . ?j rdf:type ontology:Q19335303 }
Manfred Güllner
action filter_type
action find
entity Manfred Güllner
relation employer
type type of business entity in Germany
['Christian Democratic Union', 'employer', {'concept': 'type of business entity in Germany'}] ['Social Democratic Party of Germany', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?j WHERE { resource:Manfred_Güllner property:employer ?j . ?j rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q153006
SYSTEM
Free University of Berlin
Q153006
(Q49762,P108,c(Q19335303)) (Q49768,P108,c(Q19335303))
action filter_type
action find
entity Q1889425
relation P108
type Q19335303
[ANSWER] is the workplace of Manfred Güllner
['Q49762', 'P108', {'concept': 'Q19335303'}] ['Q49768', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?j WHERE { resource:Q1889425 property:P108 ?j . ?j rdf:type ontology:Q19335303 }
Free University of Berlin
Free University of Berlin is the workplace of Manfred Güllner
Free University of Berlin
action filter_type
action find
entity Manfred Güllner
relation employer
type type of business entity in Germany
['Christian Democratic Union', 'employer', {'concept': 'type of business entity in Germany'}] ['Social Democratic Party of Germany', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?j WHERE { resource:Manfred_Güllner property:employer ?j . ?j rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54010
P53
Q13417114
USER
Which noble family did Mieszko IV Tanglefoot belong to ?
(Q54010,P53,c(Q13417114))
action filter_type
action find
entity Q54010
relation P53
type Q13417114
['Q54010', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?g WHERE { resource:Q54010 property:P53 ?g . ?g rdf:type ontology:Q13417114 }
Mieszko IV Tanglefoot
action filter_type
action find
entity Mieszko IV Tanglefoot
relation noble family
type noble family
['Mieszko IV Tanglefoot', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?g WHERE { resource:Mieszko_IV_Tanglefoot property:noble_family ?g . ?g rdf:type ontology:noble_family }
[]
noble family
Q201615
SYSTEM
Piast dynasty
Q201615
(Q54010,P53,c(Q13417114))
action filter_type
action find
entity Q54010
relation P53
type Q13417114
Mieszko IV Tanglefoot belonged to [ANSWER]
['Q54010', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?g WHERE { resource:Q54010 property:P53 ?g . ?g rdf:type ontology:Q13417114 }
Piast dynasty
Mieszko IV Tanglefoot belonged to Piast dynasty
Piast dynasty
action filter_type
action find
entity Mieszko IV Tanglefoot
relation noble family
type noble family
['Mieszko IV Tanglefoot', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?g WHERE { resource:Mieszko_IV_Tanglefoot property:noble_family ?g . ?g rdf:type ontology:noble_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201615
P361
Q8436
USER
Which families are a component of that noble family ?
(c(Q8436),P361,Q201615)
action filter_type
action find_reverse
entity Q201615
relation P361
type Q8436
[{'concept': 'Q8436'}, 'P361', 'Q201615']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q201615 . ?n rdf:type ontology:Q8436 }
Piast dynasty
action filter_type
action find_reverse
entity Piast dynasty
relation part of
type family
[{'concept': 'family'}, 'part of', 'Piast dynasty']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Piast_dynasty . ?n rdf:type ontology:family }
[]
family
Q1929625 Q655723
SYSTEM
Silesian Piasts, House of Griffins
Q1929625 Q655723
(c(Q8436),P361,Q201615)
action filter_type
action find_reverse
entity Q201615
relation P361
type Q8436
[ANSWERS] are a component of that noble family
[{'concept': 'Q8436'}, 'P361', 'Q201615']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q201615 . ?n rdf:type ontology:Q8436 }
Silesian Piasts House of Griffins
Silesian Piasts and House of Griffins are a component of that noble family
Silesian Piasts House of Griffins
action filter_type
action find_reverse
entity Piast dynasty
relation part of
type family
[{'concept': 'family'}, 'part of', 'Piast dynasty']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Piast_dynasty . ?n rdf:type ontology:family }
[]