Simple Question (Direct)
Simple Question
Q684863
P463
Q43229
USER
Which organization had Joseph Jastrow as its member ?
(Q684863,P463,c(Q43229))
action filter_type
action find
entity Q684863
relation P463
type Q43229
['Q684863', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q684863 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Joseph Jastrow
action filter_type
action find
entity Joseph Jastrow
relation member of
type organization
['Joseph Jastrow', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Joseph_Jastrow property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
Q466587
SYSTEM
American Psychological Association
Q466587
(Q684863,P463,c(Q43229))
action filter_type
action find
entity Q684863
relation P463
type Q43229
[ANSWER] had Joseph Jastrow as its member
['Q684863', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q684863 property:P463 ?f . ?f rdf:type ontology:Q43229 }
American Psychological Association
American Psychological Association had Joseph Jastrow as its member
American Psychological Association
action filter_type
action find
entity Joseph Jastrow
relation member of
type organization
['Joseph Jastrow', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Joseph_Jastrow property:member_of ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q684863
P21
Q290
USER
Which sex does Joseph Jastrow possess ?
(Q684863,P21,c(Q290))
action filter_type
action find
entity Q684863
relation P21
type Q290
['Q684863', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q684863 property:P21 ?j . ?j rdf:type ontology:Q290 }
Joseph Jastrow
action filter_type
action find
entity Joseph Jastrow
relation gender
type sex
['Joseph Jastrow', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Joseph_Jastrow property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q684863,P21,c(Q290))
action filter_type
action find
entity Q684863
relation P21
type Q290
Joseph Jastrow possesses un [ANSWER]
['Q684863', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q684863 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Joseph Jastrow possesses un male
male
action filter_type
action find
entity Joseph Jastrow
relation gender
type sex
['Joseph Jastrow', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Joseph_Jastrow property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15430429
Q290
USER
And what about Wolfgang Menardi?
(Q15430429,P21,c(Q290))
action filter_type
action find
entity Q15430429
relation P21
type Q290
['Q15430429', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q15430429 property:P21 ?a . ?a rdf:type ontology:Q290 }
Wolfgang Menardi
action filter_type
action find
entity Wolfgang Menardi
relation gender
type sex
['Wolfgang Menardi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Wolfgang_Menardi property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15430429,P21,c(Q290))
action filter_type
action find
entity Q15430429
relation P21
type Q290
[ANSWER]
['Q15430429', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q15430429 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Wolfgang Menardi
relation gender
type sex
['Wolfgang Menardi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Wolfgang_Menardi property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q684863
P69
Q163740
USER
Which nonprofit organization is the alma mater of Joseph Jastrow ?
(Q684863,P69,c(Q163740))
action filter_type
action find
entity Q684863
relation P69
type Q163740
['Q684863', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q684863 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Joseph Jastrow
action filter_type
action find
entity Joseph Jastrow
relation educated at
type nonprofit organization
['Joseph Jastrow', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Joseph_Jastrow property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49117
SYSTEM
University of Pennsylvania
Q49117
(Q684863,P69,c(Q163740))
action filter_type
action find
entity Q684863
relation P69
type Q163740
[ANSWER] is the alma mater of Joseph Jastrow
['Q684863', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q684863 property:P69 ?y . ?y rdf:type ontology:Q163740 }
University of Pennsylvania
University of Pennsylvania is the alma mater of Joseph Jastrow
University of Pennsylvania
action filter_type
action find
entity Joseph Jastrow
relation educated at
type nonprofit organization
['Joseph Jastrow', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Joseph_Jastrow property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q684863
P19
Q56061
USER
Which administrative territory was Joseph Jastrow born at ?
(Q684863,P19,c(Q56061))
action filter_type
action find
entity Q684863
relation P19
type Q56061
['Q684863', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q684863 property:P19 ?m }
Joseph Jastrow
action filter_type
action find
entity Joseph Jastrow
relation place of birth
type administrative territorial entity
['Joseph Jastrow', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Joseph_Jastrow property:place_of_birth ?m }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q684863,P19,c(Q56061))
action filter_type
action find
entity Q684863
relation P19
type Q56061
Joseph Jastrow was born in [ANSWER]
['Q684863', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q684863 property:P19 ?m }
Warsaw
Joseph Jastrow was born in Warsaw
Warsaw
action filter_type
action find
entity Joseph Jastrow
relation place of birth
type administrative territorial entity
['Joseph Jastrow', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Joseph_Jastrow property:place_of_birth ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q684863
P27
Q15617994
USER
Which administrative territory is Joseph Jastrow a civilian of ?
(Q684863,P27,c(Q15617994))
action filter_type
action find
entity Q684863
relation P27
type Q15617994
['Q684863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q684863 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Joseph Jastrow
action filter_type
action find
entity Joseph Jastrow
relation country of citizenship
type designation for an administrative territorial entity
['Joseph Jastrow', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Joseph_Jastrow property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q684863,P27,c(Q15617994))
action filter_type
action find
entity Q684863
relation P27
type Q15617994
The [ANSWER] is Joseph Jastrow a civilian of
['Q684863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q684863 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The United States of America is Joseph Jastrow a civilian of
United States of America
action filter_type
action find
entity Joseph Jastrow
relation country of citizenship
type designation for an administrative territorial entity
['Joseph Jastrow', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Joseph_Jastrow property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q684863
P108
Q3918
USER
Which university is the workplace of that person ?
(Q30,P108,c(Q3918))
action filter_type
action find
entity Q684863
relation P108
type Q3918
['Q30', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { resource:Q684863 property:P108 ?v . ?v rdf:type ontology:Q3918 }
Joseph Jastrow
action filter_type
action find
entity Joseph Jastrow
relation employer
type university
['United States of America', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { resource:Joseph_Jastrow property:employer ?v . ?v rdf:type ontology:university }
[]
university
Q838330
SYSTEM
University of Wisconsin–Madison
Q838330
(Q30,P108,c(Q3918))
action filter_type
action find
entity Q684863
relation P108
type Q3918
[ANSWER] is the workplace of that person
['Q30', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { resource:Q684863 property:P108 ?v . ?v rdf:type ontology:Q3918 }
University of Wisconsin–Madison
University of Wisconsin–Madison is the workplace of that person
University of Wisconsin–Madison
action filter_type
action find
entity Joseph Jastrow
relation employer
type university
['United States of America', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { resource:Joseph_Jastrow property:employer ?v . ?v rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that university a part of ?
(Q838330,P17,c(Q15617994))
action count
action filter_type
action find
entity Q838330
relation P17
type Q15617994
['Q838330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q838330 property:P17 ?c }
action count
action filter_type
action find
entity University of Wisconsin–Madison
relation country
type designation for an administrative territorial entity
['University of Wisconsin–Madison', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Wisconsin–Madison property:country ?c }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q838330,P17,c(Q15617994))
action count
action filter_type
action find
entity Q838330
relation P17
type Q15617994
[ANSWER]
['Q838330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q838330 property:P17 ?c }
United States of America
1
action count
action filter_type
action find
entity University of Wisconsin–Madison
relation country
type designation for an administrative territorial entity
['University of Wisconsin–Madison', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Wisconsin–Madison property:country ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P287
Q43229 Q12280 Q12800
USER
How many organizations are the designers of atmost 2 bridges and machine guns ?
(c(Q12280)|c(Q12800),P287,c(Q43229))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q12280
action find_reverse_tuple_counts
relation P287
type Q43229
type Q12800
value 2
[[{'concept': 'Q12280'}, {'concept': 'Q12800'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:P287 ?p . ?p rdf:type ontology:Q43229 . ?r rdf:type ontology:Q12800 } UNION { ?r property:P287 ?p . ?p rdf:type ontology:Q43229 . ?r rdf:type ontology:Q12280 } } GROUP BY ?p } . FILTER ( ?g <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation designer
type organization
type bridge
action find_reverse_tuple_counts
relation designer
type organization
type machine gun
value 2
[[{'concept': 'bridge'}, {'concept': 'machine gun'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:designer ?p . ?p rdf:type ontology:organization . ?r rdf:type ontology:machine_gun } UNION { ?r property:designer ?p . ?p rdf:type ontology:organization . ?r rdf:type ontology:bridge } } GROUP BY ?p } . FILTER ( ?g <= 2 ) }
[]
organization bridge machine gun
SYSTEM
262
Q1092174 Q4584533 Q29570 Q2425254 Q339794 Q45464 Q1964355 Q54173 Q11069710 Q3664754 Q4937112 Q3342765 Q132358 Q7077816 Q380 Q2861280 Q1983444 Q3719328 Q1787417 Q286133 Q6970468 Q1187008 Q342149 Q1109101 Q763052 Q949211 Q297303 Q5764127 Q648280 Q1069374 Q391795 Q502940 Q568068 Q6757785 Q4304815 Q5583748 Q161544 Q1333973 Q1197161 Q1806199 Q7989044 Q692083 Q1992233 Q1656412 Q35953 Q1325893 Q1469447 Q312 Q7086908 Q3139345 Q3787625 Q1340702 Q898208 Q381498 Q186012 Q705706 Q784898 Q475539 Q534384 Q3700371 Q2562433 Q1054787 Q6254920 Q163566 Q3310 Q28616 Q37033 Q2843050 Q159656 Q5179106 Q248 Q6484015 Q6809977 Q613116 Q40987 Q4253061 Q3178370 Q2630674 Q881863 Q1045332 Q591359 Q162257 Q1508526 Q1427620 Q377192 Q4231577 Q4456865 Q1889710 Q1957169 Q4353824 Q626800 Q9386292 Q7240 Q6033869 Q29041 Q7100884 Q2025089 Q5276922 Q1126617 Q869106 Q27325 Q329953 Q5467457 Q2439883 Q1331507 Q3143670 Q890353 Q5972449 Q388314 Q5582969 Q705330 Q6047458 Q2011495 Q238765 Q13220673 Q1660051 Q3519453 Q899183 Q163580 Q56884 Q1519410 Q568501 Q2378739 Q3030436 Q463090 Q3398859 Q283754 Q1752554 Q234021 Q1902231 Q488396 Q1441318 Q7615457 Q2904527 Q7946038 Q3357285 Q5463408 Q2264873 Q4979665 Q164484 Q4036694 Q81230 Q258101 Q485036 Q3526589 Q689159 Q465370 Q7322867 Q7863311 Q1762250 Q1780678 Q966509 Q2621070 Q152815 Q128896 Q7490428 Q7431877 Q7194993 Q618898 Q21505337 Q747353 Q4042267 Q442850 Q4650452 Q49053 Q2605526 Q1806882 Q53257 Q29739 Q296782 Q324171 Q3704981 Q2382556 Q2529871 Q2123113 Q623503 Q6379433 Q154610 Q281506 Q541477 Q1432129 Q295481 Q49125 Q4356667 Q148220 Q3493463 Q2280505 Q702135 Q53238 Q238620 Q904589 Q5418561 Q3277383 Q819150 Q563107 Q1969091 Q2946159 Q4049985 Q1538336 Q183207 Q2299928 Q2066773 Q2375623 Q4040770 Q3064033 Q1346872 Q2548367 Q3129142 Q5005151 Q1569414 Q600277 Q5523201 Q6079994 Q4899048 Q937801 Q679201 Q727963 Q745019 Q10298933 Q632404 Q751494 Q1393054 Q5169363 Q1122504 Q2891341 Q2140930 Q2012301 Q383589 Q156644 Q5532042 Q423317 Q201815 Q2031258 Q535381 Q3484940 Q5500480 Q324782 Q6732036 Q5436204 Q2424888 Q1148423 Q2660084 Q2714331 Q5711025 Q911891 Q5570754 Q398878 Q571665 Q7427495 Q5531850 Q664420 Q206228 Q1529234 Q1514676 Q16246329 Q597047 Q848977 Q2468427 Q4476694 Q336811 Q716737 Q1026759
(c(Q12280)|c(Q12800),P287,c(Q43229))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q12280
action find_reverse_tuple_counts
relation P287
type Q43229
type Q12800
value 2
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q12800'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:P287 ?p . ?p rdf:type ontology:Q43229 . ?r rdf:type ontology:Q12800 } UNION { ?r property:P287 ?p . ?p rdf:type ontology:Q43229 . ?r rdf:type ontology:Q12280 } } GROUP BY ?p } . FILTER ( ?g <= 2 ) }
Neilson and Company Webley & Scott Chevrolet Kharkiv Morozov Machine Building Design Bureau Accuracy International Tatra Nammo General Electric Oerlikon Contraves Centre Style Fiat Boeing Australia Noise Factory Epoch Co. Odin Computer Graphics Facebook Inc. Arika Uralmash ST Engineering Star Bonifacio Echeverria AAI Corporation National Arms Company Denel Acorn Computers College of Arms Vickers-Armstrongs Lavochkin ASCII RPC Fort Mitsubishi Heavy Industries Chemins de fer de l'Ouest Škoda Works General Dynamics Moleskine Marconi Electronic Systems Motovilikha Plants Goodyear Aerospace Rheinmetall Elswick Ordnance Company Valmet Springfield Armory Westley Richards Schweizerische Industrie Gesellschaft Izhevsk Mechanical Plant Short Brothers MAN SE General Dynamics Electric Boat Winchester Repeating Arms Company Apple Olin Corporation Holistic Design BAe Dynamics Jane's Information Group Honeywell Aerojet HTC Corporation Walther arms Büssing Deutsche Waffen und Munitionsfabriken Maschinenbau Kiel NPO Novator Volgograd Tractor Factory Nippon Telegraph and Telephone John Rigby & Company KUKA SAKO GAZ World Wide Web Consortium American Type Founders Krupp Coventry Ordnance Works Intel Land Warfare Resources Corporation Meier & Frank Patria Pininfarina Lazurit Central Design Bureau Taisei Corporation Malyshev Factory Blaser Carrozzeria Touring Steyr Mannlicher Komatsu Limited Sturm, Ruger & Co. State Space Agency of Ukraine The Designers Republic Omsktransmash Technoavia Oto Melara STI International Ford Aerospace Martin Marietta Zakłady Mechaniczne Tarnów Lockheed Martin Inhuman Games Hanomag Ordnance Factory Tiruchirappalli Bazalt Dillon Aero Leyland Motors EA Sports Bertone Northrop Grumman Force Protection Europe Degtyarev plant Almaz-Antey Hyder Consulting Bofors INSYS International Union of Railways Good Technology Sauer & Sohn Intermetrics Vulcan Foundry Alliant Techsystems Vickers IMBEL Thales Australia FMC Corporation Henschel & Sohn Mechanical and Chemical Industry Corporation Marlin Firearms Electro-Motive Diesel Kharkiv Tractor Plant Disney Interactive Smith & Wesson Holland & Holland Italdesign Giugiaro Telecommunications Industry Association Robert Bosch GmbH Marmon-Herrington United Defense Franchi Stevens Arms Birmingham Railway Carriage and Wagon Company W. W. Greener Kongsberg Defence & Aerospace Flying Edge Vivendi Games Brush Development Company Hornby Railways Crosman Siemens Fantasy Productions S&T Daewoo Tikhomirov Scientific Research Institute of Instrument Design Armstrong Whitworth Demag Ricardo plc U.S. Repeating Arms Company Uralvagonzavod CETME Sergei Tumansky Kirov Plant Heckler & Koch Advanced Micro Devices Sharps Rifle Manufacturing Company Schneider et Cie Pindad Yuzhnoye Design Office Terence Disdale Design FN Herstal KnowWonder Alkett AB Landsverk Schneider Electric I.DE.A Institute Allis-Chalmers Mitsubishi Electric Navistar International ARM Holdings Benelli italie GSKB Almaz-Antey MKB Raduga Voere Quicksilva William Beardmore and Company Weatherby Rafael Advanced Defense Systems Alvis plc Daimler-Benz Royal Small Arms Factory AM General Toshiba Fairlight Zastava Arms Spie Batignolles SIG Sauer Glock Ges.m.b.H. Hitachi Knight's Armament Company Breda Evoga Magpul Industries Krauss-Maffei Hanwha Techwin Oshkosh Corporation Research center Fiat Spümcø Norinco Makeyev Rocket Design Bureau Tula Arms Plant Tampella Synapse Software Hornady Łucznik Arms Factory Savage Arms ROKETSAN Heavy Industries Taxila Böhler Saab Dynamics Chelyabinsk Tractor Plant Gargoyle Games Ishapore Rifle Factory Huta Stalowa Wola Alienware Friedrich Krupp AG Fegyver- és Gépgyár Colt's Manufacturing Company Hunslet Engine Company Westinghouse Electric North British Locomotive Company Fairbanks-Morse Cor-Bon Remington Arms Batignolles-Châtillon Walt Disney Imagineering Obukhov State Plant American Locomotive Company Raytheon General Motors Diesel Division Nagant McDonnell Douglas Western Electric Palladium Books ST Kinetics Freedom Arms Beretta Magnum Research Farr Yacht Design Soltam Systems Israel Military Industries Israel Weapon Industries Philco Defense Industries Organization Howa Global VR AgustaWestland Nexter Concern «Kalashnikov» General Dynamics Land Systems Brown, Boveri & Cie Otokar Rockwell Automation Norma Precision ESS Technology GKN Harland and Wolff Rubin Design Bureau Uraltransmash ČKD Arup Calico Light Weapons Systems
262
action count
action atmost
action union
action find_reverse_tuple_counts
relation designer
type organization
type bridge
action find_reverse_tuple_counts
relation designer
type organization
type machine gun
value 2
[[{'concept': 'bridge'}, {'concept': 'machine gun'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:designer ?p . ?p rdf:type ontology:organization . ?r rdf:type ontology:machine_gun } UNION { ?r property:designer ?p . ?p rdf:type ontology:organization . ?r rdf:type ontology:bridge } } GROUP BY ?p } . FILTER ( ?g <= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q2342494 Q838948
USER
Which administrative territories are depicted in exactly 1 collectables or works of art ?
(c(Q2342494)|c(Q838948),P180,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?l } GROUP BY ?a } }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?l } GROUP BY ?a } }
[]
designation for an administrative territorial entity collectable work of art
Q1011 Q79 Q298
SYSTEM
Cape Verde, Egypt, Chile
Q1028 Q298 Q79 Q1011 Q913434
(c(Q2342494)|c(Q838948),P180,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWERS] are depicted in exactly 1 collectables or works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?l } GROUP BY ?a } }
Morocco Chile Egypt Cape Verde Les Halles
Cape Verde, Egypt and Chile are depicted in exactly 1 collectables or works of art
Cape Verde Egypt Chile
action equal
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?i ) WHERE { VALUES ( ?l ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?l } GROUP BY ?a } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have diplomatic associations with those ones ?
(Q155,P530,Q1011) (Q155,P530,Q79) (Q155,P530,Q298)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q1011'] ['Q155', 'P530', 'Q79'] ['Q155', 'P530', 'Q298']
ASK WHERE { resource:Q155 property:P530 ?w . VALUES ( ?w ) { ( resource:Q1028 ) ( resource:Q298 ) ( resource:Q79 ) } }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Cape Verde'] ['Brazil', 'diplomatic relation', 'Egypt'] ['Brazil', 'diplomatic relation', 'Chile']
ASK WHERE { resource:Brazil property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Morocco ) ( resource:Chile ) ( resource:Egypt ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q1011) (Q155,P530,Q79) (Q155,P530,Q298)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q1011'] ['Q155', 'P530', 'Q79'] ['Q155', 'P530', 'Q298']
ASK WHERE { resource:Q155 property:P530 ?w . VALUES ( ?w ) { ( resource:Q1028 ) ( resource:Q298 ) ( resource:Q79 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Cape Verde'] ['Brazil', 'diplomatic relation', 'Egypt'] ['Brazil', 'diplomatic relation', 'Chile']
ASK WHERE { resource:Brazil property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Morocco ) ( resource:Chile ) ( resource:Egypt ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1320224
P414
Q43229 Q1269299 Q43229
USER
Which organizations are more number of business organizations or organizations traded at than Osaka Exchange ?
(c(Q1269299)|c(Q43229),P414,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1320224
relation P414
type Q1269299
type Q43229
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?h WHERE { { ?n property:P414 ?h . ?h rdf:type ontology:Q43229 . ?n rdf:type ontology:Q1269299 } UNION { ?n property:P414 ?h . ?n rdf:type ontology:Q43229 . ?h rdf:type ontology:Q43229 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P414 resource:Q1320224 . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1269299 ) ( ontology:Q43229 ) } } } } . FILTER ( ?e > ?g ) }
Osaka Exchange
action greater
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action count
action filter_multi_types
action find_reverse
entity Osaka Exchange
relation stock exchange
type type of business entity
type organization
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?h WHERE { { ?n property:stock_exchange ?h . ?h rdf:type ontology:organization . ?n rdf:type ontology:type_of_business_entity } UNION { ?n property:stock_exchange ?h . ?n rdf:type ontology:organization . ?h rdf:type ontology:organization } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:stock_exchange resource:Osaka_Exchange . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_business_entity ) ( ontology:organization ) } } } } . FILTER ( ?e > ?g ) }
[]
organization type of business entity organization
Q909158 Q936563 Q140388
SYSTEM
Oslo Stock Exchange, Borsa Italiana, Zagreb Stock Exchange
Q495372 Q1930860 Q732670 Q909158 Q140388 Q496672 Q936563 Q1132158 Q698535 Q3642744
(c(Q1269299)|c(Q43229),P414,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1320224
relation P414
type Q1269299
type Q43229
[ANSWERS] are more number of business organizations or organizations traded at than Osaka Exchange
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?h WHERE { { ?n property:P414 ?h . ?h rdf:type ontology:Q43229 . ?n rdf:type ontology:Q1269299 } UNION { ?n property:P414 ?h . ?n rdf:type ontology:Q43229 . ?h rdf:type ontology:Q43229 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P414 resource:Q1320224 . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1269299 ) ( ontology:Q43229 ) } } } } . FILTER ( ?e > ?g ) }
Korea Exchange OTC Markets Group Australian Securities Exchange Oslo Stock Exchange Zagreb Stock Exchange Hong Kong Stock Exchange Borsa Italiana Nasdaq Nordic Wiener Börse Stock Exchange in Milano
Oslo Stock Exchange, Borsa Italiana and Zagreb Stock Exchange are more number of business organizations or organizations traded at than Osaka Exchange
Oslo Stock Exchange Borsa Italiana Zagreb Stock Exchange
action greater
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action count
action filter_multi_types
action find_reverse
entity Osaka Exchange
relation stock exchange
type type of business entity
type organization
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?h WHERE { { ?n property:stock_exchange ?h . ?h rdf:type ontology:organization . ?n rdf:type ontology:type_of_business_entity } UNION { ?n property:stock_exchange ?h . ?n rdf:type ontology:organization . ?h rdf:type ontology:organization } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:stock_exchange resource:Osaka_Exchange . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_business_entity ) ( ontology:organization ) } } } } . FILTER ( ?e > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q698535
P414
Q43229 Q1269299 Q43229
USER
And what about Wiener Börse?
(c(Q1269299)|c(Q43229),P414,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q698535
relation P414
type Q1269299
type Q43229
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1269299 ) ( ontology:Q43229 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } . ?b property:P414 resource:Q698535 } } . FILTER ( ?m > ?s ) }
Wiener Börse
action greater
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action count
action filter_multi_types
action find_reverse
entity Wiener Börse
relation stock exchange
type type of business entity
type organization
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:type_of_business_entity ) ( ontology:organization ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } . ?b property:stock_exchange resource:Wiener_Börse } } . FILTER ( ?m > ?s ) }
[]
organization type of business entity organization
Q909158 Q936563 Q140388
SYSTEM
Oslo Stock Exchange, Borsa Italiana, Zagreb Stock Exchange
Q495372 Q1930860 Q732670 Q909158 Q140388 Q496672 Q936563 Q1132158 Q3642744
(c(Q1269299)|c(Q43229),P414,c(Q43229))
action greater
action union
action find_reverse_tuple_counts
relation P414
type Q43229
type Q1269299
action find_reverse_tuple_counts
relation P414
type Q43229
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q698535
relation P414
type Q1269299
type Q43229
[ANSWERS]
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P414', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1269299 ) ( ontology:Q43229 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } . ?b property:P414 resource:Q698535 } } . FILTER ( ?m > ?s ) }
Korea Exchange OTC Markets Group Australian Securities Exchange Oslo Stock Exchange Zagreb Stock Exchange Hong Kong Stock Exchange Borsa Italiana Nasdaq Nordic Stock Exchange in Milano
Oslo Stock Exchange Borsa Italiana Zagreb Stock Exchange
action greater
action union
action find_reverse_tuple_counts
relation stock exchange
type organization
type type of business entity
action find_reverse_tuple_counts
relation stock exchange
type organization
type organization
action count
action filter_multi_types
action find_reverse
entity Wiener Börse
relation stock exchange
type type of business entity
type organization
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'stock exchange', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:type_of_business_entity ) ( ontology:organization ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } . ?b property:stock_exchange resource:Wiener_Börse } } . FILTER ( ?m > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3886404
P931
Q56061
USER
Which administrative territory does Moyale Airport serve ?
(Q3886404,P931,c(Q56061))
action filter_type
action find
entity Q3886404
relation P931
type Q56061
['Q3886404', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3886404 property:P931 ?r . ?r rdf:type ontology:Q56061 }
Moyale Airport
action filter_type
action find
entity Moyale Airport
relation place served by airport
type administrative territorial entity
['Moyale Airport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Moyale_Airport property:place_served_by_airport ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1009179
SYSTEM
Moyale
Q1009179
(Q3886404,P931,c(Q56061))
action filter_type
action find
entity Q3886404
relation P931
type Q56061
[ANSWER] Airport serves the [ANSWER]
['Q3886404', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3886404 property:P931 ?r . ?r rdf:type ontology:Q56061 }
Moyale
Moyale Airport serves the Moyale
Moyale
action filter_type
action find
entity Moyale Airport
relation place served by airport
type administrative territorial entity
['Moyale Airport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Moyale_Airport property:place_served_by_airport ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]