Simple Question (Direct)
Simple Question
Q21403381
P27
Q7275
USER
Which state is Paul Eichholtz an inhabitant of ?
(Q21403381,P27,c(Q7275))
action filter_type
action find
entity Q21403381
relation P27
type Q7275
['Q21403381', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7275 . resource:Q21403381 property:P27 ?g }
Paul Eichholtz
action filter_type
action find
entity Paul Eichholtz
relation country of citizenship
type state
['Paul Eichholtz', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:state . resource:Paul_Eichholtz property:country_of_citizenship ?g }
[]
state
Q38872
SYSTEM
Prussia
Q38872
(Q21403381,P27,c(Q7275))
action filter_type
action find
entity Q21403381
relation P27
type Q7275
Which state is Paul Eichholtz an inhabitant of
['Q21403381', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7275 . resource:Q21403381 property:P27 ?g }
Prussia
Which state is Paul Eichholtz an inhabitant of
Prussia
action filter_type
action find
entity Paul Eichholtz
relation country of citizenship
type state
['Paul Eichholtz', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:state . resource:Paul_Eichholtz property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38872
P140
Q874405
USER
Which social group does that state relate to ?
(Q38872,P140,c(Q874405))
action filter_type
action find
entity Q38872
relation P140
type Q874405
['Q38872', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q38872 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Prussia
action filter_type
action find
entity Prussia
relation religion
type social group
['Prussia', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Prussia property:religion ?k . ?k rdf:type ontology:social_group }
[]
social group
Q23540
SYSTEM
Protestantism
Q23540
(Q38872,P140,c(Q874405))
action filter_type
action find
entity Q38872
relation P140
type Q874405
That state relates to [ANSWER]
['Q38872', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q38872 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Protestantism
That state relates to Protestantism
Protestantism
action filter_type
action find
entity Prussia
relation religion
type social group
['Prussia', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Prussia property:religion ?k . ?k rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P355
Q874405 Q4830453 Q874405
USER
Which social groups are subsidiaries of min number of business enterprises and social groups ?
(c(Q4830453)|c(Q874405),P355,c(Q874405))
action argmin
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
[[{'concept': 'Q4830453'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q4830453 ) } . ?s rdf:type ?d } GROUP BY ?c } } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?e ) WHERE { ?b rdf:type ?o . VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q4830453 ) } } GROUP BY ?m } }
action argmin
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
[[{'concept': 'business enterprise'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:social_group ) ( ontology:business_enterprise ) } . ?s rdf:type ?d } GROUP BY ?c } } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?e ) WHERE { ?b rdf:type ?o . VALUES ( ?o ) { ( ontology:social_group ) ( ontology:business_enterprise ) } } GROUP BY ?m } }
[]
social group business enterprise social group
Q7660181 Q1377855 Q740308
SYSTEM
Sydney Trains, Google.org, UNICEF
Q2522363 Q751152 Q928183 Q1114200 Q11788418 Q4929965 Q13359824 Q7660181 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q781027 Q13218607 Q2543504 Q3913196 Q3435621 Q5892736 Q3274087 Q13416804 Q4698480 Q1377855 Q161718 Q477386 Q5153705 Q408396 Q11722823 Q14334150 Q3954348 Q1411739 Q10955989 Q740308 Q549157
(c(Q4830453)|c(Q874405),P355,c(Q874405))
action argmin
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
[ANSWERS] are subsidiaries of min number of business enterprises and social groups
[[{'concept': 'Q4830453'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q4830453 ) } . ?s rdf:type ?d } GROUP BY ?c } } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?e ) WHERE { ?b rdf:type ?o . VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q4830453 ) } } GROUP BY ?m } }
Victor Gollancz Ltd Astrium Services SABCA Picnik NWR Karbonia Blue Triangle Immobilière Dassault Sydney Trains Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Audi Hungaria Motor Kft. RBS Securities Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan United Front Work Department Warner Bros. Animation Airbus Operations S.A.S. Google.org United Nations Development Programme EADS Astrium Space Transportation Commonwealth Business Council Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Commonwealth Secretariat Time Inc. Media Asia Film Distribution Company UNICEF Airlines Tonga
Sydney Trains, Google.org and UNICEF are subsidiaries of min number of business enterprises and social groups
Sydney Trains Google.org UNICEF
action argmin
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
[[{'concept': 'business enterprise'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?d ) { ( ontology:social_group ) ( ontology:business_enterprise ) } . ?s rdf:type ?d } GROUP BY ?c } } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?e ) WHERE { ?b rdf:type ?o . VALUES ( ?o ) { ( ontology:social_group ) ( ontology:business_enterprise ) } } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q302
P138
Q15619164 Q874405
USER
How many abstract beings are the etymology of less number of social groups than Jesus Christ ?
(c(Q874405),P138,c(Q15619164))
action count
action less
action find_reverse_tuple_counts
relation P138
type Q15619164
type Q874405
action count
action filter_type
action find_reverse
entity Q302
relation P138
type Q874405
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P138 ?f . ?f rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q874405 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:Q874405 . ?l property:P138 resource:Q302 } } . FILTER ( ?u < ?y ) }
Jesus Christ
action count
action less
action find_reverse_tuple_counts
relation named after
type abstract being
type social group
action count
action filter_type
action find_reverse
entity Jesus Christ
relation named after
type social group
[{'concept': 'social group'}, 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:named_after ?f . ?f rdf:type ontology:abstract_being . ?x rdf:type ontology:social_group } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:social_group . ?l property:named_after resource:Jesus_Christ } } . FILTER ( ?u < ?y ) }
[]
abstract being social group
SYSTEM
206
Q179209 Q922493 Q3815215 Q373799 Q233674 Q417407 Q1064059 Q2497579 Q2305090 Q2194001 Q917687 Q1790773 Q919407 Q206561 Q1059919 Q939549 Q305110 Q152262 Q4692047 Q2269799 Q11378 Q5405822 Q900649 Q213771 Q586362 Q1417853 Q1987269 Q978952 Q1102307 Q724896 Q581656 Q3057482 Q1976939 Q318682 Q1423283 Q1133063 Q11815621 Q487290 Q2668352 Q632908 Q591914 Q604047 Q5011 Q145664 Q3555081 Q188236 Q83975 Q1252904 Q2587090 Q12292447 Q463956 Q201261 Q42891 Q851426 Q2142 Q4694880 Q1944143 Q336237 Q14515330 Q1796078 Q945817 Q1150 Q1514359 Q587825 Q21155424 Q4654 Q20743776 Q988925 Q1129515 Q6502703 Q746321 Q2475517 Q1162356 Q5951423 Q756797 Q1019353 Q16341 Q907685 Q942906 Q133343 Q1257834 Q1442062 Q1226010 Q47553 Q658028 Q3879383 Q178776 Q170569 Q1423458 Q3348590 Q126916 Q11298741 Q190123 Q22983 Q164846 Q4649 Q46491 Q671534 Q1579 Q47652 Q1028642 Q253026 Q188676 Q3272719 Q783947 Q12808082 Q16664163 Q650625 Q769739 Q15275883 Q131795 Q250060 Q172549 Q2744250 Q850227 Q1251472 Q207234 Q533120 Q797676 Q1775444 Q6497135 Q145983 Q165170 Q26904534 Q5443792 Q6567 Q178831 Q170485 Q2360409 Q17745142 Q831462 Q2914822 Q178710 Q112 Q8964731 Q146321 Q2603291 Q5169921 Q474474 Q9351 Q1579572 Q6674 Q479033 Q185498 Q860314 Q26904362 Q23016450 Q468912 Q132582 Q134270 Q1144150 Q2313920 Q2736074 Q2266513 Q125046 Q1145491 Q26904409 Q179818 Q3266236 Q11380 Q18019772 Q21190990 Q188618 Q14619419 Q1964809 Q167685 Q8704 Q644505 Q833933 Q855310 Q751417 Q12389 Q26904354 Q211611 Q7608448 Q334447 Q762731 Q1155364 Q7371824 Q843382 Q3092970 Q270867 Q54875 Q2503697 Q3296706 Q781257 Q132543 Q2737253 Q214554 Q213440 Q2738049 Q1425549 Q1088891 Q3319880 Q1088417 Q189726 Q1078956 Q289355 Q935079 Q1144144 Q1939137 Q392239 Q2248952 Q760904 Q84122 Q765880
(c(Q874405),P138,c(Q15619164))
action count
action less
action find_reverse_tuple_counts
relation P138
type Q15619164
type Q874405
action count
action filter_type
action find_reverse
entity Q302
relation P138
type Q874405
[ANSWER]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P138 ?f . ?f rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q874405 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:Q874405 . ?l property:P138 resource:Q302 } } . FILTER ( ?u < ?y ) }
Hyperion Tapio Killer BOB Giovanni Antonio Amedeo Plana Makemake Aker Queen Mother of the West Kupala Mount Tomorr Mrs. Miniver Lakshmana Tāne Wicked fairy godmother Perun Jason Bourne Toutatis Insitor Pluto Agenoria Dagwood Bumstead Shiva Eucharis Apollo Inti Ellery Queen Laverna Agravain Prospero Lady Justice Bona Dea Annona Zaden Josef Švejk Abellio Rongo Pele Percival Schuttenbach Anat Mock Turtle Paddington Bear Triglav Piantadino Cupid Aryaman Martin Krpan Cybele Asherah Ra March Hare Robinson Crusoe Belenus Orion Krishna Budha Son Gokū Ah Peku Patera Mondamin Rusalka Proserpina Sati Gwen Stacy Mercury Haumea Chernobog Mark Watney Fortuna Krun Ellen Ripley Digenes Akritas Pinocchio Concordia Tom Servo Huracan Huya Tezcatlipoca Bébinn Spock Ash Summanus Hathor Gudrun Count Orlok Sycorax Ishtar Ariel Number Six White Rabbit Atum Mothra Occator Minerva Cthylla Marduk Data Aion Jupiter Osiris Karneios Ganesha Venus Nintinugga Kikimora Garuda Desdemona Humpty Dumpty Raijin Messor Živa Tarvos Trigaranus Atala Seth Taranis Aeolus Cortana Panacea Mullo Bellona Caliban Babi Phosphorus Mitra Tiamat Europa Umbriel Ferdinand Godzilla Aurora Parvati Boyan Gargantua Galahad Moomintroll Vesta Mars ALF Ptah Uriah Heep Cordelia Ampelos Pikachu Mr Tompkins devil Shinigami Lucifer Orcus Margaret Deep Thought Nergal Pan Helios Jarilo Cressida Ala Reitia Juno Liber Perdita Quetzalcoatl Count Dracula Vishnu Rage Calamity James Hanuman Bernd Stromberg Nanshe Janus Walt Disney Turan HAL 9000 Rudra Big Brother Donkey Kong Cupid Anuket Stephano Kratos Aslan Medon Rowan Psyche Fódla Terra Our Lady of the Rosary Little My Veruca Salt Ilmarinen Diana Nenia Dea Serapis Tyche Greedo Himeros Mielikki Bree Nidaba Enki Leto Atreides I Hari Seldon SpongeBob SquarePants Dažbog Totoro Nabu Kon Rizzo the Rat Horus The Tramp
206
action count
action less
action find_reverse_tuple_counts
relation named after
type abstract being
type social group
action count
action filter_type
action find_reverse
entity Jesus Christ
relation named after
type social group
[{'concept': 'social group'}, 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:named_after ?f . ?f rdf:type ontology:abstract_being . ?x rdf:type ontology:social_group } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:social_group . ?l property:named_after resource:Jesus_Christ } } . FILTER ( ?u < ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q740308
P1027
Q12737077
USER
Which occupation is awarded by UNICEF ?
(c(Q12737077),P1027,Q740308)
action filter_type
action find_reverse
entity Q740308
relation P1027
type Q12737077
[{'concept': 'Q12737077'}, 'P1027', 'Q740308']
SELECT DISTINCT ?w WHERE { ?w property:P1027 resource:Q740308 . ?w rdf:type ontology:Q12737077 }
UNICEF
action filter_type
action find_reverse
entity UNICEF
relation conferred by
type occupation
[{'concept': 'occupation'}, 'conferred by', 'UNICEF']
SELECT DISTINCT ?w WHERE { ?w property:conferred_by resource:UNICEF . ?w rdf:type ontology:occupation }
[]
occupation
Q19969187
SYSTEM
UNICEF Goodwill Ambassador
Q19969187
(c(Q12737077),P1027,Q740308)
action filter_type
action find_reverse
entity Q740308
relation P1027
type Q12737077
The [ANSWER] is awarded by UNICEF
[{'concept': 'Q12737077'}, 'P1027', 'Q740308']
SELECT DISTINCT ?w WHERE { ?w property:P1027 resource:Q740308 . ?w rdf:type ontology:Q12737077 }
UNICEF Goodwill Ambassador
The UNICEF Goodwill Ambassador is awarded by UNICEF
UNICEF Goodwill Ambassador
action filter_type
action find_reverse
entity UNICEF
relation conferred by
type occupation
[{'concept': 'occupation'}, 'conferred by', 'UNICEF']
SELECT DISTINCT ?w WHERE { ?w property:conferred_by resource:UNICEF . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q740308
P463
Q874405
USER
Which social group was UNICEF a member of ?
(Q740308,P463,c(Q874405))
action filter_type
action find
entity Q740308
relation P463
type Q874405
['Q740308', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q740308 property:P463 ?z . ?z rdf:type ontology:Q874405 }
UNICEF
action filter_type
action find
entity UNICEF
relation member of
type social group
['UNICEF', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:UNICEF property:member_of ?z . ?z rdf:type ontology:social_group }
[]
social group
Q1187686
SYSTEM
United Nations Development Group
Q1187686
(Q740308,P463,c(Q874405))
action filter_type
action find
entity Q740308
relation P463
type Q874405
Which social group was UNICEF a member of
['Q740308', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q740308 property:P463 ?z . ?z rdf:type ontology:Q874405 }
United Nations Development Group
Which social group was UNICEF a member of
United Nations Development Group
action filter_type
action find
entity UNICEF
relation member of
type social group
['UNICEF', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:UNICEF property:member_of ?z . ?z rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1187686
P361
Q484652
USER
What is that social group a portion of ?
(Q1187686,P361,c(Q484652))
action filter_type
action find
entity Q1187686
relation P361
type Q484652
['Q1187686', 'P361', {'concept': 'Q484652'}]
SELECT DISTINCT ?v WHERE { resource:Q1187686 property:P361 ?v . ?v rdf:type ontology:Q484652 }
United Nations Development Group
action filter_type
action find
entity United Nations Development Group
relation part of
type international organization
['United Nations Development Group', 'part of', {'concept': 'international organization'}]
SELECT DISTINCT ?v WHERE { resource:United_Nations_Development_Group property:part_of ?v . ?v rdf:type ontology:international_organization }
[]
international organization
Q1065
SYSTEM
United Nations
Q1065
(Q1187686,P361,c(Q484652))
action filter_type
action find
entity Q1187686
relation P361
type Q484652
That social group a portion of is the [ANSWER]
['Q1187686', 'P361', {'concept': 'Q484652'}]
SELECT DISTINCT ?v WHERE { resource:Q1187686 property:P361 ?v . ?v rdf:type ontology:Q484652 }
United Nations
That social group a portion of is the United Nations
United Nations
action filter_type
action find
entity United Nations Development Group
relation part of
type international organization
['United Nations Development Group', 'part of', {'concept': 'international organization'}]
SELECT DISTINCT ?v WHERE { resource:United_Nations_Development_Group property:part_of ?v . ?v rdf:type ontology:international_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6670591
P355
Q874405 Q874405 Q740752
USER
How many social groups are subsidiaries of lesser number of social groups and transport companies than London Midland Region of British Railways ?
(c(Q874405)|c(Q740752),P355,c(Q874405))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action count
action filter_multi_types
action find_reverse
entity Q6670591
relation P355
type Q874405
type Q740752
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:P355 ?v . ?v rdf:type ontology:Q874405 . ?j rdf:type ontology:Q874405 } UNION { ?j rdf:type ontology:Q740752 . ?v rdf:type ontology:Q874405 . ?j property:P355 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P355 resource:Q6670591 . { { ?d rdf:type ontology:Q740752 } UNION { ?d rdf:type ontology:Q874405 } } } } . FILTER ( ?x < ?k ) }
London Midland Region of British Railways
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action count
action filter_multi_types
action find_reverse
entity London Midland Region of British Railways
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:subsidiary ?v . ?v rdf:type ontology:social_group . ?j rdf:type ontology:social_group } UNION { ?j rdf:type ontology:transport_company . ?v rdf:type ontology:social_group . ?j property:subsidiary ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:subsidiary resource:London_Midland_Region_of_British_Railways . { { ?d rdf:type ontology:transport_company } UNION { ?d rdf:type ontology:social_group } } } } . FILTER ( ?x < ?k ) }
[]
social group social group transport company
SYSTEM
43
Q2522363 Q751152 Q928183 Q1114200 Q11788418 Q4929965 Q13359824 Q7660181 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q781027 Q13218607 Q2543504 Q3913196 Q3435621 Q5892736 Q3274087 Q13416804 Q4698480 Q1377855 Q161718 Q477386 Q5975415 Q5153705 Q408396 Q1204921 Q11722823 Q14334150 Q3954348 Q890180 Q376150 Q15293666 Q1411739 Q10955989 Q2990871 Q740308 Q549157
(c(Q874405)|c(Q740752),P355,c(Q874405))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action count
action filter_multi_types
action find_reverse
entity Q6670591
relation P355
type Q874405
type Q740752
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:P355 ?v . ?v rdf:type ontology:Q874405 . ?j rdf:type ontology:Q874405 } UNION { ?j rdf:type ontology:Q740752 . ?v rdf:type ontology:Q874405 . ?j property:P355 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P355 resource:Q6670591 . { { ?d rdf:type ontology:Q740752 } UNION { ?d rdf:type ontology:Q874405 } } } } . FILTER ( ?x < ?k ) }
Victor Gollancz Ltd Astrium Services SABCA Picnik NWR Karbonia Blue Triangle Immobilière Dassault Sydney Trains Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Audi Hungaria Motor Kft. RBS Securities Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan United Front Work Department Warner Bros. Animation Airbus Operations S.A.S. Google.org United Nations Development Programme EADS Astrium Space Transportation IUPAC/IUPAP Joint Working Party Commonwealth Business Council Airbus Transport International International Rice Research Institute Centrum Holdings MediaCorp Raintree Pictures Commonwealth Secretariat Boeing Canada International Telecommunication Union Straßenbahn Kleve Time Inc. Media Asia Film Distribution Company Comptoir métallurgique marocain UNICEF Airlines Tonga
43
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action count
action filter_multi_types
action find_reverse
entity London Midland Region of British Railways
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:subsidiary ?v . ?v rdf:type ontology:social_group . ?j rdf:type ontology:social_group } UNION { ?j rdf:type ontology:transport_company . ?v rdf:type ontology:social_group . ?j property:subsidiary ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:subsidiary resource:London_Midland_Region_of_British_Railways . { { ?d rdf:type ontology:transport_company } UNION { ?d rdf:type ontology:social_group } } } } . FILTER ( ?x < ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q7275 Q20667921 Q486972
USER
How many states have exactly 1 french administrative divisions and human settlements as their capital ?
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?q rdf:type ?k } GROUP BY ?f } . FILTER ( ?v = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?q rdf:type ?k } GROUP BY ?f } . FILTER ( ?v = 1 ) }
[]
state type of french administrative division human settlement
SYSTEM
12
Q3456417 Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q842091 Q112558 Q487829
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?q rdf:type ?k } GROUP BY ?f } . FILTER ( ?v = 1 ) }
Republic of Saint-Malo Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Duchy of Normandy Republic of Saugeais Chagatai Khanate
12
action count
action equal
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?q rdf:type ?k } GROUP BY ?f } . FILTER ( ?v = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P941
Q14623646
USER
Who had United Nations as a source of inspiration ?
(c(Q14623646),P941,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P941
type Q14623646
[{'concept': 'Q14623646'}, 'P941', 'Q1065']
SELECT DISTINCT ?j WHERE { ?j property:P941 resource:Q1065 . ?j rdf:type ontology:Q14623646 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation inspired by
type fictional organization
[{'concept': 'fictional organization'}, 'inspired by', 'United Nations']
SELECT DISTINCT ?j WHERE { ?j property:inspired_by resource:United_Nations . ?j rdf:type ontology:fictional_organization }
[]
fictional organization
Q7225189
SYSTEM
D.O.O.P.
Q7225189
(c(Q14623646),P941,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P941
type Q14623646
[ANSWER] had United Nations as a source of inspiration
[{'concept': 'Q14623646'}, 'P941', 'Q1065']
SELECT DISTINCT ?j WHERE { ?j property:P941 resource:Q1065 . ?j rdf:type ontology:Q14623646 }
D.O.O.P.
D.O.O.P. had United Nations as a source of inspiration
D.O.O.P.
action filter_type
action find_reverse
entity United Nations
relation inspired by
type fictional organization
[{'concept': 'fictional organization'}, 'inspired by', 'United Nations']
SELECT DISTINCT ?j WHERE { ?j property:inspired_by resource:United_Nations . ?j rdf:type ontology:fictional_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065
P37
Q34770
USER
Which languages are the official languages of that international organization ?
(Q7225189,P37,c(Q34770))
action filter_type
action find
entity Q1065
relation P37
type Q34770
['Q7225189', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q1065 property:P37 ?f }
United Nations
action filter_type
action find
entity United Nations
relation official language
type language
['D.O.O.P.', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:United_Nations property:official_language ?f }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(Q7225189,P37,c(Q34770))
action filter_type
action find
entity Q1065
relation P37
type Q34770
[ANSWERS] are the official languages of that international organization
['Q7225189', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q1065 property:P37 ?f }
English Spanish
English and Spanish are the official languages of that international organization
English Spanish
action filter_type
action find
entity United Nations
relation official language
type language
['D.O.O.P.', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:United_Nations property:official_language ?f }
[]