Simple Question (Direct)
Simple Question
Q732518
P272
Q1269299
USER
Which business organization was the producer of Herbie Goes Bananas ?
(Q732518,P272,c(Q1269299))
action filter_type
action find
entity Q732518
relation P272
type Q1269299
['Q732518', 'P272', {'concept': 'Q1269299'}]
SELECT DISTINCT ?c WHERE { resource:Q732518 property:P272 ?c . ?c rdf:type ontology:Q1269299 }
Herbie Goes Bananas
action filter_type
action find
entity Herbie Goes Bananas
relation production company
type type of business entity
['Herbie Goes Bananas', 'production company', {'concept': 'type of business entity'}]
SELECT DISTINCT ?c WHERE { resource:Herbie_Goes_Bananas property:production_company ?c . ?c rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q7414
SYSTEM
The Walt Disney Company
Q7414
(Q732518,P272,c(Q1269299))
action filter_type
action find
entity Q732518
relation P272
type Q1269299
[ANSWER] was the producer of Herbie Goes Bananas
['Q732518', 'P272', {'concept': 'Q1269299'}]
SELECT DISTINCT ?c WHERE { resource:Q732518 property:P272 ?c . ?c rdf:type ontology:Q1269299 }
The Walt Disney Company
The Walt Disney Company was the producer of Herbie Goes Bananas
The Walt Disney Company
action filter_type
action find
entity Herbie Goes Bananas
relation production company
type type of business entity
['Herbie Goes Bananas', 'production company', {'concept': 'type of business entity'}]
SELECT DISTINCT ?c WHERE { resource:Herbie_Goes_Bananas property:production_company ?c . ?c rdf:type ontology:type_of_business_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q732518
P915
Q15617994
USER
Which location was Herbie Goes Bananas filmed ?
(Q732518,P915,c(Q15617994))
action filter_type
action find
entity Q732518
relation P915
type Q15617994
['Q732518', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q732518 property:P915 ?d }
Herbie Goes Bananas
action filter_type
action find
entity Herbie Goes Bananas
relation filming location
type designation for an administrative territorial entity
['Herbie Goes Bananas', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Herbie_Goes_Bananas property:filming_location ?d }
[]
designation for an administrative territorial entity
Q804
SYSTEM
Panama
Q804
(Q732518,P915,c(Q15617994))
action filter_type
action find
entity Q732518
relation P915
type Q15617994
Herbie Goes Bananas was filmed in [ANSWER]
['Q732518', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q732518 property:P915 ?d }
Panama
Herbie Goes Bananas was filmed in Panama
Panama
action filter_type
action find
entity Herbie Goes Bananas
relation filming location
type designation for an administrative territorial entity
['Herbie Goes Bananas', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Herbie_Goes_Bananas property:filming_location ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q732518
P750
Q43229
USER
Who distributes Herbie Goes Bananas ?
(Q732518,P750,c(Q43229))
action filter_type
action find
entity Q732518
relation P750
type Q43229
['Q732518', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q43229 . resource:Q732518 property:P750 ?k }
Herbie Goes Bananas
action filter_type
action find
entity Herbie Goes Bananas
relation distributor
type organization
['Herbie Goes Bananas', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:organization . resource:Herbie_Goes_Bananas property:distributor ?k }
[]
organization
Q1323594
SYSTEM
Walt Disney Studios Motion Pictures
Q1323594
(Q732518,P750,c(Q43229))
action filter_type
action find
entity Q732518
relation P750
type Q43229
[ANSWER] distributes Herbie Goes Bananas
['Q732518', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q43229 . resource:Q732518 property:P750 ?k }
Walt Disney Studios Motion Pictures
Walt Disney Studios Motion Pictures distributes Herbie Goes Bananas
Walt Disney Studios Motion Pictures
action filter_type
action find
entity Herbie Goes Bananas
relation distributor
type organization
['Herbie Goes Bananas', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:organization . resource:Herbie_Goes_Bananas property:distributor ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q732518
P462
Q1075
USER
Which color is that work of art associated with ?
(Q1323594,P462,c(Q1075))
action filter_type
action find
entity Q732518
relation P462
type Q1075
['Q1323594', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1075 . resource:Q732518 property:P462 ?y }
Herbie Goes Bananas
action filter_type
action find
entity Herbie Goes Bananas
relation color
type color
['Walt Disney Studios Motion Pictures', 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:color . resource:Herbie_Goes_Bananas property:color ?y }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q1323594,P462,c(Q1075))
action filter_type
action find
entity Q732518
relation P462
type Q1075
That work of art is associated with [ANSWER]
['Q1323594', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1075 . resource:Q732518 property:P462 ?y }
color
That work of art is associated with color
color
action filter_type
action find
entity Herbie Goes Bananas
relation color
type color
['Walt Disney Studios Motion Pictures', 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:color . resource:Herbie_Goes_Bananas property:color ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q22006653 Q1218403
P462
Q838948
USER
Does The Glory Guys have that one as its color ?
(Q1218403,P462,Q22006653)
action is_in
entity Q22006653
action find
entity Q1218403
relation P462
['Q1218403', 'P462', 'Q22006653']
ASK WHERE { resource:Q1218403 property:P462 resource:Q22006653 }
color The Glory Guys
action is_in
entity color
action find
entity The Glory Guys
relation color
['The Glory Guys', 'color', 'color']
ASK WHERE { resource:The_Glory_Guys property:color resource:color }
[]
work of art
SYSTEM
YES
(Q1218403,P462,Q22006653)
action is_in
entity Q22006653
action find
entity Q1218403
relation P462
[ANSWER]
['Q1218403', 'P462', 'Q22006653']
ASK WHERE { resource:Q1218403 property:P462 resource:Q22006653 }
Yes
action is_in
entity color
action find
entity The Glory Guys
relation color
['The Glory Guys', 'color', 'color']
ASK WHERE { resource:The_Glory_Guys property:color resource:color }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7414 Q39561 Q3344742
P740
Q56061
USER
Did The Walt Disney Company originate at Burbank and Mount Edgecombe ?
(Q7414,P740,Q39561) (Q7414,P740,Q3344742)
action is_in
entity Q7414
action intersection
action find_reverse
entity Q39561
relation P740
action find_reverse
entity Q3344742
relation P740
['Q7414', 'P740', 'Q39561'] ['Q7414', 'P740', 'Q3344742']
ASK WHERE { resource:Q7414 property:P740 resource:Q39561 . resource:Q7414 property:P740 resource:Q3344742 }
The Walt Disney Company Burbank Mount Edgecombe
action is_in
entity The Walt Disney Company
action intersection
action find_reverse
entity Burbank
relation location of formation
action find_reverse
entity Mount Edgecombe
relation location of formation
['The Walt Disney Company', 'location of formation', 'Burbank'] ['The Walt Disney Company', 'location of formation', 'Mount Edgecombe']
ASK WHERE { resource:The_Walt_Disney_Company property:location_of_formation resource:Burbank . resource:The_Walt_Disney_Company property:location_of_formation resource:Mount_Edgecombe }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q7414,P740,Q39561) (Q7414,P740,Q3344742)
action is_in
entity Q7414
action intersection
action find_reverse
entity Q39561
relation P740
action find_reverse
entity Q3344742
relation P740
[ANSWER]
['Q7414', 'P740', 'Q39561'] ['Q7414', 'P740', 'Q3344742']
ASK WHERE { resource:Q7414 property:P740 resource:Q39561 . resource:Q7414 property:P740 resource:Q3344742 }
YES and NO respectively
action is_in
entity The Walt Disney Company
action intersection
action find_reverse
entity Burbank
relation location of formation
action find_reverse
entity Mount Edgecombe
relation location of formation
['The Walt Disney Company', 'location of formation', 'Burbank'] ['The Walt Disney Company', 'location of formation', 'Mount Edgecombe']
ASK WHERE { resource:The_Walt_Disney_Company property:location_of_formation resource:Burbank . resource:The_Walt_Disney_Company property:location_of_formation resource:Mount_Edgecombe }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1323594 Q5815390
P740
Q56061
USER
Did Walt Disney Studios Motion Pictures orginate Dizabad ?
(Q1323594,P740,Q5815390)
action is_in
entity Q5815390
action find
entity Q1323594
relation P740
['Q1323594', 'P740', 'Q5815390']
ASK WHERE { resource:Q1323594 property:P740 resource:Q5815390 }
Walt Disney Studios Motion Pictures Dizabad
action is_in
entity Dizabad
action find
entity Walt Disney Studios Motion Pictures
relation location of formation
['Walt Disney Studios Motion Pictures', 'location of formation', 'Dizabad']
ASK WHERE { resource:Walt_Disney_Studios_Motion_Pictures property:location_of_formation resource:Dizabad }
[]
administrative territorial entity
SYSTEM
NO
(Q1323594,P740,Q5815390)
action is_in
entity Q5815390
action find
entity Q1323594
relation P740
[ANSWER]
['Q1323594', 'P740', 'Q5815390']
ASK WHERE { resource:Q1323594 property:P740 resource:Q5815390 }
No
action is_in
entity Dizabad
action find
entity Walt Disney Studios Motion Pictures
relation location of formation
['Walt Disney Studios Motion Pictures', 'location of formation', 'Dizabad']
ASK WHERE { resource:Walt_Disney_Studios_Motion_Pictures property:location_of_formation resource:Dizabad }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24040004
P180
Q1075 Q3305213
USER
How many paintings depict more number of colors than The Salone of the Palazzo Barbaro ?
(c(Q3305213),P180,c(Q1075))
action count
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q1075
action count
action filter_type
action find
entity Q24040004
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?u ) WHERE { ?l property:P180 ?q . ?l rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q1075 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q24040004 property:P180 ?w . ?w rdf:type ontology:Q3305213 } } . FILTER ( ?u > ?z ) }
The Salone of the Palazzo Barbaro
action count
action greater
action find_tuple_counts
relation depicts
type painting
type color
action count
action filter_type
action find
entity The Salone of the Palazzo Barbaro
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?u ) WHERE { ?l property:depicts ?q . ?l rdf:type ontology:painting . ?q rdf:type ontology:color } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:The_Salone_of_the_Palazzo_Barbaro property:depicts ?w . ?w rdf:type ontology:painting } } . FILTER ( ?u > ?z ) }
[]
color painting
SYSTEM
29
Q19962483 Q19968488 Q17334682 Q20064897 Q25541307 Q20058526 Q3898510 Q19962651 Q19962653 Q17315852 Q2574202 Q19887156 Q20017510 Q20064638 Q20099498 Q10638843 Q20064546 Q17189257 Q16845412 Q18720074 Q25541633 Q10543635 Q25541602 Q17334699 Q469722 Q326503 Q17627562 Q19962648 Q18599215
(c(Q3305213),P180,c(Q1075))
action count
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q1075
action count
action filter_type
action find
entity Q24040004
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?u ) WHERE { ?l property:P180 ?q . ?l rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q1075 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q24040004 property:P180 ?w . ?w rdf:type ontology:Q3305213 } } . FILTER ( ?u > ?z ) }
Lady with fur cape The Embrace Two Girls Blowing Bubbles Lisbeth fishing La Vue Johann Anton Sarg and three friends playing whist by candlelight. The Fall and Expulsion from Paradise The misses Salomon Girl playing mandolin Pygmalion Tennis Girl Tuvstarr is still sitting there wistfully looking into the water Holy Communion of Mary Magdalene A studio idyll Girl in White Dress The Princess and the Trolls Portrait of Roseta Mauri Brita at the Piano Boy Cutting Grass with a Sickle The Tub Le Goût Karin Peeling Apples Le Toucher A Girl with Flowers on the Grass Severan Tondo The Sleepers Woman's head with ram horns Banker Ludvig Arosenius Untitled (Woman Walking)
29
action count
action greater
action find_tuple_counts
relation depicts
type painting
type color
action count
action filter_type
action find
entity The Salone of the Palazzo Barbaro
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?u ) WHERE { ?l property:depicts ?q . ?l rdf:type ontology:painting . ?q rdf:type ontology:color } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:The_Salone_of_the_Palazzo_Barbaro property:depicts ?w . ?w rdf:type ontology:painting } } . FILTER ( ?u > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q18587435
P180
Q1075 Q3305213
USER
And how about Selfportrait?
(c(Q3305213),P180,c(Q1075))
action count
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q1075
action count
action filter_type
action find
entity Q18587435
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?r ) WHERE { ?p property:P180 ?u . ?u rdf:type ontology:Q1075 . ?p rdf:type ontology:Q3305213 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q18587435 property:P180 ?w . ?w rdf:type ontology:Q3305213 } } . FILTER ( ?r > ?b ) }
Selfportrait
action count
action greater
action find_tuple_counts
relation depicts
type painting
type color
action count
action filter_type
action find
entity Selfportrait
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?r ) WHERE { ?p property:depicts ?u . ?u rdf:type ontology:color . ?p rdf:type ontology:painting } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Selfportrait property:depicts ?w . ?w rdf:type ontology:painting } } . FILTER ( ?r > ?b ) }
[]
color painting
SYSTEM
29
Q19962483 Q19968488 Q17334682 Q20064897 Q25541307 Q20058526 Q3898510 Q19962651 Q19962653 Q17315852 Q2574202 Q19887156 Q20017510 Q20064638 Q20099498 Q10638843 Q20064546 Q17189257 Q16845412 Q18720074 Q25541633 Q10543635 Q25541602 Q17334699 Q469722 Q326503 Q17627562 Q19962648 Q18599215
(c(Q3305213),P180,c(Q1075))
action count
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q1075
action count
action filter_type
action find
entity Q18587435
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?r ) WHERE { ?p property:P180 ?u . ?u rdf:type ontology:Q1075 . ?p rdf:type ontology:Q3305213 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q18587435 property:P180 ?w . ?w rdf:type ontology:Q3305213 } } . FILTER ( ?r > ?b ) }
Lady with fur cape The Embrace Two Girls Blowing Bubbles Lisbeth fishing La Vue Johann Anton Sarg and three friends playing whist by candlelight. The Fall and Expulsion from Paradise The misses Salomon Girl playing mandolin Pygmalion Tennis Girl Tuvstarr is still sitting there wistfully looking into the water Holy Communion of Mary Magdalene A studio idyll Girl in White Dress The Princess and the Trolls Portrait of Roseta Mauri Brita at the Piano Boy Cutting Grass with a Sickle The Tub Le Goût Karin Peeling Apples Le Toucher A Girl with Flowers on the Grass Severan Tondo The Sleepers Woman's head with ram horns Banker Ludvig Arosenius Untitled (Woman Walking)
29
action count
action greater
action find_tuple_counts
relation depicts
type painting
type color
action count
action filter_type
action find
entity Selfportrait
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?r ) WHERE { ?p property:depicts ?u . ?u rdf:type ontology:color . ?p rdf:type ontology:painting } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Selfportrait property:depicts ?w . ?w rdf:type ontology:painting } } . FILTER ( ?r > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q236
P138
Q2472587 Q337567 Q15617994
USER
How many administrative territories have around the same number of peoples or still waterss as their toponym as Montenegro ?
(c(Q15617994),P138,c(Q2472587)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q236
relation P138
type Q2472587
type Q337567
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?k ) WHERE { { ?q property:P138 ?n . ?q rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q337567 } UNION { ?q property:P138 ?n . ?q rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2472587 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q236 property:P138 ?u . { { ?u rdf:type ontology:Q2472587 } UNION { ?u rdf:type ontology:Q337567 } } } } . FILTER ( ?k = ?h ) }
Montenegro
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Montenegro
relation named after
type people
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?k ) WHERE { { ?q property:named_after ?n . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:still_waters } UNION { ?q property:named_after ?n . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:people } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Montenegro property:named_after ?u . { { ?u rdf:type ontology:people } UNION { ?u rdf:type ontology:still_waters } } } } . FILTER ( ?k = ?h ) }
[]
people still waters designation for an administrative territorial entity
SYSTEM
305
Q701 Q158876 Q968630 Q705 Q3216 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q710 Q1979 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q221 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q1366860 Q12788 Q12584 Q12580 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q2472587)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q236
relation P138
type Q2472587
type Q337567
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?k ) WHERE { { ?q property:P138 ?n . ?q rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q337567 } UNION { ?q property:P138 ?n . ?q rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2472587 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q236 property:P138 ?u . { { ?u rdf:type ontology:Q2472587 } UNION { ?u rdf:type ontology:Q337567 } } } } . FILTER ( ?k = ?h ) }
North Holland Reinickendorf Taro Zeeland Aveyron Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Kiribati Prince Edward Island Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Republic of Macedonia Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Escaut Val-de-Marne Maine-et-Loire Lozère Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
305
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Montenegro
relation named after
type people
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?k ) WHERE { { ?q property:named_after ?n . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:still_waters } UNION { ?q property:named_after ?n . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:people } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Montenegro property:named_after ?u . { { ?u rdf:type ontology:people } UNION { ?u rdf:type ontology:still_waters } } } } . FILTER ( ?k = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q558796
P138
Q2472587 Q337567 Q15617994
USER
And what about Obere Warnow?
(c(Q15617994),P138,c(Q2472587)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q558796
relation P138
type Q2472587
type Q337567
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?h WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2472587 ) ( ontology:Q337567 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { { ?i rdf:type ontology:Q2472587 } UNION { ?i rdf:type ontology:Q337567 } } . resource:Q558796 property:P138 ?i } } . FILTER ( ?a = ?x ) }
Obere Warnow
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Obere Warnow
relation named after
type people
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?h WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:people ) ( ontology:still_waters ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { { ?i rdf:type ontology:people } UNION { ?i rdf:type ontology:still_waters } } . resource:Obere_Warnow property:named_after ?i } } . FILTER ( ?a = ?x ) }
[]
people still waters designation for an administrative territorial entity
SYSTEM
305
Q701 Q158876 Q968630 Q705 Q3216 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q710 Q1979 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q221 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q1366860 Q12788 Q12584 Q12580 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q2472587)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action find_tuple_counts
relation P138
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q558796
relation P138
type Q2472587
type Q337567
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?h WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2472587 ) ( ontology:Q337567 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { { ?i rdf:type ontology:Q2472587 } UNION { ?i rdf:type ontology:Q337567 } } . resource:Q558796 property:P138 ?i } } . FILTER ( ?a = ?x ) }
North Holland Reinickendorf Taro Zeeland Aveyron Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Kiribati Prince Edward Island Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Republic of Macedonia Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Escaut Val-de-Marne Maine-et-Loire Lozère Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
305
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Obere Warnow
relation named after
type people
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) ?h WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:people ) ( ontology:still_waters ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { { ?i rdf:type ontology:people } UNION { ?i rdf:type ontology:still_waters } } . resource:Obere_Warnow property:named_after ?i } } . FILTER ( ?a = ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7674093
P161
Q502895
USER
Which people were casted in Tactical Unit – Comrades in Arms ?
(Q7674093,P161,c(Q502895))
action filter_type
action find
entity Q7674093
relation P161
type Q502895
['Q7674093', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7674093 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Tactical Unit – Comrades in Arms
action filter_type
action find
entity Tactical Unit – Comrades in Arms
relation cast member
type common name
['Tactical Unit – Comrades in Arms', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Tactical_Unit_–_Comrades_in_Arms property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1372732 Q667260 Q701940
SYSTEM
Maggie Shiu, Simon Yam, Lam Suet
Q1372732 Q667260 Q701940
(Q7674093,P161,c(Q502895))
action filter_type
action find
entity Q7674093
relation P161
type Q502895
[ANSWERS] were casted in Tactical Unit – Comrades in Arms
['Q7674093', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7674093 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Maggie Shiu Simon Yam Lam Suet
Maggie Shiu, Simon Yam and Lam Suet were casted in Tactical Unit – Comrades in Arms
Maggie Shiu Simon Yam Lam Suet
action filter_type
action find
entity Tactical Unit – Comrades in Arms
relation cast member
type common name
['Tactical Unit – Comrades in Arms', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Tactical_Unit_–_Comrades_in_Arms property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1372732 Q667260 Q701940
P161
Q838948
USER
Which works of art have those people in their star cast ?
(c(Q838948),P161,Q1372732) (c(Q838948),P161,Q667260) (c(Q838948),P161,Q701940)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1372732'] [{'concept': 'Q838948'}, 'P161', 'Q667260'] [{'concept': 'Q838948'}, 'P161', 'Q701940']
SELECT DISTINCT ?x WHERE { VALUES ( ?a ) { ( resource:Q1372732 ) ( resource:Q667260 ) ( resource:Q701940 ) } . ?x property:P161 ?a . ?x rdf:type ontology:Q838948 }
Maggie Shiu Simon Yam Lam Suet
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Maggie Shiu'] [{'concept': 'work of art'}, 'cast member', 'Simon Yam'] [{'concept': 'work of art'}, 'cast member', 'Lam Suet']
SELECT DISTINCT ?x WHERE { VALUES ( ?a ) { ( resource:Maggie_Shiu ) ( resource:Simon_Yam ) ( resource:Lam_Suet ) } . ?x property:cast_member ?a . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1125253 Q1004410 Q492485
SYSTEM
Lara Croft Tomb Raider: The Cradle of Life, Bullet in the Head, The Thieves
Q7674093 Q1003782 Q1451982 Q903842 Q11074062 Q1003106 Q18703031 Q4660438 Q1021970 Q863328 Q2132216 Q2131368 Q2132352 Q17000968 Q7674093 Q15040688 Q22100334 Q1003782 Q902766 Q1054369 Q1676737 Q18127469 Q845357 Q1451982 Q903842 Q1193433 Q2175950 Q3038773 Q3331207 Q2928025 Q839744 Q11079125 Q1004410 Q15410153 Q466233 Q7293918 Q2255525 Q3091279 Q7335732 Q3271510 Q56864 Q8422486 Q569081 Q3061975 Q20875882 Q1021977 Q3492712 Q16954257 Q22773869 Q1851982 Q994033 Q5420543 Q11120043 Q3285128 Q3062080 Q4730065 Q492485 Q4840176 Q1473776 Q2132216 Q3528290 Q7718657 Q3285116 Q2131160 Q2131368 Q13693967 Q281449 Q3233426 Q15651974 Q656966 Q1125253 Q5304247 Q573743 Q1092407 Q880141 Q942748 Q2554607 Q7674093 Q1003782 Q3453246 Q1451982 Q903842 Q4167744 Q1003106 Q3331207 Q839744 Q11699344 Q3337715 Q2819769 Q1152485 Q542532 Q2255525 Q4249764 Q569081 Q10937357 Q3061975 Q3314352 Q1021970 Q2132335 Q994033 Q470759 Q7775496 Q3062080 Q4503944 Q1473776 Q2132216 Q3129966 Q5267289 Q2131368 Q1087186 Q15651974 Q5238748 Q7732365 Q844366 Q3088054 Q996825 Q2822693
(c(Q838948),P161,Q1372732) (c(Q838948),P161,Q667260) (c(Q838948),P161,Q701940)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[ANSWERS] have those people in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q1372732'] [{'concept': 'Q838948'}, 'P161', 'Q667260'] [{'concept': 'Q838948'}, 'P161', 'Q701940']
SELECT DISTINCT ?x WHERE { VALUES ( ?a ) { ( resource:Q1372732 ) ( resource:Q667260 ) ( resource:Q701940 ) } . ?x property:P161 ?a . ?x rdf:type ontology:Q838948 }
Tactical Unit – Comrades in Arms Fatal Move Vengeance Breaking News Those Were the Days... Linger Port of Call A Very Short Life The Longest Nite The Shopaholics PTU Election Echoes of the Rainbow Black Ransom Tactical Unit – Comrades in Arms Midnight Beating The Tenants Downstairs Fatal Move Nightfall Night and Fog Return Engagement Live Hard Full Contact Vengeance Breaking News Ip Man 2 Run and Kill Dragon Squad My Left Eye Sees Ghosts Bullet for Hire The Mission As the Light Goes Out Bullet in the Head A Chilling Cosplay Wake of Death Raped by an Angel Election 2 Future Cops Ripples of Desire The Storm Warriors Drunken Master III Mob Sister Eye in the Sky Exiled The Tragic Fantasy - Tiger of Wanchai Naked Killer Sparrow The Constable Inside or Outside Miracles Triangle Exodus The Suspect Man of Tai Chi Expect the Unexpected All of a Sudden The Thieves Bad Blood Fulltime Killer PTU Tiger Cage The Blood Bond Man Wanted Bodyguards and Assassins Election Cross Hitman Les jeux des nuages et de la pluie The Midnight After SPL: Sha Po Lang Lara Croft Tomb Raider: The Cradle of Life Dr. Lamb Ip Man Holy Weapon Black Cat Home Sweet Home The God of Cookery Tactical Unit – Comrades in Arms Fatal Move Running Out of Time Vengeance Breaking News Running Out of Time 2 Linger My Left Eye Sees Ghosts The Mission Blind Detective Needing You... A Hero Never Dies Shinjuku Incident The Sorcerer and the White Snake Election 2 Drug War Eye in the Sky The Loan Shark Exiled Million Dollar Crocodile The Longest Nite One Nite in Mongkok Triangle Kung Fu Hustle The Woman Knight of Mirror Lake Expect the Unexpected Wu yen Fulltime Killer PTU Help! Devil Face, Angel Heart Election Don't Go Breaking My Heart The Midnight After Womb Ghosts The Era of Vampires 2 Young Love on a Diet Out of the Dark Accident
Lara Croft Tomb Raider: The Cradle of Life, Bullet in the Head and The Thieves have those people in their star cast
Lara Croft Tomb Raider: The Cradle of Life Bullet in the Head The Thieves
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Maggie Shiu'] [{'concept': 'work of art'}, 'cast member', 'Simon Yam'] [{'concept': 'work of art'}, 'cast member', 'Lam Suet']
SELECT DISTINCT ?x WHERE { VALUES ( ?a ) { ( resource:Maggie_Shiu ) ( resource:Simon_Yam ) ( resource:Lam_Suet ) } . ?x property:cast_member ?a . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q667260
P57
Q838948
USER
Which work of art did Simon Yam direct ?
(c(Q838948),P57,Q667260)
action filter_type
action find_reverse
entity Q667260
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q667260']
SELECT DISTINCT ?w WHERE { ?w property:P57 resource:Q667260 . ?w rdf:type ontology:Q838948 }
Simon Yam
action filter_type
action find_reverse
entity Simon Yam
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Simon Yam']
SELECT DISTINCT ?w WHERE { ?w property:director resource:Simon_Yam . ?w rdf:type ontology:work_of_art }
[]
work of art
Q15899725
SYSTEM
Tales from the Dark 1
Q15899725
(c(Q838948),P57,Q667260)
action filter_type
action find_reverse
entity Q667260
relation P57
type Q838948
Simon Yam directed the [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q667260']
SELECT DISTINCT ?w WHERE { ?w property:P57 resource:Q667260 . ?w rdf:type ontology:Q838948 }
Tales from the Dark 1
Simon Yam directed the Tales from the Dark 1
Tales from the Dark 1
action filter_type
action find_reverse
entity Simon Yam
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Simon Yam']
SELECT DISTINCT ?w WHERE { ?w property:director resource:Simon_Yam . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q804
P463
Q484652
USER
What international organizations had Panama as their member ?
(Q804,P463,c(Q484652))
action filter_type
action find
entity Q804
relation P463
type Q484652
['Q804', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484652 . resource:Q804 property:P463 ?k }
Panama
action filter_type
action find
entity Panama
relation member of
type international organization
['Panama', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:international_organization . resource:Panama property:member_of ?k }
[]
international organization
Q190008 Q1065 Q1043527
SYSTEM
Central American Bank for Economic Integration, United Nations, Multilateral Investment Guarantee Agency
Q190008 Q1065 Q1043527
(Q804,P463,c(Q484652))
action filter_type
action find
entity Q804
relation P463
type Q484652
[ANSWERS] had Panama as their member
['Q804', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484652 . resource:Q804 property:P463 ?k }
Central American Bank for Economic Integration United Nations Multilateral Investment Guarantee Agency
Central American Bank for Economic Integration, United Nations and Multilateral Investment Guarantee Agency had Panama as their member
Central American Bank for Economic Integration United Nations Multilateral Investment Guarantee Agency
action filter_type
action find
entity Panama
relation member of
type international organization
['Panama', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:international_organization . resource:Panama property:member_of ?k }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q804
Q43229
USER
And which organization?
(Q804,P463,c(Q43229))
action filter_type
action find
entity Q804
relation P463
type Q43229
['Q804', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q804 property:P463 ?f }
Panama
action filter_type
action find
entity Panama
relation member of
type organization
['Panama', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Panama property:member_of ?f }
[]
organization
Q7825 Q191384 Q656801
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, International Finance Corporation
Q191384 Q899770 Q656801 Q7825 Q827525
(Q804,P463,c(Q43229))
action filter_type
action find
entity Q804
relation P463
type Q43229
[ANSWERS]
['Q804', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q804 property:P463 ?f }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Panama
relation member of
type organization
['Panama', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Panama property:member_of ?f }
[]