Simple Question (Direct)
Simple Question
Q153612
P26
Q502895
USER
Who is the spouse of Ivan-Yanush Ostrozky ?
(Q153612,P26,c(Q502895))
action filter_type
action find
entity Q153612
relation P26
type Q502895
['Q153612', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q153612 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Ivan-Yanush Ostrozky
action filter_type
action find
entity Ivan-Yanush Ostrozky
relation spouse
type common name
['Ivan-Yanush Ostrozky', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ivan-Yanush_Ostrozky property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q6375212
SYSTEM
Katarzyna Lubomirska
Q6375212
(Q153612,P26,c(Q502895))
action filter_type
action find
entity Q153612
relation P26
type Q502895
The spouse of Ivan-Yanush Ostrozky is born [ANSWER]
['Q153612', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q153612 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Katarzyna Lubomirska
The spouse of Ivan-Yanush Ostrozky is born Katarzyna Lubomirska
Katarzyna Lubomirska
action filter_type
action find
entity Ivan-Yanush Ostrozky
relation spouse
type common name
['Ivan-Yanush Ostrozky', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ivan-Yanush_Ostrozky property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6375212
P53
Q8436
USER
Which family did that person belong to ?
(Q6375212,P53,c(Q8436))
action filter_type
action find
entity Q6375212
relation P53
type Q8436
['Q6375212', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q6375212 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Katarzyna Lubomirska
action filter_type
action find
entity Katarzyna Lubomirska
relation noble family
type family
['Katarzyna Lubomirska', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Katarzyna_Lubomirska property:noble_family ?t . ?t rdf:type ontology:family }
[]
family
Q688896
SYSTEM
Lubomirski family
Q688896
(Q6375212,P53,c(Q8436))
action filter_type
action find
entity Q6375212
relation P53
type Q8436
That person belonged to [ANSWER]
['Q6375212', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q6375212 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Lubomirski family
That person belonged to Lubomirski family
Lubomirski family
action filter_type
action find
entity Katarzyna Lubomirska
relation noble family
type family
['Katarzyna Lubomirska', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Katarzyna_Lubomirska property:noble_family ?t . ?t rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6375212
P40
Q502895
USER
Who have Katarzyna Lubomirska as an offspring ?
(c(Q502895),P40,Q6375212)
action filter_type
action find_reverse
entity Q6375212
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6375212']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q6375212 . ?s rdf:type ontology:Q502895 }
Katarzyna Lubomirska
action filter_type
action find_reverse
entity Katarzyna Lubomirska
relation child
type common name
[{'concept': 'common name'}, 'child', 'Katarzyna Lubomirska']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Katarzyna_Lubomirska . ?s rdf:type ontology:common_name }
[]
common name
Q4766878 Q7442470
SYSTEM
Anna Branicka, Sebastian Lubomirski
Q4766878 Q7442470
(c(Q502895),P40,Q6375212)
action filter_type
action find_reverse
entity Q6375212
relation P40
type Q502895
[ANSWERS] have Katarzyna Lubomirska as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q6375212']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q6375212 . ?s rdf:type ontology:Q502895 }
Anna Branicka Sebastian Lubomirski
Anna Branicka and Sebastian Lubomirski have Katarzyna Lubomirska as an offspring
Anna Branicka Sebastian Lubomirski
action filter_type
action find_reverse
entity Katarzyna Lubomirska
relation child
type common name
[{'concept': 'common name'}, 'child', 'Katarzyna Lubomirska']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Katarzyna_Lubomirska . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6375212
P25
Q502895
USER
Which person was the mother of Katarzyna Lubomirska ?
(Q6375212,P25,c(Q502895))
action filter_type
action find
entity Q6375212
relation P25
type Q502895
['Q6375212', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q6375212 property:P25 ?b . ?b rdf:type ontology:Q502895 }
Katarzyna Lubomirska
action filter_type
action find
entity Katarzyna Lubomirska
relation mother
type common name
['Katarzyna Lubomirska', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Katarzyna_Lubomirska property:mother ?b . ?b rdf:type ontology:common_name }
[]
common name
Q4766878
SYSTEM
Anna Branicka
Q4766878
(Q6375212,P25,c(Q502895))
action filter_type
action find
entity Q6375212
relation P25
type Q502895
[ANSWER] was the mother of Katarzyna Lubomirska
['Q6375212', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q6375212 property:P25 ?b . ?b rdf:type ontology:Q502895 }
Anna Branicka
Anna Branicka was the mother of Katarzyna Lubomirska
Anna Branicka
action filter_type
action find
entity Katarzyna Lubomirska
relation mother
type common name
['Katarzyna Lubomirska', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Katarzyna_Lubomirska property:mother ?b . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q688896
P21 P53
Q502895
USER
Which people are a member of Lubomirski family and have the gender as male ?
AND((c(Q502895),P53,Q688896), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q688896
relation P53
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P53', 'Q688896'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P53 resource:Q688896 . ?n rdf:type ontology:Q502895 }
male Lubomirski family
action filter_type
action intersection
action find_reverse
entity Lubomirski family
relation noble family
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'noble family', 'Lubomirski family'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:noble_family resource:Lubomirski_family . ?n rdf:type ontology:common_name }
[]
common name
Q4714934 Q1687972 Q5731097 Q16853723 Q936342 Q6430235 Q4776148 Q269774 Q1394093 Q5930217
SYSTEM
Some of them are Aleksander Dominik Lubomirski, Jerzy Dominik Lubomirski, Henryk Ludwik Lubomirski, Aleksander Lubomirski, Stanisław Lubomirski (1704–1793), Konstanty Jacek Lubomirski, Antoni Benedykt Lubomirski, Jerzy Sebastian Lubomirski, Stanisław Lubomirski, Józef Aleksander Lubomirski
Q1617521 Q16853723 Q1394093 Q4714969 Q2439671 Q4714938 Q5930217 Q10862302 Q7701043 Q4271915 Q5731097 Q6430235 Q3269492 Q936342 Q11730496 Q4776148 Q269774 Q7442470 Q4714934 Q1687972
AND((c(Q502895),P53,Q688896), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q688896
relation P53
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a member of Lubomirski family and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P53', 'Q688896'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P53 resource:Q688896 . ?n rdf:type ontology:Q502895 }
Hieronim Augustyn Lubomirski Aleksander Lubomirski Stanisław Lubomirski Aleksander Michał Lubomirski Stanisław Lubomirski Aleksander Ignacy Lubomirski Józef Aleksander Lubomirski Michał Lubomirski Teodor Lubomirski Ksawery Lubomirski Henryk Ludwik Lubomirski Konstanty Jacek Lubomirski Stanisław Herakliusz Lubomirski Stanisław Lubomirski (1704–1793) Józef Karol Lubomirski Antoni Benedykt Lubomirski Jerzy Sebastian Lubomirski Sebastian Lubomirski Aleksander Dominik Lubomirski Jerzy Dominik Lubomirski
Aleksander Dominik Lubomirski, Jerzy Dominik Lubomirski, Henryk Ludwik Lubomirski, Aleksander Lubomirski, Stanisław Lubomirski (1704–1793), Konstanty Jacek Lubomirski, Antoni Benedykt Lubomirski, Jerzy Sebastian Lubomirski, Stanisław Lubomirski and Józef Aleksander Lubomirski are a member of Lubomirski family and have the gender as male
Aleksander Dominik Lubomirski Jerzy Dominik Lubomirski Henryk Ludwik Lubomirski Aleksander Lubomirski Stanisław Lubomirski (1704–1793) Konstanty Jacek Lubomirski Antoni Benedykt Lubomirski Jerzy Sebastian Lubomirski Stanisław Lubomirski Józef Aleksander Lubomirski
action filter_type
action intersection
action find_reverse
entity Lubomirski family
relation noble family
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'noble family', 'Lubomirski family'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:noble_family resource:Lubomirski_family . ?n rdf:type ontology:common_name }
[]