Simple Question (Direct)
Simple Question
Q11685973
P22
Q502895
USER
Which male person has a child named Andreu Leszczyński ?
(Q11685973,P22,c(Q502895))
action filter_type
action find
entity Q11685973
relation P22
type Q502895
['Q11685973', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q11685973 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Andreu Leszczyński
action filter_type
action find
entity Andreu Leszczyński
relation father
type common name
['Andreu Leszczyński', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Andreu_Leszczyński property:father ?d . ?d rdf:type ontology:common_name }
[]
common name
Q11833590
SYSTEM
Rafał Leszczyński
Q11833590
(Q11685973,P22,c(Q502895))
action filter_type
action find
entity Q11685973
relation P22
type Q502895
[ANSWER] has a child named Andreu Leszczyński
['Q11685973', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q11685973 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Rafał Leszczyński
Rafał Leszczyński has a child named Andreu Leszczyński
Rafał Leszczyński
action filter_type
action find
entity Andreu Leszczyński
relation father
type common name
['Andreu Leszczyński', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Andreu_Leszczyński property:father ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11833590
P102
Q49773
USER
Which political party does that person belong to ?
(Q11833590,P102,c(Q49773))
action filter_type
action find
entity Q11833590
relation P102
type Q49773
['Q11833590', 'P102', {'concept': 'Q49773'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q49773 . resource:Q11833590 property:P102 ?s }
Rafał Leszczyński
action filter_type
action find
entity Rafał Leszczyński
relation member of political party
type social movement
['Rafał Leszczyński', 'member of political party', {'concept': 'social movement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:social_movement . resource:Rafał_Leszczyński property:member_of_political_party ?s }
[]
social movement
Q970753
SYSTEM
Executionist movement
Q970753
(Q11833590,P102,c(Q49773))
action filter_type
action find
entity Q11833590
relation P102
type Q49773
That person belongs to the [ANSWER]
['Q11833590', 'P102', {'concept': 'Q49773'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q49773 . resource:Q11833590 property:P102 ?s }
Executionist movement
That person belongs to the Executionist movement
Executionist movement
action filter_type
action find
entity Rafał Leszczyński
relation member of political party
type social movement
['Rafał Leszczyński', 'member of political party', {'concept': 'social movement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:social_movement . resource:Rafał_Leszczyński property:member_of_political_party ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q970753
P463 P21
Q502895
USER
Which people are members of Executionist movement and have the gender as male ?
AND((c(Q502895),P463,Q970753), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q970753
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q970753'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P463 resource:Q970753 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Executionist movement
action filter_type
action intersection
action find_reverse
entity Executionist movement
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Executionist movement'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:member_of resource:Executionist_movement . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q970796
SYSTEM
Jan Łaski
Q970796
AND((c(Q502895),P463,Q970753), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q970753
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is members of Executionist movement and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q970753'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P463 resource:Q970753 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Jan Łaski
Jan Łaski is members of Executionist movement and have the gender as male
Jan Łaski
action filter_type
action intersection
action find_reverse
entity Executionist movement
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Executionist movement'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:member_of resource:Executionist_movement . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q970796
P50
Q386724
USER
Which work is written by that person ?
(c(Q386724),P50,Q970796)
action filter_type
action find_reverse
entity Q970796
relation P50
type Q386724
[{'concept': 'Q386724'}, 'P50', 'Q970796']
SELECT DISTINCT ?h WHERE { ?h property:P50 resource:Q970796 . ?h rdf:type ontology:Q386724 }
Jan Łaski
action filter_type
action find_reverse
entity Jan Łaski
relation author
type work
[{'concept': 'work'}, 'author', 'Jan Łaski']
SELECT DISTINCT ?h WHERE { ?h property:author resource:Jan_Łaski . ?h rdf:type ontology:work }
[]
work
Q8080468
SYSTEM
Łaski's Statute
Q8080468
(c(Q386724),P50,Q970796)
action filter_type
action find_reverse
entity Q970796
relation P50
type Q386724
[ANSWER] is written by that person
[{'concept': 'Q386724'}, 'P50', 'Q970796']
SELECT DISTINCT ?h WHERE { ?h property:P50 resource:Q970796 . ?h rdf:type ontology:Q386724 }
Łaski's Statute
Łaski's Statute is written by that person
Łaski's Statute
action filter_type
action find_reverse
entity Jan Łaski
relation author
type work
[{'concept': 'work'}, 'author', 'Jan Łaski']
SELECT DISTINCT ?h WHERE { ?h property:author resource:Jan_Łaski . ?h rdf:type ontology:work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q970796
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q8080468,P106,c(Q12737077))
action filter_type
action find
entity Q970796
relation P106
type Q12737077
['Q8080468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q970796 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jan Łaski
action filter_type
action find
entity Jan Łaski
relation occupation
type occupation
["Łaski's Statute", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jan_Łaski property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q193391 Q42603
SYSTEM
diplomat, priest
Q193391 Q42603
(Q8080468,P106,c(Q12737077))
action filter_type
action find
entity Q970796
relation P106
type Q12737077
And [ANSWERS] have that person as his/her 's career
['Q8080468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q970796 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
diplomat priest
And diplomat and priest have that person as his/her 's career
diplomat priest
action filter_type
action find
entity Jan Łaski
relation occupation
type occupation
["Łaski's Statute", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jan_Łaski property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q970796
P39
Q12737077
USER
What were the positions held by Jan Łaski ?
(Q970796,P39,c(Q12737077))
action filter_type
action find
entity Q970796
relation P39
type Q12737077
['Q970796', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q970796 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Jan Łaski
action filter_type
action find
entity Jan Łaski
relation position held
type occupation
['Jan Łaski', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Jan_Łaski property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q7374818 Q2070965
SYSTEM
Royal Secretary, Chancellor of Poland
Q7374818 Q2070965
(Q970796,P39,c(Q12737077))
action filter_type
action find
entity Q970796
relation P39
type Q12737077
The positions held by Jan Łaski were the [ANSWERS]
['Q970796', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q970796 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Royal Secretary Chancellor of Poland
The positions held by Jan Łaski were the Royal Secretary and Chancellor of Poland
Royal Secretary Chancellor of Poland
action filter_type
action find
entity Jan Łaski
relation position held
type occupation
['Jan Łaski', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Jan_Łaski property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7374818 Q2070965
P39
Q502895
USER
Who were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q7374818) (c(Q502895),P39,Q2070965)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q7374818'] [{'concept': 'Q502895'}, 'P39', 'Q2070965']
SELECT DISTINCT ?m WHERE { ?m property:P39 ?r . ?m rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q7374818 ) ( resource:Q2070965 ) } }
Royal Secretary Chancellor of Poland
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Royal Secretary'] [{'concept': 'common name'}, 'position held', 'Chancellor of Poland']
SELECT DISTINCT ?m WHERE { ?m property:position_held ?r . ?m rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Royal_Secretary ) ( resource:Chancellor_of_Poland ) } }
[]
common name
Q453523 Q453523 Q4276629
SYSTEM
Jacek Małachowski for 3rd, Stanisław Żółkiewski for 1st, 2nd
Q11765326 Q4498846 Q9333410 Q382439 Q1696313 Q9152767 Q970796 Q453523 Q11765326 Q4185571 Q9367040 Q2848821 Q4121293 Q1232571 Q4498846 Q11778592 Q4094823 Q8067483 Q6373079 Q9157195 Q1377426 Q4110603 Q9333410 Q6150019 Q3156414 Q975187 Q382439 Q4276629 Q4121263 Q452811 Q1696313 Q1288242 Q9371610 Q1682354 Q3174202 Q890182 Q5441833 Q515615 Q4109542 Q11815313 Q9152767 Q970796 Q11701135 Q453523 Q23719032 Q4535911 Q4109850 Q11717603 Q2974858 Q1261562 Q728694
(c(Q502895),P39,Q7374818) (c(Q502895),P39,Q2070965)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q7374818'] [{'concept': 'Q502895'}, 'P39', 'Q2070965']
SELECT DISTINCT ?m WHERE { ?m property:P39 ?r . ?m rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q7374818 ) ( resource:Q2070965 ) } }
Maciej Drzewicki Jan Chojeński Samuel Maciejowski Jan Zamoyski Jan Stefan Wydżga Andrzej Lipski Jan Łaski Stanisław Żółkiewski Maciej Drzewicki Andrzej Chryzostom Załuski Uriel Górka André Zaremba Andrzej Młodziejowski Jerzy Albrecht Denhoff Jan Chojeński Michał Awdaniec Jan Andrzej Borch Zawisza Kurozwęcki Karol Tarło Antoni Onufry Okęcki Jerzy Ossoliński Piotr Gembicki Samuel Maciejowski Jan Szembek Iwo Odrowąż Piotr Dunin-Wolski Jan Zamoyski Jacek Małachowski Paweł Dunin-Wolski Jakub Zadzik Jan Stefan Wydżga Tomasz Zamoyski Wawrzyniec Gembicki Jan Wielopolski Jan Radlica Andrzej Zamoyski Feliks Kryski Andrzej Stanisław Załuski Mikołaj Kurowski Pean Andrzej Lipski Jan Łaski Goswin Stanisław Żółkiewski Piotr Angeli Jan Stanisław Jabłonowski Andrzej Leszczyński Jan Gruszczyński Wojciech Jastrzębiec Janusz Suchywilk Krzysztof Szydłowiecki
Stanisław Żółkiewski, Stanisław Żółkiewski and Jacek Małachowski were responsible for occupying the position of those occupations
Stanisław Żółkiewski Stanisław Żółkiewski Jacek Małachowski
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Royal Secretary'] [{'concept': 'common name'}, 'position held', 'Chancellor of Poland']
SELECT DISTINCT ?m WHERE { ?m property:position_held ?r . ?m rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Royal_Secretary ) ( resource:Chancellor_of_Poland ) } }
[]