Simple Question (Direct)
Simple Question
Q1377426
P97
Q4164871
USER
What was the title held by Jerzy Ossoliński ?
(Q1377426,P97,c(Q4164871))
action filter_type
action find
entity Q1377426
relation P97
type Q4164871
['Q1377426', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?k WHERE { resource:Q1377426 property:P97 ?k . ?k rdf:type ontology:Q4164871 }
Jerzy Ossoliński
action filter_type
action find
entity Jerzy Ossoliński
relation noble title
type position
['Jerzy Ossoliński', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?k WHERE { resource:Jerzy_Ossoliński property:noble_title ?k . ?k rdf:type ontology:position }
[]
position
Q1411354
SYSTEM
prince of the Holy Roman Empire
Q1411354
(Q1377426,P97,c(Q4164871))
action filter_type
action find
entity Q1377426
relation P97
type Q4164871
The title held by Jerzy Ossoliński was a [ANSWER]
['Q1377426', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?k WHERE { resource:Q1377426 property:P97 ?k . ?k rdf:type ontology:Q4164871 }
prince of the Holy Roman Empire
The title held by Jerzy Ossoliński was a prince of the Holy Roman Empire
prince of the Holy Roman Empire
action filter_type
action find
entity Jerzy Ossoliński
relation noble title
type position
['Jerzy Ossoliński', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?k WHERE { resource:Jerzy_Ossoliński property:noble_title ?k . ?k rdf:type ontology:position }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1377426
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q1411354,P39,c(Q12737077))
action filter_type
action find
entity Q1377426
relation P39
type Q12737077
['Q1411354', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1377426 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Jerzy Ossoliński
action filter_type
action find
entity Jerzy Ossoliński
relation position held
type occupation
['prince of the Holy Roman Empire', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Jerzy_Ossoliński property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q7925004 Q2070965
SYSTEM
Vice-Chancellor of the Crown, Chancellor of Poland
Q7925004 Q2070965
(Q1411354,P39,c(Q12737077))
action filter_type
action find
entity Q1377426
relation P39
type Q12737077
[ANSWERS] were the positions for which that person were appointed
['Q1411354', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1377426 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Vice-Chancellor of the Crown Chancellor of Poland
Vice-Chancellor of the Crown and Chancellor of Poland were the positions for which that person were appointed
Vice-Chancellor of the Crown Chancellor of Poland
action filter_type
action find
entity Jerzy Ossoliński
relation position held
type occupation
['prince of the Holy Roman Empire', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Jerzy_Ossoliński property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P39
Q502895
USER
How many people were appointed for the position of that occupation ?
(c(Q502895),P39,Q7925004)
[{'concept': 'Q502895'}, 'P39', 'Q7925004']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q7925004 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'position held', 'Vice-Chancellor of the Crown']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:Vice-Chancellor_of_the_Crown . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q7925004
SYSTEM
Did you mean Vice-Chancellor of the Crown ?
(c(Q502895),P39,Q7925004) (c(Q502895),P39,Q2070965)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q7925004'] [{'concept': 'Q502895'}, 'P39', 'Q2070965']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q7925004 . ?z rdf:type ontology:Q502895 }
Did you mean Vice-Chancellor of the Crown ?
Vice-Chancellor of the Crown
[{'concept': 'common name'}, 'position held', 'Vice-Chancellor of the Crown'] [{'concept': 'common name'}, 'position held', 'Chancellor of Poland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:Vice-Chancellor_of_the_Crown . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P39,Q7925004)
[{'concept': 'Q502895'}, 'P39', 'Q7925004']
[{'concept': 'common name'}, 'position held', 'Vice-Chancellor of the Crown']
[]
SYSTEM
19
Q11765326 Q4121293 Q4094823 Q8067483 Q6373079 Q9157195 Q1377426 Q4110603 Q6150019 Q975187 Q4276629 Q452811 Q1696313 Q1288242 Q9371610 Q1682354 Q5441833 Q9152767 Q728694
(c(Q502895),P39,Q7925004)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q7925004']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q7925004 . ?z rdf:type ontology:Q502895 }
Maciej Drzewicki Andrzej Młodziejowski Jan Andrzej Borch Zawisza Kurozwęcki Karol Tarło Antoni Onufry Okęcki Jerzy Ossoliński Piotr Gembicki Jan Szembek Piotr Dunin-Wolski Jacek Małachowski Jakub Zadzik Jan Stefan Wydżga Tomasz Zamoyski Wawrzyniec Gembicki Jan Wielopolski Feliks Kryski Andrzej Lipski Krzysztof Szydłowiecki
19
[{'concept': 'common name'}, 'position held', 'Vice-Chancellor of the Crown']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:Vice-Chancellor_of_the_Crown . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1377426
P7
Q502895
USER
Who are Jerzy Ossoliński a sibling of ?
(Q1377426,P7,c(Q502895))
action filter_type
action find
entity Q1377426
relation P7
type Q502895
['Q1377426', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1377426 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Jerzy Ossoliński
action filter_type
action find
entity Jerzy Ossoliński
relation brother
type common name
['Jerzy Ossoliński', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Jerzy_Ossoliński property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q6440186 Q6740380
SYSTEM
Krzysztof Ossoliński, Maksymilian Ossoliński
Q6440186 Q6740380
(Q1377426,P7,c(Q502895))
action filter_type
action find
entity Q1377426
relation P7
type Q502895
[ANSWERS] are Jerzy Ossoliński a sibling of
['Q1377426', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1377426 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Krzysztof Ossoliński Maksymilian Ossoliński
Krzysztof Ossoliński and Maksymilian Ossoliński are Jerzy Ossoliński a sibling of
Krzysztof Ossoliński Maksymilian Ossoliński
action filter_type
action find
entity Jerzy Ossoliński
relation brother
type common name
['Jerzy Ossoliński', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Jerzy_Ossoliński property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6440186 Q6740380
P22
Q502895
USER
Who are the offspring of Krzysztof Ossoliński and Maksymilian Ossoliński ?
(c(Q502895),P22,Q6440186) (c(Q502895),P22,Q6740380)
action union
action filter_type
action find_reverse
entity Q6440186
relation P22
type Q502895
action filter_type
action find_reverse
entity Q6740380
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6440186'] [{'concept': 'Q502895'}, 'P22', 'Q6740380']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:Q6440186 ) ( resource:Q6740380 ) } . ?p property:P22 ?o }
Krzysztof Ossoliński Maksymilian Ossoliński
action union
action filter_type
action find_reverse
entity Krzysztof Ossoliński
relation father
type common name
action filter_type
action find_reverse
entity Maksymilian Ossoliński
relation father
type common name
[{'concept': 'common name'}, 'father', 'Krzysztof Ossoliński'] [{'concept': 'common name'}, 'father', 'Maksymilian Ossoliński']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:Krzysztof_Ossoliński ) ( resource:Maksymilian_Ossoliński ) } . ?p property:father ?o }
[]
common name
Q11749073 Q510294 Q11123740
SYSTEM
Krzysztof Baldwin Ossoliński, Franciszek Maksymilian Ossoliński, Jan Stanisław Ossoliński
Q11749073 Q510294 Q11123740
(c(Q502895),P22,Q6440186) (c(Q502895),P22,Q6740380)
action union
action filter_type
action find_reverse
entity Q6440186
relation P22
type Q502895
action filter_type
action find_reverse
entity Q6740380
relation P22
type Q502895
The offspring of Krzysztof Ossoliński and Maksymilian Ossoliński are [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q6440186'] [{'concept': 'Q502895'}, 'P22', 'Q6740380']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:Q6440186 ) ( resource:Q6740380 ) } . ?p property:P22 ?o }
Krzysztof Baldwin Ossoliński Franciszek Maksymilian Ossoliński Jan Stanisław Ossoliński
The offspring of Krzysztof Ossoliński and Maksymilian Ossoliński are Krzysztof Baldwin Ossoliński, Franciszek Maksymilian Ossoliński and Jan Stanisław Ossoliński
Krzysztof Baldwin Ossoliński Franciszek Maksymilian Ossoliński Jan Stanisław Ossoliński
action union
action filter_type
action find_reverse
entity Krzysztof Ossoliński
relation father
type common name
action filter_type
action find_reverse
entity Maksymilian Ossoliński
relation father
type common name
[{'concept': 'common name'}, 'father', 'Krzysztof Ossoliński'] [{'concept': 'common name'}, 'father', 'Maksymilian Ossoliński']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:Krzysztof_Ossoliński ) ( resource:Maksymilian_Ossoliński ) } . ?p property:father ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1377426
P40
Q502895
USER
Who has Jerzy Ossoliński as a child ?
(c(Q502895),P40,Q1377426)
action filter_type
action find_reverse
entity Q1377426
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1377426']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q1377426 . ?n rdf:type ontology:Q502895 }
Jerzy Ossoliński
action filter_type
action find_reverse
entity Jerzy Ossoliński
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jerzy Ossoliński']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Jerzy_Ossoliński . ?n rdf:type ontology:common_name }
[]
common name
Q5735443
SYSTEM
Jan Zbigniew Ossoliński
Q5735443
(c(Q502895),P40,Q1377426)
action filter_type
action find_reverse
entity Q1377426
relation P40
type Q502895
[ANSWER] has Jerzy Ossoliński as a child
[{'concept': 'Q502895'}, 'P40', 'Q1377426']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q1377426 . ?n rdf:type ontology:Q502895 }
Jan Zbigniew Ossoliński
Jan Zbigniew Ossoliński has Jerzy Ossoliński as a child
Jan Zbigniew Ossoliński
action filter_type
action find_reverse
entity Jerzy Ossoliński
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jerzy Ossoliński']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Jerzy_Ossoliński . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1377426
P1028
Q811979
USER
What does Jerzy Ossoliński give in charity ?
(c(Q811979),P1028,Q1377426)
action filter_type
action find_reverse
entity Q1377426
relation P1028
type Q811979
[{'concept': 'Q811979'}, 'P1028', 'Q1377426']
SELECT DISTINCT ?y WHERE { ?y property:P1028 resource:Q1377426 . ?y rdf:type ontology:Q811979 }
Jerzy Ossoliński
action filter_type
action find_reverse
entity Jerzy Ossoliński
relation donated by
type architectural structure
[{'concept': 'architectural structure'}, 'donated by', 'Jerzy Ossoliński']
SELECT DISTINCT ?y WHERE { ?y property:donated_by resource:Jerzy_Ossoliński . ?y rdf:type ontology:architectural_structure }
[]
architectural structure
Q996986
SYSTEM
Brühl Palace, Warsaw
Q996986
(c(Q811979),P1028,Q1377426)
action filter_type
action find_reverse
entity Q1377426
relation P1028
type Q811979
[ANSWER] in charity Jerzy Ossoliński gives
[{'concept': 'Q811979'}, 'P1028', 'Q1377426']
SELECT DISTINCT ?y WHERE { ?y property:P1028 resource:Q1377426 . ?y rdf:type ontology:Q811979 }
Brühl Palace, Warsaw
Brühl Palace, Warsaw in charity Jerzy Ossoliński gives
Brühl Palace, Warsaw
action filter_type
action find_reverse
entity Jerzy Ossoliński
relation donated by
type architectural structure
[{'concept': 'architectural structure'}, 'donated by', 'Jerzy Ossoliński']
SELECT DISTINCT ?y WHERE { ?y property:donated_by resource:Jerzy_Ossoliński . ?y rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q996986
P84
Q502895
USER
Who is the designer of that architectural structure ?
(Q996986,P84,c(Q502895))
action filter_type
action find
entity Q996986
relation P84
type Q502895
['Q996986', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q996986 property:P84 ?f }
Brühl Palace, Warsaw
action filter_type
action find
entity Brühl Palace, Warsaw
relation architect
type common name
['Brühl Palace, Warsaw', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Brühl_Palace,_Warsaw property:architect ?f }
[]
common name
Q1348665
SYSTEM
Tylman van Gameren
Q1348665
(Q996986,P84,c(Q502895))
action filter_type
action find
entity Q996986
relation P84
type Q502895
The designer of that architectural structure is Jan [ANSWER]
['Q996986', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q996986 property:P84 ?f }
Tylman van Gameren
The designer of that architectural structure is Jan Tylman van Gameren
Tylman van Gameren
action filter_type
action find
entity Brühl Palace, Warsaw
relation architect
type common name
['Brühl Palace, Warsaw', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Brühl_Palace,_Warsaw property:architect ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P84
Q44539 Q811979
USER
How many temples or architectural structures were that person an architect of ?
(c(Q44539),P84,Q1348665) (c(Q811979),P84,Q1348665) (c(Q44539),P84,Q1348665) (c(Q811979),P84,Q1348665)
action count
action union
action filter_type
action find_reverse
entity Q1348665
relation P84
type Q44539
action filter_type
action find_reverse
entity Q1348665
relation P84
type Q811979
[{'concept': 'Q44539'}, 'P84', 'Q1348665'] [{'concept': 'Q811979'}, 'P84', 'Q1348665'] [{'concept': 'Q44539'}, 'P84', 'Q1348665'] [{'concept': 'Q811979'}, 'P84', 'Q1348665']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P84 resource:Q1348665 . ?r rdf:type ontology:Q44539 } UNION { ?r property:P84 resource:Q1348665 . ?r rdf:type ontology:Q811979 } }
action count
action union
action filter_type
action find_reverse
entity Tylman van Gameren
relation architect
type temple
action filter_type
action find_reverse
entity Tylman van Gameren
relation architect
type architectural structure
[{'concept': 'temple'}, 'architect', 'Tylman van Gameren'] [{'concept': 'architectural structure'}, 'architect', 'Tylman van Gameren'] [{'concept': 'temple'}, 'architect', 'Tylman van Gameren'] [{'concept': 'architectural structure'}, 'architect', 'Tylman van Gameren']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:architect resource:Tylman_van_Gameren . ?r rdf:type ontology:temple } UNION { ?r property:architect resource:Tylman_van_Gameren . ?r rdf:type ontology:architectural_structure } }
[]
temple architectural structure
SYSTEM
4
Q996986 Q7589429 Q606990 Q1126134
(c(Q44539),P84,Q1348665) (c(Q811979),P84,Q1348665) (c(Q44539),P84,Q1348665) (c(Q811979),P84,Q1348665)
action count
action union
action filter_type
action find_reverse
entity Q1348665
relation P84
type Q44539
action filter_type
action find_reverse
entity Q1348665
relation P84
type Q811979
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q1348665'] [{'concept': 'Q811979'}, 'P84', 'Q1348665'] [{'concept': 'Q44539'}, 'P84', 'Q1348665'] [{'concept': 'Q811979'}, 'P84', 'Q1348665']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P84 resource:Q1348665 . ?r rdf:type ontology:Q44539 } UNION { ?r property:P84 resource:Q1348665 . ?r rdf:type ontology:Q811979 } }
Brühl Palace, Warsaw St. Kazimierz Church Church of St. Anthony of Padua, Warsaw Church of St. Anne
4
action count
action union
action filter_type
action find_reverse
entity Tylman van Gameren
relation architect
type temple
action filter_type
action find_reverse
entity Tylman van Gameren
relation architect
type architectural structure
[{'concept': 'temple'}, 'architect', 'Tylman van Gameren'] [{'concept': 'architectural structure'}, 'architect', 'Tylman van Gameren'] [{'concept': 'temple'}, 'architect', 'Tylman van Gameren'] [{'concept': 'architectural structure'}, 'architect', 'Tylman van Gameren']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:architect resource:Tylman_van_Gameren . ?r rdf:type ontology:temple } UNION { ?r property:architect resource:Tylman_van_Gameren . ?r rdf:type ontology:architectural_structure } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did max number of people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?x ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?q ) WHERE { ?u rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 . ?u property:P725 ?l } GROUP BY ?u } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?i ) WHERE { ?j property:P725 ?k . ?j rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?j } }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?x ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?q ) WHERE { ?u rdf:type ontology:work . ?l rdf:type ontology:common_name . ?u property:voice_actor ?l } GROUP BY ?u } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?i ) WHERE { ?j property:voice_actor ?k . ?j rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?j } }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] max number of people did the dubbing
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?x ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?q ) WHERE { ?u rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 . ?u property:P725 ?l } GROUP BY ?u } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?i ) WHERE { ?j property:P725 ?k . ?j rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?j } }
Hércules y el examen de conducir
Hércules y el examen de conducir max number of people did the dubbing
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?x ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?q ) WHERE { ?u rdf:type ontology:work . ?l rdf:type ontology:common_name . ?u property:voice_actor ?l } GROUP BY ?u } } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?i ) WHERE { ?j property:voice_actor ?k . ?j rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q26331781 Q24050009 Q3051720
P725
Q502895
USER
Did Mercedes Montalà and Elsa Guichard do the dubbing for Q26331781 ?
(Q26331781,P725,Q24050009) (Q26331781,P725,Q3051720)
action is_in
entity Q26331781
action intersection
action find_reverse
entity Q24050009
relation P725
action find_reverse
entity Q3051720
relation P725
['Q26331781', 'P725', 'Q24050009'] ['Q26331781', 'P725', 'Q3051720']
ASK WHERE { resource:Q26331781 property:P725 resource:Q24050009 . resource:Q26331781 property:P725 resource:Q3051720 }
Hércules y el examen de conducir Mercedes Montalà Elsa Guichard
action is_in
entity Hércules y el examen de conducir
action intersection
action find_reverse
entity Mercedes Montalà
relation voice actor
action find_reverse
entity Elsa Guichard
relation voice actor
['Hércules y el examen de conducir', 'voice actor', 'Mercedes Montalà'] ['Hércules y el examen de conducir', 'voice actor', 'Elsa Guichard']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Mercedes_Montalà . resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Elsa_Guichard }
[]
common name
SYSTEM
YES and NO respectively
(Q26331781,P725,Q24050009) (Q26331781,P725,Q3051720)
action is_in
entity Q26331781
action intersection
action find_reverse
entity Q24050009
relation P725
action find_reverse
entity Q3051720
relation P725
[ANSWER]
['Q26331781', 'P725', 'Q24050009'] ['Q26331781', 'P725', 'Q3051720']
ASK WHERE { resource:Q26331781 property:P725 resource:Q24050009 . resource:Q26331781 property:P725 resource:Q3051720 }
YES and NO respectively
action is_in
entity Hércules y el examen de conducir
action intersection
action find_reverse
entity Mercedes Montalà
relation voice actor
action find_reverse
entity Elsa Guichard
relation voice actor
['Hércules y el examen de conducir', 'voice actor', 'Mercedes Montalà'] ['Hércules y el examen de conducir', 'voice actor', 'Elsa Guichard']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Mercedes_Montalà . resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Elsa_Guichard }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3177786 Q6740380
P161 P40
Q502895
USER
Which people are the children of Maksymilian Ossoliński or are in Jet Storm ?
OR((Q6740380,P40,c(Q502895)), (Q3177786,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6740380
relation P40
action find
entity Q3177786
relation P161
type Q502895
{'OR': [['Q6740380', 'P40', {'concept': 'Q502895'}], ['Q3177786', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q6740380 property:P40 ?u } UNION { resource:Q3177786 property:P161 ?u } } . ?u rdf:type ontology:Q502895 }
Jet Storm Maksymilian Ossoliński
action filter_type
action union
action find
entity Maksymilian Ossoliński
relation child
action find
entity Jet Storm
relation cast member
type common name
{'OR': [['Maksymilian Ossoliński', 'child', {'concept': 'common name'}], ['Jet Storm', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Maksymilian_Ossoliński property:child ?u } UNION { resource:Jet_Storm property:cast_member ?u } } . ?u rdf:type ontology:common_name }
[]
common name
Q1306352 Q508605 Q238871 Q443030 Q11123740 Q4892946 Q51506
SYSTEM
Stanley Baker, Barbara Kelly, Diane Cilento, Hermione Baddeley, Jan Stanisław Ossoliński, Bernard Braden, Richard Attenborough
Q1306352 Q508605 Q238871 Q443030 Q11123740 Q4892946 Q51506
OR((Q6740380,P40,c(Q502895)), (Q3177786,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6740380
relation P40
action find
entity Q3177786
relation P161
type Q502895
[ANSWERS] are the children of Maksymilian Ossoliński or are in Jet Storm
{'OR': [['Q6740380', 'P40', {'concept': 'Q502895'}], ['Q3177786', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q6740380 property:P40 ?u } UNION { resource:Q3177786 property:P161 ?u } } . ?u rdf:type ontology:Q502895 }
Stanley Baker Barbara Kelly Diane Cilento Hermione Baddeley Jan Stanisław Ossoliński Bernard Braden Richard Attenborough
Stanley Baker, Barbara Kelly, Diane Cilento, Hermione Baddeley, Jan Stanisław Ossoliński, Bernard Braden and Richard Attenborough are the children of Maksymilian Ossoliński or are in Jet Storm
Stanley Baker Barbara Kelly Diane Cilento Hermione Baddeley Jan Stanisław Ossoliński Bernard Braden Richard Attenborough
action filter_type
action union
action find
entity Maksymilian Ossoliński
relation child
action find
entity Jet Storm
relation cast member
type common name
{'OR': [['Maksymilian Ossoliński', 'child', {'concept': 'common name'}], ['Jet Storm', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Maksymilian_Ossoliński property:child ?u } UNION { resource:Jet_Storm property:cast_member ?u } } . ?u rdf:type ontology:common_name }
[]