Simple Question (Direct)
Simple Question
Q9369847
P19
Q56061
USER
Which administrative territory was Wacław Sąsiadek born at ?
(Q9369847,P19,c(Q56061))
action filter_type
action find
entity Q9369847
relation P19
type Q56061
['Q9369847', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q9369847 property:P19 ?o }
Wacław Sąsiadek
action filter_type
action find
entity Wacław Sąsiadek
relation place of birth
type administrative territorial entity
['Wacław Sąsiadek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Wacław_Sąsiadek property:place_of_birth ?o }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q9369847,P19,c(Q56061))
action filter_type
action find
entity Q9369847
relation P19
type Q56061
Wacław Sąsiadek was born in [ANSWER]
['Q9369847', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q9369847 property:P19 ?o }
Lviv
Wacław Sąsiadek was born in Lviv
Lviv
action filter_type
action find
entity Wacław Sąsiadek
relation place of birth
type administrative territorial entity
['Wacław Sąsiadek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Wacław_Sąsiadek property:place_of_birth ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36036
P36
Q7275
USER
Which states are that administrative territory the capital of ?
(c(Q7275),P36,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q36036']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q36036 . ?r rdf:type ontology:Q7275 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation capital
type state
[{'concept': 'state'}, 'capital', 'Lviv']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Lviv . ?r rdf:type ontology:state }
[]
state
Q2396442 Q457167
SYSTEM
Kingdom of Galicia and Lodomeria, West Ukrainian People's Republic
Q2396442 Q457167
(c(Q7275),P36,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P36
type Q7275
[ANSWERS] are that administrative territory the capital of
[{'concept': 'Q7275'}, 'P36', 'Q36036']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q36036 . ?r rdf:type ontology:Q7275 }
Kingdom of Galicia and Lodomeria West Ukrainian People's Republic
Kingdom of Galicia and Lodomeria and West Ukrainian People's Republic are that administrative territory the capital of
Kingdom of Galicia and Lodomeria West Ukrainian People's Republic
action filter_type
action find_reverse
entity Lviv
relation capital
type state
[{'concept': 'state'}, 'capital', 'Lviv']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Lviv . ?r rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2396442 Q457167
P1376
Q56061
USER
Which administrative territories are the county seat for Kingdom of Galicia and Lodomeria and West Ukrainian People's Republic ?
(c(Q56061),P1376,Q2396442) (c(Q56061),P1376,Q457167)
action union
action filter_type
action find_reverse
entity Q2396442
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q457167
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q2396442'] [{'concept': 'Q56061'}, 'P1376', 'Q457167']
SELECT DISTINCT ?r WHERE { { ?r property:P1376 resource:Q2396442 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P1376 resource:Q457167 . ?r rdf:type ontology:Q56061 } }
Kingdom of Galicia and Lodomeria West Ukrainian People's Republic
action union
action filter_type
action find_reverse
entity Kingdom of Galicia and Lodomeria
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity West Ukrainian People's Republic
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of Galicia and Lodomeria'] [{'concept': 'administrative territorial entity'}, 'capital of', "West Ukrainian People's Republic"]
SELECT DISTINCT ?r WHERE { { ?r property:capital_of resource:Kingdom_of_Galicia_and_Lodomeria . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:capital_of resource:West_Ukrainian_People's_Republic . ?r rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(c(Q56061),P1376,Q2396442) (c(Q56061),P1376,Q457167)
action union
action filter_type
action find_reverse
entity Q2396442
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q457167
relation P1376
type Q56061
[ANSWER] is the county seat for Kingdom of Galicia and Lodomeria and West Ukrainian People's Republic
[{'concept': 'Q56061'}, 'P1376', 'Q2396442'] [{'concept': 'Q56061'}, 'P1376', 'Q457167']
SELECT DISTINCT ?r WHERE { { ?r property:P1376 resource:Q2396442 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P1376 resource:Q457167 . ?r rdf:type ontology:Q56061 } }
Lviv
Lviv is the county seat for Kingdom of Galicia and Lodomeria and West Ukrainian People's Republic
Lviv
action union
action filter_type
action find_reverse
entity Kingdom of Galicia and Lodomeria
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity West Ukrainian People's Republic
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of Galicia and Lodomeria'] [{'concept': 'administrative territorial entity'}, 'capital of', "West Ukrainian People's Republic"]
SELECT DISTINCT ?r WHERE { { ?r property:capital_of resource:Kingdom_of_Galicia_and_Lodomeria . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:capital_of resource:West_Ukrainian_People's_Republic . ?r rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2396442
P17
Q7275
USER
Which state is Kingdom of Galicia and Lodomeria located in ?
(Q36036,P17,c(Q7275))
action filter_type
action find
entity Q2396442
relation P17
type Q7275
['Q36036', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { resource:Q2396442 property:P17 ?b . ?b rdf:type ontology:Q7275 }
Kingdom of Galicia and Lodomeria
action filter_type
action find
entity Kingdom of Galicia and Lodomeria
relation country
type state
['Lviv', 'country', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { resource:Kingdom_of_Galicia_and_Lodomeria property:country ?b . ?b rdf:type ontology:state }
[]
state
Q131964
SYSTEM
Austrian Empire
Q131964
(Q36036,P17,c(Q7275))
action filter_type
action find
entity Q2396442
relation P17
type Q7275
Kingdom of Galicia and Lodomeria is located in [ANSWER]
['Q36036', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { resource:Q2396442 property:P17 ?b . ?b rdf:type ontology:Q7275 }
Austrian Empire
Kingdom of Galicia and Lodomeria is located in Austrian Empire
Austrian Empire
action filter_type
action find
entity Kingdom of Galicia and Lodomeria
relation country
type state
['Lviv', 'country', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { resource:Kingdom_of_Galicia_and_Lodomeria property:country ?b . ?b rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131964
P20
Q502895
USER
Which people have that state as the location of death ?
(c(Q502895),P20,Q131964)
action filter_type
action find_reverse
entity Q131964
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q131964']
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q131964 . ?n rdf:type ontology:Q502895 }
Austrian Empire
action filter_type
action find_reverse
entity Austrian Empire
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Austrian Empire']
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Austrian_Empire . ?n rdf:type ontology:common_name }
[]
common name
Q86331 Q265865 Q2573149
SYSTEM
Heinrich Bombelles, Countess Claudine Rhédey von Kis-Rhéde, Wilhelm Heinrich von Gwinner
Q7925468 Q86331 Q12017409 Q2573149 Q906483 Q265865
(c(Q502895),P20,Q131964)
action filter_type
action find_reverse
entity Q131964
relation P20
type Q502895
[ANSWERS] have that state as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q131964']
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q131964 . ?n rdf:type ontology:Q502895 }
Vicko Andrić Heinrich Bombelles František Piller Wilhelm Heinrich von Gwinner Ferdinand Divald Countess Claudine Rhédey von Kis-Rhéde
Heinrich Bombelles, Countess Claudine Rhédey von Kis-Rhéde and Wilhelm Heinrich von Gwinner have that state as the location of death
Heinrich Bombelles Countess Claudine Rhédey von Kis-Rhéde Wilhelm Heinrich von Gwinner
action filter_type
action find_reverse
entity Austrian Empire
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Austrian Empire']
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Austrian_Empire . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q86331 Q265865 Q2573149
P21
Q290
USER
What are the sex of Heinrich Bombelles, Countess Claudine Rhédey von Kis-Rhéde and Wilhelm Heinrich von Gwinner ?
(Q86331,P21,c(Q290)) (Q265865,P21,c(Q290)) (Q2573149,P21,c(Q290))
action union
action filter_type
action find
entity Q86331
relation P21
type Q290
action filter_type
action find
entity Q265865
relation P21
type Q290
action filter_type
action find
entity Q2573149
relation P21
type Q290
['Q86331', 'P21', {'concept': 'Q290'}] ['Q265865', 'P21', {'concept': 'Q290'}] ['Q2573149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { { resource:Q86331 property:P21 ?u . ?u rdf:type ontology:Q290 } UNION { resource:Q265865 property:P21 ?u . ?u rdf:type ontology:Q290 } }
Heinrich Bombelles Countess Claudine Rhédey von Kis-Rhéde Wilhelm Heinrich von Gwinner
action union
action filter_type
action find
entity Heinrich Bombelles
relation gender
type sex
action filter_type
action find
entity Countess Claudine Rhédey von Kis-Rhéde
relation gender
type sex
action filter_type
action find
entity Wilhelm Heinrich von Gwinner
relation gender
type sex
['Heinrich Bombelles', 'gender', {'concept': 'sex'}] ['Countess Claudine Rhédey von Kis-Rhéde', 'gender', {'concept': 'sex'}] ['Wilhelm Heinrich von Gwinner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { { resource:Heinrich_Bombelles property:gender ?u . ?u rdf:type ontology:sex } UNION { resource:Countess_Claudine_Rhédey_von_Kis-Rhéde property:gender ?u . ?u rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q86331,P21,c(Q290)) (Q265865,P21,c(Q290)) (Q2573149,P21,c(Q290))
action union
action filter_type
action find
entity Q86331
relation P21
type Q290
action filter_type
action find
entity Q265865
relation P21
type Q290
action filter_type
action find
entity Q2573149
relation P21
type Q290
[ANSWERS]
['Q86331', 'P21', {'concept': 'Q290'}] ['Q265865', 'P21', {'concept': 'Q290'}] ['Q2573149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { { resource:Q86331 property:P21 ?u . ?u rdf:type ontology:Q290 } UNION { resource:Q265865 property:P21 ?u . ?u rdf:type ontology:Q290 } }
male female male
The sex of Heinrich Bombelles , Countess Claudine Rhédey von Kis-Rhéde and Wilhelm Heinrich von Gwinner are the male, female and male
male female male
action union
action filter_type
action find
entity Heinrich Bombelles
relation gender
type sex
action filter_type
action find
entity Countess Claudine Rhédey von Kis-Rhéde
relation gender
type sex
action filter_type
action find
entity Wilhelm Heinrich von Gwinner
relation gender
type sex
['Heinrich Bombelles', 'gender', {'concept': 'sex'}] ['Countess Claudine Rhédey von Kis-Rhéde', 'gender', {'concept': 'sex'}] ['Wilhelm Heinrich von Gwinner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { { resource:Heinrich_Bombelles property:gender ?u . ?u rdf:type ontology:sex } UNION { resource:Countess_Claudine_Rhédey_von_Kis-Rhéde property:gender ?u . ?u rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q86331
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q86331)
action filter_type
action find_reverse
entity Q86331
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q86331']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q86331 . ?l rdf:type ontology:Q502895 }
Heinrich Bombelles
action filter_type
action find_reverse
entity Heinrich Bombelles
relation child
type common name
[{'concept': 'common name'}, 'child', 'Heinrich Bombelles']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Heinrich_Bombelles . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q86331
SYSTEM
Did you mean Heinrich Bombelles ?
Q6581097 Q6581072 Q6581097
(c(Q502895),P40,Q6581097) (c(Q502895),P40,Q6581072) (c(Q502895),P40,Q6581097)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q6581097'] [{'concept': 'Q502895'}, 'P40', 'Q6581072'] [{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q86331 . ?l rdf:type ontology:Q502895 }
male female male
Did you mean Heinrich Bombelles ?
Heinrich Bombelles
[{'concept': 'common name'}, 'child', 'male'] [{'concept': 'common name'}, 'child', 'female'] [{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Heinrich_Bombelles . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q86331)
[{'concept': 'Q502895'}, 'P40', 'Q86331']
[{'concept': 'common name'}, 'child', 'Heinrich Bombelles']
[]
Q356899 Q3291494
SYSTEM
Marc-Marie de Bombelles, Marie-Angélique de Mackau
Q356899 Q3291494
(c(Q502895),P40,Q86331)
action filter_type
action find_reverse
entity Q86331
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q86331']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q86331 . ?l rdf:type ontology:Q502895 }
Marc-Marie de Bombelles Marie-Angélique de Mackau
Marc-Marie de Bombelles and Marie-Angélique de Mackau have that one as an offspring
Marc-Marie de Bombelles Marie-Angélique de Mackau
action filter_type
action find_reverse
entity Heinrich Bombelles
relation child
type common name
[{'concept': 'common name'}, 'child', 'Heinrich Bombelles']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Heinrich_Bombelles . ?l rdf:type ontology:common_name }
[]