Simple Question (Direct)
Simple Question
Q11645354
P108
Q4830453
USER
Which business enterprise is the workplace of Takashi Nojima ?
(Q11645354,P108,c(Q4830453))
action filter_type
action find
entity Q11645354
relation P108
type Q4830453
['Q11645354', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?k WHERE { resource:Q11645354 property:P108 ?k . ?k rdf:type ontology:Q4830453 }
Takashi Nojima
action filter_type
action find
entity Takashi Nojima
relation employer
type business enterprise
['Takashi Nojima', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?k WHERE { resource:Takashi_Nojima property:employer ?k . ?k rdf:type ontology:business_enterprise }
[]
business enterprise
Q744800
SYSTEM
Fuji Television
Q744800
(Q11645354,P108,c(Q4830453))
action filter_type
action find
entity Q11645354
relation P108
type Q4830453
[ANSWER] is the workplace of Takashi Nojima
['Q11645354', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?k WHERE { resource:Q11645354 property:P108 ?k . ?k rdf:type ontology:Q4830453 }
Fuji Television
Fuji Television is the workplace of Takashi Nojima
Fuji Television
action filter_type
action find
entity Takashi Nojima
relation employer
type business enterprise
['Takashi Nojima', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?k WHERE { resource:Takashi_Nojima property:employer ?k . ?k rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11645354
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q744800,P27,c(Q15617994))
action filter_type
action find
entity Q11645354
relation P27
type Q15617994
['Q744800', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q11645354 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Takashi Nojima
action filter_type
action find
entity Takashi Nojima
relation country of citizenship
type designation for an administrative territorial entity
['Fuji Television', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Takashi_Nojima property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q744800,P27,c(Q15617994))
action filter_type
action find
entity Q11645354
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q744800', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q11645354 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Japan
The Japan is that person a civilian of
Japan
action filter_type
action find
entity Takashi Nojima
relation country of citizenship
type designation for an administrative territorial entity
['Fuji Television', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Takashi_Nojima property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1056
Q80071 Q11019 Q4830453
USER
How many business enterprises are the producer of exactly 1 symbols and machines ?
(c(Q4830453),P1056,c(Q80071)|c(Q11019))
action count
action equal
action union
action find_tuple_counts
relation P1056
type Q4830453
type Q80071
action find_tuple_counts
relation P1056
type Q4830453
type Q11019
value 1
[{'concept': 'Q4830453'}, 'P1056', [{'concept': 'Q80071'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?g WHERE { { ?g property:P1056 ?x . ?g rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q80071 } UNION { ?g property:P1056 ?x . ?g rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q11019 } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation product
type business enterprise
type symbol
action find_tuple_counts
relation product
type business enterprise
type machine
value 1
[{'concept': 'business enterprise'}, 'product', [{'concept': 'symbol'}, {'concept': 'machine'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?g WHERE { { ?g property:product ?x . ?g rdf:type ontology:business_enterprise . ?x rdf:type ontology:symbol } UNION { ?g property:product ?x . ?g rdf:type ontology:business_enterprise . ?x rdf:type ontology:machine } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
[]
symbol machine business enterprise
SYSTEM
54
Q316522 Q1636249 Q1674927 Q181114 Q2096434 Q286396 Q574579 Q1408130 Q2830985 Q1514867 Q26678 Q910401 Q1454227 Q1964161 Q1904600 Q708667 Q1435112 Q27489 Q6686 Q628140 Q185432 Q4320539 Q1513672 Q1060679 Q1900912 Q2359677 Q4926914 Q16834431 Q59181 Q27110 Q35989 Q1207077 Q1420724 Q1674963 Q787909 Q1745885 Q505694 Q2699663 Q1563685 Q1881443 Q320140 Q13530143 Q23043017 Q6883057 Q1190247 Q5209438 Q2005896 Q23041421 Q617334 Q1674958 Q1674950 Q1862590 Q1674957 Q6818138
(c(Q4830453),P1056,c(Q80071)|c(Q11019))
action count
action equal
action union
action find_tuple_counts
relation P1056
type Q4830453
type Q80071
action find_tuple_counts
relation P1056
type Q4830453
type Q11019
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P1056', [{'concept': 'Q80071'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?g WHERE { { ?g property:P1056 ?x . ?g rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q80071 } UNION { ?g property:P1056 ?x . ?g rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q11019 } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
Karl Kässbohrer Fahrzeugwerke Hulas Motors Isuzu Astra Motor Indonesia Chrysler UzDaewooAuto Robur Lorraine-Dietrich Weiertz Universal Power Drives Moreland Motor Truck Company BMW SAIC Motor Freight Rover Namco Martin Motors MAN Truck & Bus Edwin Foden, Sons & Co. DAF Renault Holland Car Espenlaub Petropoulos Isuzu HICOM Malaysia Chambers Motors Markranstädter Automobilfabrik Styl Kar Blistex, Incorporated Daimler Trucks North America Wartburg Autobianchi Maybach Dewan Farooque Motors Freightliner Trucks Isuzu Vietnam Automotive Industries Wallyscar Fuldamobil Laffly HICOM Automotive Manufacturers MG Motor Brennabor Effa Motors Mercedes-Benz Argentina Mitsubishi Fuso Truck of America, Inc. Mitsubishi Fuso Truck and Bus Corporation Daimler India Commercial Vehicles Pvt. Ltd. Trnavské automobilové závody Mercedes-Benz do Brasil Apal Isuzu Truck South Africa Isuzu Malaysia RFW Isuzu Truck (UK) Mercedes-Benz Mexico
54
action count
action equal
action union
action find_tuple_counts
relation product
type business enterprise
type symbol
action find_tuple_counts
relation product
type business enterprise
type machine
value 1
[{'concept': 'business enterprise'}, 'product', [{'concept': 'symbol'}, {'concept': 'machine'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?g WHERE { { ?g property:product ?x . ?g rdf:type ontology:business_enterprise . ?x rdf:type ontology:symbol } UNION { ?g property:product ?x . ?g rdf:type ontology:business_enterprise . ?x rdf:type ontology:machine } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P463
Q43229 Q484652
USER
How many organizations or international organizations were Japan a member of ?
(Q17,P463,c(Q43229)) (Q17,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q43229
action filter_type
action find
entity Q17
relation P463
type Q484652
['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:Q43229 . resource:Q17 property:P463 ?n } UNION { resource:Q17 property:P463 ?n . ?n rdf:type ontology:Q484652 } }
Japan
action count
action union
action filter_type
action find
entity Japan
relation member of
type organization
action filter_type
action find
entity Japan
relation member of
type international organization
['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:organization . resource:Japan property:member_of ?n } UNION { resource:Japan property:member_of ?n . ?n rdf:type ontology:international_organization } }
[]
organization international organization
SYSTEM
13
Q340195 Q191384 Q899770 Q1065 Q1043527 Q41550 Q37143 Q188822 Q656801 Q19771 Q7825 Q170481 Q827525
(Q17,P463,c(Q43229)) (Q17,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q43229
action filter_type
action find
entity Q17
relation P463
type Q484652
[ANSWER]
['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:Q43229 . resource:Q17 property:P463 ?n } UNION { resource:Q17 property:P463 ?n . ?n rdf:type ontology:Q484652 } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes United Nations Multilateral Investment Guarantee Agency Organisation for Economic Co-operation and Development G8 Asian Development Bank International Finance Corporation G20 World Trade Organization Asia-Pacific Economic Cooperation International Development Association
13
action count
action union
action filter_type
action find
entity Japan
relation member of
type organization
action filter_type
action find
entity Japan
relation member of
type international organization
['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:organization . resource:Japan property:member_of ?n } UNION { resource:Japan property:member_of ?n . ?n rdf:type ontology:international_organization } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q214
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with more number of administrative territories than Slovakia ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q214
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?t ) WHERE { ?c property:P530 ?o . ?c rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q214 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?s ) }
Slovakia
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovakia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?t ) WHERE { ?c property:diplomatic_relation ?o . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Slovakia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q214
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?t ) WHERE { ?c property:P530 ?o . ?c rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q214 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?s ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovakia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?t ) WHERE { ?c property:diplomatic_relation ?o . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Slovakia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q262
P530
Q15617994 Q15617994
USER
And what about Algeria?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q262
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?x ) WHERE { ?w property:P530 ?z . ?w rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q262 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?f ) }
Algeria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Algeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?x ) WHERE { ?w property:diplomatic_relation ?z . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Algeria property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q262
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?x ) WHERE { ?w property:P530 ?z . ?w rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q262 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?f ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Algeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?x ) WHERE { ?w property:diplomatic_relation ?z . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Algeria property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P137
Q2235308
USER
Which ship type can be described as facility operator of Japan ?
(c(Q2235308),P137,Q17)
action filter_type
action find_reverse
entity Q17
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q17']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2235308 . ?n property:P137 resource:Q17 }
Japan
action filter_type
action find_reverse
entity Japan
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Japan']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:ship_type . ?n property:operator resource:Japan }
[]
ship type
Q1785303
SYSTEM
Takao class cruiser
Q1785303
(c(Q2235308),P137,Q17)
action filter_type
action find_reverse
entity Q17
relation P137
type Q2235308
[ANSWER] can be described as facility operator of Japan
[{'concept': 'Q2235308'}, 'P137', 'Q17']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2235308 . ?n property:P137 resource:Q17 }
Takao class cruiser
Takao class cruiser can be described as facility operator of Japan
Takao class cruiser
action filter_type
action find_reverse
entity Japan
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Japan']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:ship_type . ?n property:operator resource:Japan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P163
Q14660
USER
Which flag is associated with Japan ?
(Q17,P163,c(Q14660))
action filter_type
action find
entity Q17
relation P163
type Q14660
['Q17', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q17 property:P163 ?i . ?i rdf:type ontology:Q14660 }
Japan
action filter_type
action find
entity Japan
relation flag
type flag
['Japan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:Japan property:flag ?i . ?i rdf:type ontology:flag }
[]
flag
Q43175
SYSTEM
Flag of Japan
Q43175
(Q17,P163,c(Q14660))
action filter_type
action find
entity Q17
relation P163
type Q14660
Japan [ANSWER] is associated with Japan
['Q17', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q17 property:P163 ?i . ?i rdf:type ontology:Q14660 }
Flag of Japan
Japan Flag of Japan is associated with Japan
Flag of Japan
action filter_type
action find
entity Japan
relation flag
type flag
['Japan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:Japan property:flag ?i . ?i rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q100166
Q14660
USER
And also tell me about Orkney Islands?
(Q100166,P163,c(Q14660))
action filter_type
action find
entity Q100166
relation P163
type Q14660
['Q100166', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q100166 property:P163 ?u . ?u rdf:type ontology:Q14660 }
Orkney Islands
action filter_type
action find
entity Orkney Islands
relation flag
type flag
['Orkney Islands', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Orkney_Islands property:flag ?u . ?u rdf:type ontology:flag }
[]
flag
Q530665
SYSTEM
flag of Orkney
Q530665
(Q100166,P163,c(Q14660))
action filter_type
action find
entity Q100166
relation P163
type Q14660
[ANSWER]
['Q100166', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q100166 property:P163 ?u . ?u rdf:type ontology:Q14660 }
flag of Orkney
flag of Orkney
action filter_type
action find
entity Orkney Islands
relation flag
type flag
['Orkney Islands', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Orkney_Islands property:flag ?u . ?u rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15961987 Q2342494 Q502895
USER
How many people are seen in around 4 television genres and collectables ?
(c(Q502895),P1441,c(Q15961987)|c(Q2342494))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 4
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { VALUES ( ?i ) { ( ontology:Q15961987 ) ( ontology:Q2342494 ) } . ?n rdf:type ?i } GROUP BY ?r } . FILTER ( ?j = 4 ) }
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type collectable
value 4
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { VALUES ( ?i ) { ( ontology:television_genre ) ( ontology:collectable ) } . ?n rdf:type ?i } GROUP BY ?r } . FILTER ( ?j = 4 ) }
[]
television genre collectable common name
SYSTEM
1
Q9181
(c(Q502895),P1441,c(Q15961987)|c(Q2342494))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 4
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { VALUES ( ?i ) { ( ontology:Q15961987 ) ( ontology:Q2342494 ) } . ?n rdf:type ?i } GROUP BY ?r } . FILTER ( ?j = 4 ) }
Abraham
1
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television genre
action find_tuple_counts
relation present in work
type common name
type collectable
value 4
[{'concept': 'common name'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { VALUES ( ?i ) { ( ontology:television_genre ) ( ontology:collectable ) } . ?n rdf:type ?i } GROUP BY ?r } . FILTER ( ?j = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P194
Q11204
USER
Which legislature is the representative body for Japan ?
(Q17,P194,c(Q11204))
action filter_type
action find
entity Q17
relation P194
type Q11204
['Q17', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { resource:Q17 property:P194 ?r . ?r rdf:type ontology:Q11204 }
Japan
action filter_type
action find
entity Japan
relation legislative body
type legislature
['Japan', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { resource:Japan property:legislative_body ?r . ?r rdf:type ontology:legislature }
[]
legislature
Q202384
SYSTEM
National Diet
Q202384
(Q17,P194,c(Q11204))
action filter_type
action find
entity Q17
relation P194
type Q11204
[ANSWER] is the representative body for Japan
['Q17', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { resource:Q17 property:P194 ?r . ?r rdf:type ontology:Q11204 }
National Diet
National Diet is the representative body for Japan
National Diet
action filter_type
action find
entity Japan
relation legislative body
type legislature
['Japan', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { resource:Japan property:legislative_body ?r . ?r rdf:type ontology:legislature }
[]