Simple Question (Direct)
Simple Question
Q2503115
P102
Q7278
USER
Which political party is Ute Schmid a member of ?
(Q2503115,P102,c(Q7278))
action filter_type
action find
entity Q2503115
relation P102
type Q7278
['Q2503115', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q2503115 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Ute Schmid
action filter_type
action find
entity Ute Schmid
relation member of political party
type political party
['Ute Schmid', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Ute_Schmid property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q49766
SYSTEM
Alliance '90/The Greens
Q49766
(Q2503115,P102,c(Q7278))
action filter_type
action find
entity Q2503115
relation P102
type Q7278
[ANSWER] is Ute Schmid a member of
['Q2503115', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q2503115 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Alliance '90/The Greens
Alliance '90/The Greens is Ute Schmid a member of
Alliance '90/The Greens
action filter_type
action find
entity Ute Schmid
relation member of political party
type political party
['Ute Schmid', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Ute_Schmid property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2503115
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q49766,P39,c(Q12737077))
action filter_type
action find
entity Q2503115
relation P39
type Q12737077
['Q49766', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2503115 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Ute Schmid
action filter_type
action find
entity Ute Schmid
relation position held
type occupation
["Alliance '90/The Greens", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ute_Schmid property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q18130478
SYSTEM
Member of the Landtag of Saarland
Q18130478
(Q49766,P39,c(Q12737077))
action filter_type
action find
entity Q2503115
relation P39
type Q12737077
The [ANSWER]
['Q49766', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2503115 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of the Landtag of Saarland
The Member of the Landtag of Saarland
Member of the Landtag of Saarland
action filter_type
action find
entity Ute Schmid
relation position held
type occupation
["Alliance '90/The Greens", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ute_Schmid property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18130478 Q7507932
P39
Q502895
USER
Was Sid Tickridge responsible for occupying the position of that occupation ?
(Q7507932,P39,Q18130478)
action is_in
entity Q7507932
action find
entity Q18130478
relation P39
['Q7507932', 'P39', 'Q18130478']
ASK WHERE { resource:Q18130478 property:P39 resource:Q7507932 }
Member of the Landtag of Saarland Sid Tickridge
action is_in
entity Sid Tickridge
action find
entity Member of the Landtag of Saarland
relation position held
['Sid Tickridge', 'position held', 'Member of the Landtag of Saarland']
ASK WHERE { resource:Member_of_the_Landtag_of_Saarland property:position_held resource:Sid_Tickridge }
[]
common name
SYSTEM
NO
(Q7507932,P39,Q18130478)
action is_in
entity Q7507932
action find
entity Q18130478
relation P39
[ANSWER]
['Q7507932', 'P39', 'Q18130478']
ASK WHERE { resource:Q18130478 property:P39 resource:Q7507932 }
No
action is_in
entity Sid Tickridge
action find
entity Member of the Landtag of Saarland
relation position held
['Sid Tickridge', 'position held', 'Member of the Landtag of Saarland']
ASK WHERE { resource:Member_of_the_Landtag_of_Saarland property:position_held resource:Sid_Tickridge }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2503115 Q183
P27
Q1048835
USER
Does Ute Schmid belong to Germany ?
(Q2503115,P27,Q183)
action is_in
entity Q183
action find
entity Q2503115
relation P27
['Q2503115', 'P27', 'Q183']
ASK WHERE { resource:Q2503115 property:P27 resource:Q183 }
Ute Schmid Germany
action is_in
entity Germany
action find
entity Ute Schmid
relation country of citizenship
['Ute Schmid', 'country of citizenship', 'Germany']
ASK WHERE { resource:Ute_Schmid property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q2503115,P27,Q183)
action is_in
entity Q183
action find
entity Q2503115
relation P27
[ANSWER]
['Q2503115', 'P27', 'Q183']
ASK WHERE { resource:Q2503115 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Ute Schmid
relation country of citizenship
['Ute Schmid', 'country of citizenship', 'Germany']
ASK WHERE { resource:Ute_Schmid property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18130478 Q183 Q730109
P17
Q1048835
USER
Is Member of the Landtag of Saarland located in Germany and Lanús Partido ?
(Q18130478,P17,Q183) (Q18130478,P17,Q730109)
action is_in
entity Q18130478
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q730109
relation P17
['Q18130478', 'P17', 'Q183'] ['Q18130478', 'P17', 'Q730109']
ASK WHERE { resource:Q18130478 property:P17 resource:Q183 . resource:Q18130478 property:P17 resource:Q730109 }
Member of the Landtag of Saarland Germany Lanús Partido
action is_in
entity Member of the Landtag of Saarland
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Lanús Partido
relation country
['Member of the Landtag of Saarland', 'country', 'Germany'] ['Member of the Landtag of Saarland', 'country', 'Lanús Partido']
ASK WHERE { resource:Member_of_the_Landtag_of_Saarland property:country resource:Germany . resource:Member_of_the_Landtag_of_Saarland property:country resource:Lanús_Partido }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q18130478,P17,Q183) (Q18130478,P17,Q730109)
action is_in
entity Q18130478
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q730109
relation P17
[ANSWER]
['Q18130478', 'P17', 'Q183'] ['Q18130478', 'P17', 'Q730109']
ASK WHERE { resource:Q18130478 property:P17 resource:Q183 . resource:Q18130478 property:P17 resource:Q730109 }
YES and NO respectively
action is_in
entity Member of the Landtag of Saarland
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Lanús Partido
relation country
['Member of the Landtag of Saarland', 'country', 'Germany'] ['Member of the Landtag of Saarland', 'country', 'Lanús Partido']
ASK WHERE { resource:Member_of_the_Landtag_of_Saarland property:country resource:Germany . resource:Member_of_the_Landtag_of_Saarland property:country resource:Lanús_Partido }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2503115 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of Ute Schmid ?
(Q2503115,P27,Q183)
action is_in
entity Q183
action find
entity Q2503115
relation P27
['Q2503115', 'P27', 'Q183']
ASK WHERE { resource:Q2503115 property:P27 resource:Q183 }
Ute Schmid Germany
action is_in
entity Germany
action find
entity Ute Schmid
relation country of citizenship
['Ute Schmid', 'country of citizenship', 'Germany']
ASK WHERE { resource:Ute_Schmid property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q2503115,P27,Q183)
action is_in
entity Q183
action find
entity Q2503115
relation P27
[ANSWER]
['Q2503115', 'P27', 'Q183']
ASK WHERE { resource:Q2503115 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Ute Schmid
relation country of citizenship
['Ute Schmid', 'country of citizenship', 'Germany']
ASK WHERE { resource:Ute_Schmid property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3795848 Q49766
P488 P161
Q502895
USER
Which people chaired Alliance '90/The Greens or starred in The Silent Partner ?
OR((Q49766,P488,c(Q502895)), (Q3795848,P161,c(Q502895)))
action filter_type
action union
action find
entity Q49766
relation P488
action find
entity Q3795848
relation P161
type Q502895
{'OR': [['Q49766', 'P488', {'concept': 'Q502895'}], ['Q3795848', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q49766 property:P488 ?p } UNION { resource:Q3795848 property:P161 ?p } } }
The Silent Partner Alliance '90/The Greens
action filter_type
action union
action find
entity Alliance '90/The Greens
relation chairperson
action find
entity The Silent Partner
relation cast member
type common name
{'OR': [["Alliance '90/The Greens", 'chairperson', {'concept': 'common name'}], ['The Silent Partner', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:Alliance_'90/The_Greens property:chairperson ?p } UNION { resource:The_Silent_Partner property:cast_member ?p } } }
[]
common name
Q3659795 Q3732048 Q12839 Q1243855 Q3779016 Q4008861 Q243081 Q1662598 Q4013931 Q3847903
SYSTEM
Some of them are Carlo Romano, Erminio Spalla, Cem Özdemir, Gunda Röstel, Guglielmo Sinaz, Vasco Creti, Marianne Birthler, Ludger Volmer, Virgilio Riento, Mariella Lotti
Q1243855 Q1662598 Q3759375 Q3742203 Q109979 Q982381 Q3735655 Q4008861 Q450043 Q3423469 Q65128 Q3680409 Q31236 Q16268586 Q77525 Q3848611 Q3779016 Q3732048 Q102662 Q1789128 Q460063 Q12839 Q4013931 Q78408 Q3809968 Q3659795 Q75791 Q3876266 Q11762 Q3847903 Q243081
OR((Q49766,P488,c(Q502895)), (Q3795848,P161,c(Q502895)))
action filter_type
action union
action find
entity Q49766
relation P488
action find
entity Q3795848
relation P161
type Q502895
[ANSWERS] chaired Alliance '90/The Greens or starred in The Silent Partner
{'OR': [['Q49766', 'P488', {'concept': 'Q502895'}], ['Q3795848', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q49766 property:P488 ?p } UNION { resource:Q3795848 property:P161 ?p } } }
Gunda Röstel Ludger Volmer Gemma Bolognesi Felice Romano Simone Peter Sergio Tofano Evi Maltagliati Vasco Creti Clara Calamai Regina Bianchi Renate Künast Clelia Matania Reinhard Bütikofer Egisto Olivieri Angelika Beer Mario Gallina Guglielmo Sinaz Erminio Spalla Antje Radcke Krista Sager Guido Celano Cem Özdemir Virgilio Riento Fritz Kuhn Jone Romano Carlo Romano Claudia Roth Nicola Maldacea Jürgen Trittin Mariella Lotti Marianne Birthler
Carlo Romano, Erminio Spalla, Cem Özdemir, Gunda Röstel, Guglielmo Sinaz, Vasco Creti, Marianne Birthler, Ludger Volmer, Virgilio Riento and Mariella Lotti chaired Alliance '90/The Greens or starred in The Silent Partner
Carlo Romano Erminio Spalla Cem Özdemir Gunda Röstel Guglielmo Sinaz Vasco Creti Marianne Birthler Ludger Volmer Virgilio Riento Mariella Lotti
action filter_type
action union
action find
entity Alliance '90/The Greens
relation chairperson
action find
entity The Silent Partner
relation cast member
type common name
{'OR': [["Alliance '90/The Greens", 'chairperson', {'concept': 'common name'}], ['The Silent Partner', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:Alliance_'90/The_Greens property:chairperson ?p } UNION { resource:The_Silent_Partner property:cast_member ?p } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 3926 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3926
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j >= 3926 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?c rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?c } GROUP BY ?c } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3926
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j >= 3926 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?c rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?c } GROUP BY ?c } }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3926
[ANSWERS] can atleast 3926 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j >= 3926 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?c rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 . ?o property:P1303 ?c } GROUP BY ?c } }
piano violin
Piano and violin can atleast 3926 people perform with
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3926
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?j >= 3926 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?c rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name . ?o property:instrument ?c } GROUP BY ?c } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q200131
P1303
Q502895
USER
Does Antônio Carlos Jobim can play those musical instruments ?
(Q200131,P1303,Q5994) (Q200131,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q200131
relation P1303
['Q200131', 'P1303', 'Q5994'] ['Q200131', 'P1303', 'Q8355']
ASK WHERE { resource:Q200131 property:P1303 ?j . VALUES ( ?j ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Antônio Carlos Jobim
action is_in
entity prev_answer
action find
entity Antônio Carlos Jobim
relation instrument
['Antônio Carlos Jobim', 'instrument', 'piano'] ['Antônio Carlos Jobim', 'instrument', 'violin']
ASK WHERE { resource:Antônio_Carlos_Jobim property:instrument ?j . VALUES ( ?j ) { ( resource:piano ) ( resource:violin ) } }
[]
common name
SYSTEM
YES
(Q200131,P1303,Q5994) (Q200131,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q200131
relation P1303
[ANSWER]
['Q200131', 'P1303', 'Q5994'] ['Q200131', 'P1303', 'Q8355']
ASK WHERE { resource:Q200131 property:P1303 ?j . VALUES ( ?j ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Yes
action is_in
entity prev_answer
action find
entity Antônio Carlos Jobim
relation instrument
['Antônio Carlos Jobim', 'instrument', 'piano'] ['Antônio Carlos Jobim', 'instrument', 'violin']
ASK WHERE { resource:Antônio_Carlos_Jobim property:instrument ?j . VALUES ( ?j ) { ( resource:piano ) ( resource:violin ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q225509 Q4008861
P161
Q838948
USER
Which works of art do Vasco Creti or Susannah York star in ?
OR((c(Q838948),P161,Q4008861), (c(Q838948),P161,Q225509))
action filter_type
action union
action find_reverse
entity Q4008861
relation P161
action find_reverse
entity Q225509
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q4008861'], [{'concept': 'Q838948'}, 'P161', 'Q225509']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . { VALUES ( ?y ) { ( resource:Q4008861 ) ( resource:Q225509 ) } . ?s property:P161 ?y } }
Susannah York Vasco Creti
action filter_type
action union
action find_reverse
entity Vasco Creti
relation cast member
action find_reverse
entity Susannah York
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Vasco Creti'], [{'concept': 'work of art'}, 'cast member', 'Susannah York']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . { VALUES ( ?y ) { ( resource:Vasco_Creti ) ( resource:Susannah_York ) } . ?s property:cast_member ?y } }
[]
work of art
Q2941333 Q3930894 Q5312392 Q3904075 Q3879149 Q814766 Q3878174 Q527826 Q3064787 Q966003
SYSTEM
Some of them are Casta diva, The Joker King, Duffy, Pietro Micca, Blood Wedding, The 7th Dawn, Non ti pago!, Freud: The Secret Passion, Falling in Love Again, Gold
Q3902645 Q3824750 Q681801 Q3904075 Q1750419 Q3879149 Q4023635 Q213053 Q883500 Q3427377 Q5208251 Q759397 Q12125963 Q3694690 Q3824553 Q1767839 Q3793335 Q3795848 Q6665253 Q7736434 Q714989 Q3064787 Q3899842 Q3745722 Q5362135 Q1305654 Q18210155 Q218999 Q1757452 Q3942103 Q3846583 Q4003827 Q3984570 Q1118851 Q3891790 Q3793381 Q1193856 Q164224 Q3793852 Q2998899 Q3549042 Q1238219 Q12125304 Q18209203 Q966003 Q4004299 Q7442352 Q814766 Q1197556 Q3647078 Q2368378 Q267672 Q3878174 Q1140171 Q21869354 Q2259762 Q649570 Q313315 Q3930894 Q693355 Q3609068 Q2545565 Q2941333 Q1251251 Q6675787 Q739678 Q5312392 Q663342 Q21869717 Q7936343 Q527826
OR((c(Q838948),P161,Q4008861), (c(Q838948),P161,Q225509))
action filter_type
action union
action find_reverse
entity Q4008861
relation P161
action find_reverse
entity Q225509
relation P161
type Q838948
Vasco Creti or Susannah York star Sigmund [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q4008861'], [{'concept': 'Q838948'}, 'P161', 'Q225509']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . { VALUES ( ?y ) { ( resource:Q4008861 ) ( resource:Q225509 ) } . ?s property:P161 ?y } }
Piccolo grande amore The Widow Mille lire al mese Pietro Micca The Silent Partner Blood Wedding Zaganella and the Cavalier Superman That Lucky Touch Sands of the Kalahari Daemon Sky Riders The Maids Before the Jury La tavola dei poveri Alice The Haller Case The Silent Partner Lock Up Your Daughters The Gigolos Battle of Britain Falling in Love Again Pergolesi It Always Ends That Way Eliza Fraser A Summer Story Wealth Without a Future A Man for All Seasons The Awakening The Charmer Marco Visconti Un garibaldino al convento Mother Earth The Old Guard Palio The Cavalier from Kruja Kaleidoscope Franklyn The Gift of the Morning Country Dance The Greengage Summer Zee and Co. Just Ask for Diamond The Man with the Claw Gold A Wife in Danger Sebastian The 7th Dawn The Shout Happy Birthday, Wanda June Mio in the Land of Faraway Superman II Non ti pago! They Shoot Horses, Don't They? The Flight of Socrates Images The Killing of Sister George Tom Jones The Joker King 1860 Aldebaran Oh! What a Lovely War Casta diva Yellowbeard Loop Tunes of Glory Duffy La Damigella di Bard The Pearl of Cleopatra Visitors Freud: The Secret Passion
Vasco Creti or Susannah York star Sigmund Casta diva, The Joker King, Duffy, Pietro Micca, Blood Wedding, The 7th Dawn, Non ti pago!, Freud: The Secret Passion, Falling in Love Again and Gold
Casta diva The Joker King Duffy Pietro Micca Blood Wedding The 7th Dawn Non ti pago! Freud: The Secret Passion Falling in Love Again Gold
action filter_type
action union
action find_reverse
entity Vasco Creti
relation cast member
action find_reverse
entity Susannah York
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Vasco Creti'], [{'concept': 'work of art'}, 'cast member', 'Susannah York']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . { VALUES ( ?y ) { ( resource:Vasco_Creti ) ( resource:Susannah_York ) } . ?s property:cast_member ?y } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17492603 Q2503115
P27 P495
Q1048835
USER
Which political territories are Ute Schmid an inhabitant of and are the countries of origin of Portrait of a Lone Farmer ?
AND((Q2503115,P27,c(Q1048835)), (Q17492603,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q2503115
relation P27
action find
entity Q17492603
relation P495
type Q1048835
{'AND': [['Q2503115', 'P27', {'concept': 'Q1048835'}], ['Q17492603', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q2503115 property:P27 ?r . resource:Q17492603 property:P495 ?r . ?r rdf:type ontology:Q1048835 }
Portrait of a Lone Farmer Ute Schmid
action filter_type
action intersection
action find
entity Ute Schmid
relation country of citizenship
action find
entity Portrait of a Lone Farmer
relation country of origin
type political territorial entity
{'AND': [['Ute Schmid', 'country of citizenship', {'concept': 'political territorial entity'}], ['Portrait of a Lone Farmer', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Ute_Schmid property:country_of_citizenship ?r . resource:Portrait_of_a_Lone_Farmer property:country_of_origin ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q2503115,P27,c(Q1048835)), (Q17492603,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q2503115
relation P27
action find
entity Q17492603
relation P495
type Q1048835
[ANSWER] is Ute Schmid an inhabitant of and is the countries of origin of Portrait of a Lone Farmer
{'AND': [['Q2503115', 'P27', {'concept': 'Q1048835'}], ['Q17492603', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q2503115 property:P27 ?r . resource:Q17492603 property:P495 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Germany is Ute Schmid an inhabitant of and is the countries of origin of Portrait of a Lone Farmer
Germany
action filter_type
action intersection
action find
entity Ute Schmid
relation country of citizenship
action find
entity Portrait of a Lone Farmer
relation country of origin
type political territorial entity
{'AND': [['Ute Schmid', 'country of citizenship', {'concept': 'political territorial entity'}], ['Portrait of a Lone Farmer', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Ute_Schmid property:country_of_citizenship ?r . resource:Portrait_of_a_Lone_Farmer property:country_of_origin ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q325400
P27
Q502895
USER
Is Willi Eichhorn a citizen of that political territory ?
(Q325400,P27,Q183)
action is_in
entity Q183
action find
entity Q325400
relation P27
['Q325400', 'P27', 'Q183']
ASK WHERE { resource:Q325400 property:P27 resource:Q183 }
Germany Willi Eichhorn
action is_in
entity Germany
action find
entity Willi Eichhorn
relation country of citizenship
['Willi Eichhorn', 'country of citizenship', 'Germany']
ASK WHERE { resource:Willi_Eichhorn property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q325400,P27,Q183)
action is_in
entity Q183
action find
entity Q325400
relation P27
[ANSWER]
['Q325400', 'P27', 'Q183']
ASK WHERE { resource:Q325400 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Willi Eichhorn
relation country of citizenship
['Willi Eichhorn', 'country of citizenship', 'Germany']
ASK WHERE { resource:Willi_Eichhorn property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q4008861
P840 P161
Q838948
USER
Which works of art have Vasco Creti in their star cast and have their setting located at Italy ?
AND((c(Q838948),P161,Q4008861), (c(Q838948),P840,Q38))
action filter_type
action intersection
action find_reverse
entity Q4008861
relation P161
action find_reverse
entity Q38
relation P840
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q4008861'], [{'concept': 'Q838948'}, 'P840', 'Q38']]}
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q4008861 . ?x property:P840 resource:Q38 . ?x rdf:type ontology:Q838948 }
Italy Vasco Creti
action filter_type
action intersection
action find_reverse
entity Vasco Creti
relation cast member
action find_reverse
entity Italy
relation narrative location
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Vasco Creti'], [{'concept': 'work of art'}, 'narrative location', 'Italy']]}
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Vasco_Creti . ?x property:narrative_location resource:Italy . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1118851 Q3891790 Q3930894
SYSTEM
The Old Guard, Palio, The Joker King
Q1118851 Q3891790 Q3930894
AND((c(Q838948),P161,Q4008861), (c(Q838948),P840,Q38))
action filter_type
action intersection
action find_reverse
entity Q4008861
relation P161
action find_reverse
entity Q38
relation P840
type Q838948
[ANSWERS] have Vasco Creti in their star cast and have their setting located at Italy
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q4008861'], [{'concept': 'Q838948'}, 'P840', 'Q38']]}
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q4008861 . ?x property:P840 resource:Q38 . ?x rdf:type ontology:Q838948 }
The Old Guard Palio The Joker King
The Old Guard, Palio and The Joker King have Vasco Creti in their star cast and have their setting located at Italy
The Old Guard Palio The Joker King
action filter_type
action intersection
action find_reverse
entity Vasco Creti
relation cast member
action find_reverse
entity Italy
relation narrative location
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Vasco Creti'], [{'concept': 'work of art'}, 'narrative location', 'Italy']]}
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Vasco_Creti . ?x property:narrative_location resource:Italy . ?x rdf:type ontology:work_of_art }
[]