Simple Question (Direct)
Simple Question
Q10396841
P58
Q502895
USER
Who served as the screenwriter for The Jester and the Queen ?
(Q10396841,P58,c(Q502895))
action filter_type
action find
entity Q10396841
relation P58
type Q502895
['Q10396841', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q10396841 property:P58 ?x . ?x rdf:type ontology:Q502895 }
The Jester and the Queen
action filter_type
action find
entity The Jester and the Queen
relation screenwriter
type common name
['The Jester and the Queen', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:The_Jester_and_the_Queen property:screenwriter ?x . ?x rdf:type ontology:common_name }
[]
common name
Q235032
SYSTEM
Věra Chytilová
Q235032
(Q10396841,P58,c(Q502895))
action filter_type
action find
entity Q10396841
relation P58
type Q502895
[ANSWER] served as the screenwriter for The Jester and the Queen
['Q10396841', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q10396841 property:P58 ?x . ?x rdf:type ontology:Q502895 }
Věra Chytilová
Věra Chytilová served as the screenwriter for The Jester and the Queen
Věra Chytilová
action filter_type
action find
entity The Jester and the Queen
relation screenwriter
type common name
['The Jester and the Queen', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:The_Jester_and_the_Queen property:screenwriter ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235032
P69
Q3914
USER
Which school is that person an alumni of ?
(Q235032,P69,c(Q3914))
action filter_type
action find
entity Q235032
relation P69
type Q3914
['Q235032', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?d WHERE { resource:Q235032 property:P69 ?d . ?d rdf:type ontology:Q3914 }
Věra Chytilová
action filter_type
action find
entity Věra Chytilová
relation educated at
type school
['Věra Chytilová', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?d WHERE { resource:Věra_Chytilová property:educated_at ?d . ?d rdf:type ontology:school }
[]
school
Q414221
SYSTEM
Academy of Performing Arts
Q414221
(Q235032,P69,c(Q3914))
action filter_type
action find
entity Q235032
relation P69
type Q3914
The [ANSWER] is that person an alumni of
['Q235032', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?d WHERE { resource:Q235032 property:P69 ?d . ?d rdf:type ontology:Q3914 }
Academy of Performing Arts
The Academy of Performing Arts is that person an alumni of
Academy of Performing Arts
action filter_type
action find
entity Věra Chytilová
relation educated at
type school
['Věra Chytilová', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?d WHERE { resource:Věra_Chytilová property:educated_at ?d . ?d rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235032
P57
Q838948
USER
Which works of art did that person direct ?
(c(Q838948),P57,Q414221)
action filter_type
action find_reverse
entity Q235032
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q414221']
SELECT DISTINCT ?t WHERE { ?t property:P57 resource:Q235032 . ?t rdf:type ontology:Q838948 }
Věra Chytilová
action filter_type
action find_reverse
entity Věra Chytilová
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Academy of Performing Arts']
SELECT DISTINCT ?t WHERE { ?t property:director resource:Věra_Chytilová . ?t rdf:type ontology:work_of_art }
[]
work of art
Q910705 Q7203905 Q12027710
SYSTEM
Daisies, Pleasant Moments, Calamity
Q12027710 Q7203905 Q10396841 Q16635391 Q910705 Q4657388 Q16028796 Q1167743 Q7772457 Q5506404 Q3566244 Q16677447
(c(Q838948),P57,Q414221)
action filter_type
action find_reverse
entity Q235032
relation P57
type Q838948
That person directed for [ANSWERS]
[{'concept': 'Q838948'}, 'P57', 'Q414221']
SELECT DISTINCT ?t WHERE { ?t property:P57 resource:Q235032 . ?t rdf:type ontology:Q838948 }
Calamity Pleasant Moments The Jester and the Queen Exile from Paradise Daisies A Hoof Here, a Hoof There Pearls of the Deep The Inheritance or Fuckoffguysgoodday The Very Late Afternoon of a Faun Fruit of Paradise Wolf's Hole Something Different
That person directed for Daisies, Pleasant Moments and Calamity
Daisies Pleasant Moments Calamity
action filter_type
action find_reverse
entity Věra Chytilová
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Academy of Performing Arts']
SELECT DISTINCT ?t WHERE { ?t property:director resource:Věra_Chytilová . ?t rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3178247 Q10396841
P161
Q502895
USER
Which people were casted in The Jester and the Queen or Summer Games ?
OR((Q10396841,P161,c(Q502895)), (Q3178247,P161,c(Q502895)))
action filter_type
action union
action find
entity Q10396841
relation P161
action find
entity Q3178247
relation P161
type Q502895
{'OR': [['Q10396841', 'P161', {'concept': 'Q502895'}], ['Q3178247', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { ?r property:P161 ?u . VALUES ( ?r ) { ( resource:Q10396841 ) ( resource:Q3178247 ) } } . ?u rdf:type ontology:Q502895 }
Summer Games The Jester and the Queen
action filter_type
action union
action find
entity The Jester and the Queen
relation cast member
action find
entity Summer Games
relation cast member
type common name
{'OR': [['The Jester and the Queen', 'cast member', {'concept': 'common name'}], ['Summer Games', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { ?r property:cast_member ?u . VALUES ( ?r ) { ( resource:The_Jester_and_the_Queen ) ( resource:Summer_Games ) } } . ?u rdf:type ontology:common_name }
[]
common name
Q3610432 Q3765504 Q676173 Q535002
SYSTEM
Alessia Barela, Giorgio Gobbi, Bolek Polívka, Vlastimil Brodský
Q3610432 Q3765504 Q676173 Q535002
OR((Q10396841,P161,c(Q502895)), (Q3178247,P161,c(Q502895)))
action filter_type
action union
action find
entity Q10396841
relation P161
action find
entity Q3178247
relation P161
type Q502895
[ANSWERS] were casted in The Jester and the Queen or Summer Games
{'OR': [['Q10396841', 'P161', {'concept': 'Q502895'}], ['Q3178247', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { ?r property:P161 ?u . VALUES ( ?r ) { ( resource:Q10396841 ) ( resource:Q3178247 ) } } . ?u rdf:type ontology:Q502895 }
Alessia Barela Giorgio Gobbi Bolek Polívka Vlastimil Brodský
Alessia Barela, Giorgio Gobbi, Bolek Polívka and Vlastimil Brodský were casted in The Jester and the Queen or Summer Games
Alessia Barela Giorgio Gobbi Bolek Polívka Vlastimil Brodský
action filter_type
action union
action find
entity The Jester and the Queen
relation cast member
action find
entity Summer Games
relation cast member
type common name
{'OR': [['The Jester and the Queen', 'cast member', {'concept': 'common name'}], ['Summer Games', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { ?r property:cast_member ?u . VALUES ( ?r ) { ( resource:The_Jester_and_the_Queen ) ( resource:Summer_Games ) } } . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3610432 Q3765504 Q676173 Q535002
P161
Q838948
USER
Which works of art have those people as actor ?
(c(Q838948),P161,Q3610432) (c(Q838948),P161,Q3765504) (c(Q838948),P161,Q676173) (c(Q838948),P161,Q535002)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3610432'] [{'concept': 'Q838948'}, 'P161', 'Q3765504'] [{'concept': 'Q838948'}, 'P161', 'Q676173'] [{'concept': 'Q838948'}, 'P161', 'Q535002']
SELECT DISTINCT ?u WHERE { ?u property:P161 ?r . VALUES ( ?r ) { ( resource:Q3610432 ) ( resource:Q3765504 ) ( resource:Q676173 ) } . ?u rdf:type ontology:Q838948 }
Alessia Barela Giorgio Gobbi Bolek Polívka Vlastimil Brodský
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alessia Barela'] [{'concept': 'work of art'}, 'cast member', 'Giorgio Gobbi'] [{'concept': 'work of art'}, 'cast member', 'Bolek Polívka'] [{'concept': 'work of art'}, 'cast member', 'Vlastimil Brodský']
SELECT DISTINCT ?u WHERE { ?u property:cast_member ?r . VALUES ( ?r ) { ( resource:Alessia_Barela ) ( resource:Giorgio_Gobbi ) ( resource:Bolek_Polívka ) } . ?u rdf:type ontology:work_of_art }
[]
work of art
Q1054708 Q870768 Q4024793
SYSTEM
Il Marchese del Grillo, Brother of Sleep, Zora the Vampire
Q4024793 Q4009420 Q3178247 Q13424245 Q3897240 Q15623873 Q1054708 Q3651326 Q3791314 Q3795976 Q990697 Q3178247 Q3955532 Q4000787 Q3021958 Q3561513 Q2442813 Q13538913 Q10396841 Q5469760 Q50929 Q169296 Q12027710 Q16635391 Q1167743 Q1678575 Q853705 Q1794537 Q870768 Q7203905 Q2679556 Q5185414 Q2593049 Q10396841 Q2303863 Q738526 Q656707 Q976119 Q3492057 Q2756357 Q3564069 Q3491788 Q5375857
(c(Q838948),P161,Q3610432) (c(Q838948),P161,Q3765504) (c(Q838948),P161,Q676173) (c(Q838948),P161,Q535002)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[ANSWERS] have those people as actor
[{'concept': 'Q838948'}, 'P161', 'Q3610432'] [{'concept': 'Q838948'}, 'P161', 'Q3765504'] [{'concept': 'Q838948'}, 'P161', 'Q676173'] [{'concept': 'Q838948'}, 'P161', 'Q535002']
SELECT DISTINCT ?u WHERE { ?u property:P161 ?r . VALUES ( ?r ) { ( resource:Q3610432 ) ( resource:Q3765504 ) ( resource:Q676173 ) } . ?u rdf:type ontology:Q838948 }
Zora the Vampire Maximum Velocity Summer Games A Five Star Life Past Perfect Tutta colpa di Freud Il Marchese del Grillo Camerieri Big Deal After 20 Years Il tassinaro Alex l'ariete Summer Games No Skin Tutti al mare The Father and the Foreigner Pupendo Men in Hope Sitting on a Branch The Jester and the Queen Forgotten Light Skřítek Something like Happiness Calamity Exile from Paradise The Inheritance or Fuckoffguysgoodday Divided We Fall Bathory Cosy Dens Brother of Sleep Pleasant Moments Seclusion Near a Forest Crime in a Music Hall The Cassandra Cat The Jester and the Queen Larks on a String Closely Watched Trains Jacob the Liar Autumn Spring A Night at Karlstein All My Compatriots The Mysterious Castle in the Carpathians Capricious Summer End of a Priest
Il Marchese del Grillo, Brother of Sleep and Zora the Vampire have those people as actor
Il Marchese del Grillo Brother of Sleep Zora the Vampire
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alessia Barela'] [{'concept': 'work of art'}, 'cast member', 'Giorgio Gobbi'] [{'concept': 'work of art'}, 'cast member', 'Bolek Polívka'] [{'concept': 'work of art'}, 'cast member', 'Vlastimil Brodský']
SELECT DISTINCT ?u WHERE { ?u property:cast_member ?r . VALUES ( ?r ) { ( resource:Alessia_Barela ) ( resource:Giorgio_Gobbi ) ( resource:Bolek_Polívka ) } . ?u rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q870768
P144
Q2342494
USER
Which collectable is that work of art a fork of ?
(Q870768,P144,c(Q2342494))
action filter_type
action find
entity Q870768
relation P144
type Q2342494
['Q870768', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . resource:Q870768 property:P144 ?g }
Brother of Sleep
action filter_type
action find
entity Brother of Sleep
relation based on
type collectable
['Brother of Sleep', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . resource:Brother_of_Sleep property:based_on ?g }
[]
collectable
Clarification for simple ques.
Q870768
SYSTEM
Did you mean Brother of Sleep ?
Q1054708 Q870768 Q4024793
(Q1054708,P144,c(Q2342494)) (Q870768,P144,c(Q2342494)) (Q4024793,P144,c(Q2342494))
[ANSWER]
['Q1054708', 'P144', {'concept': 'Q2342494'}] ['Q870768', 'P144', {'concept': 'Q2342494'}] ['Q4024793', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . resource:Q870768 property:P144 ?g }
Il Marchese del Grillo Brother of Sleep Zora the Vampire
Did you mean Brother of Sleep ?
Brother of Sleep
['Il Marchese del Grillo', 'based on', {'concept': 'collectable'}] ['Brother of Sleep', 'based on', {'concept': 'collectable'}] ['Zora the Vampire', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . resource:Brother_of_Sleep property:based_on ?g }
[]
Simple Question (Coreferenced)
USER
Yes
(Q870768,P144,c(Q2342494))
['Q870768', 'P144', {'concept': 'Q2342494'}]
['Brother of Sleep', 'based on', {'concept': 'collectable'}]
[]
Q1538580
SYSTEM
Brother of Sleep
Q1538580
(Q870768,P144,c(Q2342494))
action filter_type
action find
entity Q870768
relation P144
type Q2342494
[ANSWER] is that work of art a fork of
['Q870768', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . resource:Q870768 property:P144 ?g }
Brother of Sleep
Brother of Sleep is that work of art a fork of
Brother of Sleep
action filter_type
action find
entity Brother of Sleep
relation based on
type collectable
['Brother of Sleep', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . resource:Brother_of_Sleep property:based_on ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3610432
P21
Q290
USER
What is the sex of Alessia Barela ?
(Q3610432,P21,c(Q290))
action filter_type
action find
entity Q3610432
relation P21
type Q290
['Q3610432', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3610432 property:P21 ?g . ?g rdf:type ontology:Q290 }
Alessia Barela
action filter_type
action find
entity Alessia Barela
relation gender
type sex
['Alessia Barela', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Alessia_Barela property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3610432,P21,c(Q290))
action filter_type
action find
entity Q3610432
relation P21
type Q290
The sex of Alessia Barela is the [ANSWER]
['Q3610432', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3610432 property:P21 ?g . ?g rdf:type ontology:Q290 }
female
The sex of Alessia Barela is the female
female
action filter_type
action find
entity Alessia Barela
relation gender
type sex
['Alessia Barela', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Alessia_Barela property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3610432
P106
Q28640
USER
What does that person do for a living ?
(Q6581072,P106,c(Q28640))
action filter_type
action find
entity Q3610432
relation P106
type Q28640
['Q6581072', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q3610432 property:P106 ?t . ?t rdf:type ontology:Q28640 }
Alessia Barela
action filter_type
action find
entity Alessia Barela
relation occupation
type profession
['female', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Alessia_Barela property:occupation ?t . ?t rdf:type ontology:profession }
[]
profession
Q10800557
SYSTEM
film actor
Q10800557
(Q6581072,P106,c(Q28640))
action filter_type
action find
entity Q3610432
relation P106
type Q28640
That person does not [ANSWER] for a living
['Q6581072', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q3610432 property:P106 ?t . ?t rdf:type ontology:Q28640 }
film actor
That person does not film actor for a living
film actor
action filter_type
action find
entity Alessia Barela
relation occupation
type profession
['female', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Alessia_Barela property:occupation ?t . ?t rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q43229
USER
How many organizations contains atleast 2 professions as their subordinate ?
(c(Q43229),P355,c(Q28640))
action count
action atleast
action find_tuple_counts
relation P355
type Q43229
type Q28640
value 2
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?g ) WHERE { ?a property:P355 ?z . ?a rdf:type ontology:Q43229 . ?z rdf:type ontology:Q28640 } GROUP BY ?a } . FILTER ( ?g >= 2 ) }
action count
action atleast
action find_tuple_counts
relation subsidiary
type organization
type profession
value 2
[{'concept': 'organization'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?g ) WHERE { ?a property:subsidiary ?z . ?a rdf:type ontology:organization . ?z rdf:type ontology:profession } GROUP BY ?a } . FILTER ( ?g >= 2 ) }
[]
profession organization
SYSTEM
2
Q41187 Q930354
(c(Q43229),P355,c(Q28640))
action count
action atleast
action find_tuple_counts
relation P355
type Q43229
type Q28640
value 2
[ANSWER]
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?g ) WHERE { ?a property:P355 ?z . ?a rdf:type ontology:Q43229 . ?z rdf:type ontology:Q28640 } GROUP BY ?a } . FILTER ( ?g >= 2 ) }
Sony GT Interactive Software
2
action count
action atleast
action find_tuple_counts
relation subsidiary
type organization
type profession
value 2
[{'concept': 'organization'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?g ) WHERE { ?a property:subsidiary ?z . ?a rdf:type ontology:organization . ?z rdf:type ontology:profession } GROUP BY ?a } . FILTER ( ?g >= 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q739416
P355
Q28640 Q1269299
USER
Which business organizations contains more number of professions as their subordinate than BAE Systems ?
(c(Q1269299),P355,c(Q28640))
action greater
action find_tuple_counts
relation P355
type Q1269299
type Q28640
action count
action filter_type
action find
entity Q739416
relation P355
type Q1269299
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?b ) WHERE { ?g property:P355 ?t . ?g rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q28640 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q739416 property:P355 ?d . ?d rdf:type ontology:Q1269299 } } . FILTER ( ?b > ?q ) }
BAE Systems
action greater
action find_tuple_counts
relation subsidiary
type type of business entity
type profession
action count
action filter_type
action find
entity BAE Systems
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?b ) WHERE { ?g property:subsidiary ?t . ?g rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:profession } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:BAE_Systems property:subsidiary ?d . ?d rdf:type ontology:type_of_business_entity } } . FILTER ( ?b > ?q ) }
[]
profession type of business entity
Q2283 Q1576915 Q753684
SYSTEM
Microsoft, Koei Tecmo Holdings, Atari, SA
Q2283 Q753684 Q7433758 Q1576915 Q207784
(c(Q1269299),P355,c(Q28640))
action greater
action find_tuple_counts
relation P355
type Q1269299
type Q28640
action count
action filter_type
action find
entity Q739416
relation P355
type Q1269299
[ANSWERS]
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?b ) WHERE { ?g property:P355 ?t . ?g rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q28640 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q739416 property:P355 ?d . ?d rdf:type ontology:Q1269299 } } . FILTER ( ?b > ?q ) }
Microsoft Atari, SA Scientific Games Corporation Koei Tecmo Holdings Square Enix
Microsoft, Koei Tecmo Holdings and Atari, SA contain more number of professions as their subordinate than BAE Systems
Microsoft Koei Tecmo Holdings Atari, SA
action greater
action find_tuple_counts
relation subsidiary
type type of business entity
type profession
action count
action filter_type
action find
entity BAE Systems
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?b ) WHERE { ?g property:subsidiary ?t . ?g rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:profession } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:BAE_Systems property:subsidiary ?d . ?d rdf:type ontology:type_of_business_entity } } . FILTER ( ?b > ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3281147 Q676173
P27 P495
Q15617994
USER
Which administrative territories are Bolek Polívka a civilian of or did Passe-passe originate ?
OR((Q676173,P27,c(Q15617994)), (Q3281147,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q676173
relation P27
action find
entity Q3281147
relation P495
type Q15617994
{'OR': [['Q676173', 'P27', {'concept': 'Q15617994'}], ['Q3281147', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q676173 property:P27 ?v } UNION { resource:Q3281147 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Passe-passe Bolek Polívka
action filter_type
action union
action find
entity Bolek Polívka
relation country of citizenship
action find
entity Passe-passe
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bolek Polívka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Passe-passe', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bolek_Polívka property:country_of_citizenship ?v } UNION { resource:Passe-passe property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q213 Q884
SYSTEM
France, Czech Republic, South Korea
Q142 Q213 Q884
OR((Q676173,P27,c(Q15617994)), (Q3281147,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q676173
relation P27
action find
entity Q3281147
relation P495
type Q15617994
[ANSWERS] are Bolek Polívka a civilian of or did Passe-passe originate
{'OR': [['Q676173', 'P27', {'concept': 'Q15617994'}], ['Q3281147', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q676173 property:P27 ?v } UNION { resource:Q3281147 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
France Czech Republic South Korea
France, Czech Republic and South Korea are Bolek Polívka a civilian of or did Passe-passe originate
France Czech Republic South Korea
action filter_type
action union
action find
entity Bolek Polívka
relation country of citizenship
action find
entity Passe-passe
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bolek Polívka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Passe-passe', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bolek_Polívka property:country_of_citizenship ?v } UNION { resource:Passe-passe property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]