Simple Question (Direct)
Simple Question
Q3898339
P27
Q15617994
USER
Which administrative territory is Pavlo Khnykin a civilian of ?
(Q3898339,P27,c(Q15617994))
action filter_type
action find
entity Q3898339
relation P27
type Q15617994
['Q3898339', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3898339 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Pavlo Khnykin
action filter_type
action find
entity Pavlo Khnykin
relation country of citizenship
type designation for an administrative territorial entity
['Pavlo Khnykin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Pavlo_Khnykin property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q3898339,P27,c(Q15617994))
action filter_type
action find
entity Q3898339
relation P27
type Q15617994
[ANSWER] is Pavlo Khnykin a civilian of
['Q3898339', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3898339 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Ukraine
Ukraine is Pavlo Khnykin a civilian of
Ukraine
action filter_type
action find
entity Pavlo Khnykin
relation country of citizenship
type designation for an administrative territorial entity
['Pavlo Khnykin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Pavlo_Khnykin property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3898339
P21
Q290
USER
What is the sex of Pavlo Khnykin ?
(Q3898339,P21,c(Q290))
action filter_type
action find
entity Q3898339
relation P21
type Q290
['Q3898339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3898339 property:P21 ?h . ?h rdf:type ontology:Q290 }
Pavlo Khnykin
action filter_type
action find
entity Pavlo Khnykin
relation gender
type sex
['Pavlo Khnykin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Pavlo_Khnykin property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3898339,P21,c(Q290))
action filter_type
action find
entity Q3898339
relation P21
type Q290
The sex of Pavlo Khnykin is the [ANSWER]
['Q3898339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3898339 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Pavlo Khnykin is the male
male
action filter_type
action find
entity Pavlo Khnykin
relation gender
type sex
['Pavlo Khnykin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Pavlo_Khnykin property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1048393
Q290
USER
And how about Cassino Simpson?
(Q1048393,P21,c(Q290))
action filter_type
action find
entity Q1048393
relation P21
type Q290
['Q1048393', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1048393 property:P21 ?n . ?n rdf:type ontology:Q290 }
Cassino Simpson
action filter_type
action find
entity Cassino Simpson
relation gender
type sex
['Cassino Simpson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Cassino_Simpson property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1048393,P21,c(Q290))
action filter_type
action find
entity Q1048393
relation P21
type Q290
[ANSWER]
['Q1048393', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1048393 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Cassino Simpson
relation gender
type sex
['Cassino Simpson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Cassino_Simpson property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P463
Q43229
USER
Which organizations were Ukraine a member of ?
(Q212,P463,c(Q43229))
action filter_type
action find
entity Q212
relation P463
type Q43229
['Q212', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q212 property:P463 ?u . ?u rdf:type ontology:Q43229 }
Ukraine
action filter_type
action find
entity Ukraine
relation member of
type organization
['Ukraine', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Ukraine property:member_of ?u . ?u rdf:type ontology:organization }
[]
organization
Q7825 Q191384 Q656801
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, International Finance Corporation
Q191384 Q899770 Q656801 Q380340 Q7825 Q827525
(Q212,P463,c(Q43229))
action filter_type
action find
entity Q212
relation P463
type Q43229
Ukraine were the [ANSWERS]
['Q212', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q212 property:P463 ?u . ?u rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization International Development Association
Ukraine were the World Trade Organization, International Bank for Reconstruction and Development and International Finance Corporation
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Ukraine
relation member of
type organization
['Ukraine', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Ukraine property:member_of ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q436584
Q43229
USER
And also tell me about Jack Hildyard?
(Q436584,P463,c(Q43229))
action filter_type
action find
entity Q436584
relation P463
type Q43229
['Q436584', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q436584 property:P463 ?f }
Jack Hildyard
action filter_type
action find
entity Jack Hildyard
relation member of
type organization
['Jack Hildyard', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Jack_Hildyard property:member_of ?f }
[]
organization
Q924996
SYSTEM
British Society of Cinematographers
Q924996
(Q436584,P463,c(Q43229))
action filter_type
action find
entity Q436584
relation P463
type Q43229
[ANSWER]
['Q436584', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q436584 property:P463 ?f }
British Society of Cinematographers
British Society of Cinematographers
action filter_type
action find
entity Jack Hildyard
relation member of
type organization
['Jack Hildyard', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Jack_Hildyard property:member_of ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P463
Q502895
USER
How many people have a membership of that organization ?
(c(Q502895),P463,Q924996)
action count
action filter_type
action find_reverse
entity Q924996
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q924996']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P463 resource:Q924996 . ?y rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity British Society of Cinematographers
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'British Society of Cinematographers']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:member_of resource:British_Society_of_Cinematographers . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
71
Q2576430 Q5257183 Q5301819 Q2138031 Q965659 Q466154 Q573164 Q452731 Q1668221 Q957926 Q5208298 Q182148 Q5549176 Q4647460 Q772867 Q579550 Q490240 Q1077553 Q1889725 Q1110520 Q766802 Q1524278 Q854168 Q132112 Q1252526 Q535692 Q1337082 Q7362117 Q1585380 Q5258165 Q3057187 Q51541 Q484973 Q1380910 Q518140 Q684952 Q709558 Q489951 Q6848887 Q721174 Q436584 Q707321 Q7176079 Q709978 Q2442632 Q1592970 Q729210 Q489174 Q372654 Q942647 Q529749 Q1502973 Q1359957 Q485770 Q436704 Q1273264 Q4885518 Q1666720 Q487382 Q718742 Q1335915 Q368085 Q460090 Q572838 Q790767 Q1177096 Q89199 Q460277 Q1209629 Q967126 Q123745
(c(Q502895),P463,Q924996)
action count
action filter_type
action find_reverse
entity Q924996
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q924996']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P463 resource:Q924996 . ?y rdf:type ontology:Q502895 }
Wilkie Cooper Denis Crossan Douglas Milsome Reginald Wyer Freddie Young Jack E. Cox Anthony Dod Mantle Tony Pierce-Roberts Jack Asher John Mathieson Daf Hobson Gilbert Taylor Gerald Gibbs A. A. Englander Robert Paynter Peter Biziou Alan Hume Chris Menges Remi Adefarasin Denys Coop Sean Bobbitt Giles Nuttgens David Tattersall Roger Pratt Douglas Slocombe Michael Reed Freddie Francis Roman Osin Haris Zambarloukos Dennis Ayling Ernest Steward Nicolas Roeg Christopher Challis Ted Moore Desmond Dickinson Dick Pope Arthur Grant Geoffrey Unsworth Mike Southon Oswald Morris Jack Hildyard Guy Green Peter Newbrook Arthur Ibbetson Tony Imi Ian Wilson Stephen Goldblatt Alex Thomson Adrian Biddle Otto Heller Harry Waxman Geoffrey Faithfull Seamus McGarvey Gerry Fisher Jack Cardiff Michael Coulter Ben Davis Peter Suschitzky Michael Seresin Phil Méheux John Alcott Andrew Dunn Ronald Neame Anthony B. Richmond Barry Ackroyd David Watkin Wolfgang Suschitzky Roger Deakins Dick Bush Oliver Stapleton Billy Williams
71
action count
action filter_type
action find_reverse
entity British Society of Cinematographers
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'British Society of Cinematographers']
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:member_of resource:British_Society_of_Cinematographers . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q338633
P355
Q28640 Q4830453 Q43229
USER
How many organizations are more number of professions or business enterprises the subsidiary of than KPN ?
(c(Q43229),P355,c(Q28640)|c(Q4830453))
action count
action greater
action union
action find_tuple_counts
relation P355
type Q43229
type Q28640
action find_tuple_counts
relation P355
type Q43229
type Q4830453
action count
action filter_multi_types
action find
entity Q338633
relation P355
type Q28640
type Q4830453
[{'concept': 'Q43229'}, 'P355', [{'concept': 'Q28640'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?i ) { ( ontology:Q28640 ) ( ontology:Q4830453 ) } . ?p rdf:type ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q338633 property:P355 ?z . { { ?z rdf:type ontology:Q28640 } UNION { ?z rdf:type ontology:Q4830453 } } } } . FILTER ( ?s > ?h ) }
KPN
action count
action greater
action union
action find_tuple_counts
relation subsidiary
type organization
type profession
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
action count
action filter_multi_types
action find
entity KPN
relation subsidiary
type profession
type business enterprise
[{'concept': 'organization'}, 'subsidiary', [{'concept': 'profession'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?i ) { ( ontology:profession ) ( ontology:business_enterprise ) } . ?p rdf:type ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:KPN property:subsidiary ?z . { { ?z rdf:type ontology:profession } UNION { ?z rdf:type ontology:business_enterprise } } } } . FILTER ( ?s > ?h ) }
[]
profession business enterprise organization
SYSTEM
77
Q20987740 Q3895 Q156077 Q4995 Q973054 Q494136 Q1674598 Q20651008 Q2311 Q95 Q27432 Q7855903 Q163810 Q5189410 Q580720 Q44504 Q7819139 Q4744011 Q614283 Q35953 Q128738 Q1053787 Q3739421 Q724759 Q5009253 Q247032 Q1965898 Q2670967 Q41187 Q1435628 Q1056839 Q23777331 Q2605105 Q930354 Q1477661 Q23925808 Q502940 Q1309356 Q6244782 Q214763 Q22075706 Q2633403 Q644304 Q868587 Q861295 Q14619003 Q26720796 Q156578 Q4108170 Q152433 Q552581 Q2120364 Q7562509 Q5612191 Q2071905 Q9584 Q18224 Q318616 Q910379 Q5061757 Q605233 Q4828989 Q571779 Q1519267 Q218038 Q81965 Q2264873 Q270223 Q3140604 Q2632192 Q591001 Q35476 Q49125 Q1121141 Q248 Q660770 Q10291887
(c(Q43229),P355,c(Q28640)|c(Q4830453))
action count
action greater
action union
action find_tuple_counts
relation P355
type Q43229
type Q28640
action find_tuple_counts
relation P355
type Q43229
type Q4830453
action count
action filter_multi_types
action find
entity Q338633
relation P355
type Q28640
type Q4830453
[ANSWER]
[{'concept': 'Q43229'}, 'P355', [{'concept': 'Q28640'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?i ) { ( ontology:Q28640 ) ( ontology:Q4830453 ) } . ?p rdf:type ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q338633 property:P355 ?z . { { ?z rdf:type ontology:Q28640 } UNION { ?z rdf:type ontology:Q4830453 } } } } . FILTER ( ?s > ?h ) }
Stadtwerke Frankfurt Adidas L'Oréal SABMiller Rakuten SK C&C Israel Corporation Nintendo of America Airbus Group SE Google Bethlehem Steel Turner Broadcasting System Volvo Crown Media Holdings Israel Broadcasting Authority Inditex Tommo Inc. American Honda Motor Company Grupo Globo MAN SE Anheuser-Busch InBev Central European Media Enterprises UkrOboronProm NBCUniversal CBS Interactive Warner Communications Naspers Groupe Casino Sony FEMSA DirecTV Grupo Jovem Pan Nihon Ad Systems GT Interactive Software Paccar Claus Meyer Holding General Dynamics Versorgungs- und Verkehrsgesellschaft Hannover John Lewis Partnership ConocoPhillips Vest-Busscar J.P. Morgan & Co. EnBW McGraw Hill Financial A.P. Møller og Hustru Chastine Mc-Kinney Møllers Fond til almene Formaal Kobe Shimbun Co. Lemvigh-Müller Foundation Volkswagen Group Russian Helicopters Xerox SAP SE Radio France Sony Pictures Entertainment Japan Grupo Bandeirantes de Comunicação BBC Worldwide Honda Maersk Generali Deutschland Leonardo-Finmeccanica Grupo Record Tokyo Broadcasting System Holdings Avista Capital Partners Liberty Global Omnicom Group RCA General Motors Vivendi Games E.ON SE ITV plc Strategy First Chery AT&T Toshiba Compagnie Internationale des Wagons-Lits Intel OJSC Russian Railways Grupo Estado
77
action count
action greater
action union
action find_tuple_counts
relation subsidiary
type organization
type profession
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
action count
action filter_multi_types
action find
entity KPN
relation subsidiary
type profession
type business enterprise
[{'concept': 'organization'}, 'subsidiary', [{'concept': 'profession'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?i ) { ( ontology:profession ) ( ontology:business_enterprise ) } . ?p rdf:type ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:KPN property:subsidiary ?z . { { ?z rdf:type ontology:profession } UNION { ?z rdf:type ontology:business_enterprise } } } } . FILTER ( ?s > ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q212
P463
Q874405 Q43229
USER
How many social groups and organizations were Ukraine a member of ?
(Q212,P463,c(Q874405)) (Q212,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q212
relation P463
type Q874405
action filter_type
action find
entity Q212
relation P463
type Q43229
['Q212', 'P463', {'concept': 'Q874405'}] ['Q212', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { resource:Q212 property:P463 ?s . ?s rdf:type ontology:Q43229 } UNION { ?s rdf:type ontology:Q874405 . resource:Q212 property:P463 ?s } }
Ukraine
action count
action union
action filter_type
action find
entity Ukraine
relation member of
type social group
action filter_type
action find
entity Ukraine
relation member of
type organization
['Ukraine', 'member of', {'concept': 'social group'}] ['Ukraine', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { resource:Ukraine property:member_of ?s . ?s rdf:type ontology:organization } UNION { ?s rdf:type ontology:social_group . resource:Ukraine property:member_of ?s } }
[]
social group organization
SYSTEM
2 social groups and 6 organizations
Q191384 Q899770 Q782942 Q8908 Q656801 Q380340 Q7825 Q827525
(Q212,P463,c(Q874405)) (Q212,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q212
relation P463
type Q874405
action filter_type
action find
entity Q212
relation P463
type Q43229
[ANSWER]
['Q212', 'P463', {'concept': 'Q874405'}] ['Q212', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { resource:Q212 property:P463 ?s . ?s rdf:type ontology:Q43229 } UNION { ?s rdf:type ontology:Q874405 . resource:Q212 property:P463 ?s } }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Australia Group Council of Europe International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization International Development Association
2 social groups and 6 organizations
action count
action union
action filter_type
action find
entity Ukraine
relation member of
type social group
action filter_type
action find
entity Ukraine
relation member of
type organization
['Ukraine', 'member of', {'concept': 'social group'}] ['Ukraine', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { resource:Ukraine property:member_of ?s . ?s rdf:type ontology:organization } UNION { ?s rdf:type ontology:social_group . resource:Ukraine property:member_of ?s } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q766744 Q7825
P159
Q56061
USER
Which administrative territories are the HQ of World Trade Organization or Music Man ?
OR((Q7825,P159,c(Q56061)), (Q766744,P159,c(Q56061)))
action filter_type
action union
action find
entity Q7825
relation P159
action find
entity Q766744
relation P159
type Q56061
{'OR': [['Q7825', 'P159', {'concept': 'Q56061'}], ['Q766744', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7825 property:P159 ?r } UNION { resource:Q766744 property:P159 ?r } } . ?r rdf:type ontology:Q56061 }
Music Man World Trade Organization
action filter_type
action union
action find
entity World Trade Organization
relation headquarters location
action find
entity Music Man
relation headquarters location
type administrative territorial entity
{'OR': [['World Trade Organization', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Music Man', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:World_Trade_Organization property:headquarters_location ?r } UNION { resource:Music_Man property:headquarters_location ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49247 Q49012 Q71
SYSTEM
Anaheim, San Luis Obispo, Geneva
Q49247 Q49012 Q71
OR((Q7825,P159,c(Q56061)), (Q766744,P159,c(Q56061)))
action filter_type
action union
action find
entity Q7825
relation P159
action find
entity Q766744
relation P159
type Q56061
[ANSWERS] are the HQ of World Trade Organization or Music Man
{'OR': [['Q7825', 'P159', {'concept': 'Q56061'}], ['Q766744', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7825 property:P159 ?r } UNION { resource:Q766744 property:P159 ?r } } . ?r rdf:type ontology:Q56061 }
Anaheim San Luis Obispo Geneva
Anaheim, San Luis Obispo and Geneva are the HQ of World Trade Organization or Music Man
Anaheim San Luis Obispo Geneva
action filter_type
action union
action find
entity World Trade Organization
relation headquarters location
action find
entity Music Man
relation headquarters location
type administrative territorial entity
{'OR': [['World Trade Organization', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Music Man', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:World_Trade_Organization property:headquarters_location ?r } UNION { resource:Music_Man property:headquarters_location ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]