Simple Question (Direct)
Simple Question
Q3561781
P119
Q43229
USER
Where was Vladimir Georgievitch Gelfreich buried ?
(Q3561781,P119,c(Q43229))
action filter_type
action find
entity Q3561781
relation P119
type Q43229
['Q3561781', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q3561781 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Vladimir Georgievitch Gelfreich
action filter_type
action find
entity Vladimir Georgievitch Gelfreich
relation place of burial
type organization
['Vladimir Georgievitch Gelfreich', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Vladimir_Georgievitch_Gelfreich property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q3561781,P119,c(Q43229))
action filter_type
action find
entity Q3561781
relation P119
type Q43229
Vladimir Georgievitch Gelfreich was buried in [ANSWER]
['Q3561781', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q3561781 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Novodevichy Cemetery
Vladimir Georgievitch Gelfreich was buried in Novodevichy Cemetery
Novodevichy Cemetery
action filter_type
action find
entity Vladimir Georgievitch Gelfreich
relation place of burial
type organization
['Vladimir Georgievitch Gelfreich', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Vladimir_Georgievitch_Gelfreich property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3561781
P27
Q7275
USER
Which state does that person belong to ?
(Q208175,P27,c(Q7275))
action filter_type
action find
entity Q3561781
relation P27
type Q7275
['Q208175', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { resource:Q3561781 property:P27 ?f . ?f rdf:type ontology:Q7275 }
Vladimir Georgievitch Gelfreich
action filter_type
action find
entity Vladimir Georgievitch Gelfreich
relation country of citizenship
type state
['Novodevichy Cemetery', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { resource:Vladimir_Georgievitch_Gelfreich property:country_of_citizenship ?f . ?f rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q208175,P27,c(Q7275))
action filter_type
action find
entity Q3561781
relation P27
type Q7275
That person belongs to [ANSWER]
['Q208175', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { resource:Q3561781 property:P27 ?f . ?f rdf:type ontology:Q7275 }
Soviet Union
That person belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Vladimir Georgievitch Gelfreich
relation country of citizenship
type state
['Novodevichy Cemetery', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { resource:Vladimir_Georgievitch_Gelfreich property:country_of_citizenship ?f . ?f rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4040770
P287
Q43229 Q81103 Q4407246
USER
Which organizations designed approximately the same number of cannons or armored personnel carriers as Hornady ?
(c(Q81103)|c(Q4407246),P287,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q81103
action find_reverse_tuple_counts
relation P287
type Q43229
type Q4407246
action count
action filter_multi_types
action find_reverse
entity Q4040770
relation P287
type Q81103
type Q4407246
[[{'concept': 'Q81103'}, {'concept': 'Q4407246'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?m ) WHERE { { ?a rdf:type ontology:Q43229 . ?g rdf:type ontology:Q81103 . ?g property:P287 ?a } UNION { ?a rdf:type ontology:Q43229 . ?g rdf:type ontology:Q4407246 . ?g property:P287 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:Q81103 } UNION { ?n rdf:type ontology:Q4407246 } } . ?n property:P287 resource:Q4040770 } } . FILTER ( ?m = ?q ) }
Hornady
action approx
action union
action find_reverse_tuple_counts
relation designer
type organization
type cannon
action find_reverse_tuple_counts
relation designer
type organization
type armored personnel carrier
action count
action filter_multi_types
action find_reverse
entity Hornady
relation designer
type cannon
type armored personnel carrier
[[{'concept': 'cannon'}, {'concept': 'armored personnel carrier'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?m ) WHERE { { ?a rdf:type ontology:organization . ?g rdf:type ontology:cannon . ?g property:designer ?a } UNION { ?a rdf:type ontology:organization . ?g rdf:type ontology:armored_personnel_carrier . ?g property:designer ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:cannon } UNION { ?n rdf:type ontology:armored_personnel_carrier } } . ?n property:designer resource:Hornady } } . FILTER ( ?m = ?q ) }
[]
organization cannon armored personnel carrier
Q702135 Q312 Q81230
SYSTEM
Glock Ges.m.b.H., Apple, Siemens
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 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 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 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 Q7427495 Q5531850 Q664420 Q206228 Q1529234 Q1514676 Q16246329 Q597047 Q848977 Q2468427 Q4476694 Q336811 Q716737 Q1026759
(c(Q81103)|c(Q4407246),P287,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q81103
action find_reverse_tuple_counts
relation P287
type Q43229
type Q4407246
action count
action filter_multi_types
action find_reverse
entity Q4040770
relation P287
type Q81103
type Q4407246
[ANSWERS] designed approximately the same number of cannons or armored personnel carriers as Hornady
[[{'concept': 'Q81103'}, {'concept': 'Q4407246'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?m ) WHERE { { ?a rdf:type ontology:Q43229 . ?g rdf:type ontology:Q81103 . ?g property:P287 ?a } UNION { ?a rdf:type ontology:Q43229 . ?g rdf:type ontology:Q4407246 . ?g property:P287 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:Q81103 } UNION { ?n rdf:type ontology:Q4407246 } } . ?n property:P287 resource:Q4040770 } } . FILTER ( ?m = ?q ) }
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 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 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 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 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
Glock Ges.m.b.H., Apple and Siemens designed approximately the same number of cannons or armored personnel carriers as Hornady
Glock Ges.m.b.H. Apple Siemens
action approx
action union
action find_reverse_tuple_counts
relation designer
type organization
type cannon
action find_reverse_tuple_counts
relation designer
type organization
type armored personnel carrier
action count
action filter_multi_types
action find_reverse
entity Hornady
relation designer
type cannon
type armored personnel carrier
[[{'concept': 'cannon'}, {'concept': 'armored personnel carrier'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?m ) WHERE { { ?a rdf:type ontology:organization . ?g rdf:type ontology:cannon . ?g property:designer ?a } UNION { ?a rdf:type ontology:organization . ?g rdf:type ontology:armored_personnel_carrier . ?g property:designer ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:cannon } UNION { ?n rdf:type ontology:armored_personnel_carrier } } . ?n property:designer resource:Hornady } } . FILTER ( ?m = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q388314
P287
Q43229 Q81103 Q4407246
USER
And how about International Union of Railways?
(c(Q81103)|c(Q4407246),P287,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q81103
action find_reverse_tuple_counts
relation P287
type Q43229
type Q4407246
action count
action filter_multi_types
action find_reverse
entity Q388314
relation P287
type Q81103
type Q4407246
[[{'concept': 'Q81103'}, {'concept': 'Q4407246'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?i property:P287 ?s . ?s rdf:type ontology:Q43229 . ?i rdf:type ontology:Q4407246 } UNION { ?i rdf:type ontology:Q81103 . ?s rdf:type ontology:Q43229 . ?i property:P287 ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P287 resource:Q388314 . { { ?f rdf:type ontology:Q81103 } UNION { ?f rdf:type ontology:Q4407246 } } } } . FILTER ( ?m = ?x ) }
International Union of Railways
action approx
action union
action find_reverse_tuple_counts
relation designer
type organization
type cannon
action find_reverse_tuple_counts
relation designer
type organization
type armored personnel carrier
action count
action filter_multi_types
action find_reverse
entity International Union of Railways
relation designer
type cannon
type armored personnel carrier
[[{'concept': 'cannon'}, {'concept': 'armored personnel carrier'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?i property:designer ?s . ?s rdf:type ontology:organization . ?i rdf:type ontology:armored_personnel_carrier } UNION { ?i rdf:type ontology:cannon . ?s rdf:type ontology:organization . ?i property:designer ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:designer resource:International_Union_of_Railways . { { ?f rdf:type ontology:cannon } UNION { ?f rdf:type ontology:armored_personnel_carrier } } } } . FILTER ( ?m = ?x ) }
[]
organization cannon armored personnel carrier
Q702135 Q312 Q81230
SYSTEM
Glock Ges.m.b.H., Apple, Siemens
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 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 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 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 Q7427495 Q5531850 Q664420 Q206228 Q1529234 Q1514676 Q16246329 Q597047 Q848977 Q2468427 Q4476694 Q336811 Q716737 Q1026759
(c(Q81103)|c(Q4407246),P287,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q81103
action find_reverse_tuple_counts
relation P287
type Q43229
type Q4407246
action count
action filter_multi_types
action find_reverse
entity Q388314
relation P287
type Q81103
type Q4407246
[ANSWERS]
[[{'concept': 'Q81103'}, {'concept': 'Q4407246'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?i property:P287 ?s . ?s rdf:type ontology:Q43229 . ?i rdf:type ontology:Q4407246 } UNION { ?i rdf:type ontology:Q81103 . ?s rdf:type ontology:Q43229 . ?i property:P287 ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P287 resource:Q388314 . { { ?f rdf:type ontology:Q81103 } UNION { ?f rdf:type ontology:Q4407246 } } } } . FILTER ( ?m = ?x ) }
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 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 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 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 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
Glock Ges.m.b.H. Apple Siemens
action approx
action union
action find_reverse_tuple_counts
relation designer
type organization
type cannon
action find_reverse_tuple_counts
relation designer
type organization
type armored personnel carrier
action count
action filter_multi_types
action find_reverse
entity International Union of Railways
relation designer
type cannon
type armored personnel carrier
[[{'concept': 'cannon'}, {'concept': 'armored personnel carrier'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?i property:designer ?s . ?s rdf:type ontology:organization . ?i rdf:type ontology:armored_personnel_carrier } UNION { ?i rdf:type ontology:cannon . ?s rdf:type ontology:organization . ?i property:designer ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:designer resource:International_Union_of_Railways . { { ?f rdf:type ontology:cannon } UNION { ?f rdf:type ontology:armored_personnel_carrier } } } } . FILTER ( ?m = ?x ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q702135 Q312 Q81230
P355
Q43229
USER
Which organizations are an auxiliary of Glock Ges.m.b.H., Apple and Siemens ?
(Q702135,P355,c(Q43229)) (Q312,P355,c(Q43229)) (Q81230,P355,c(Q43229))
action union
action filter_type
action find
entity Q702135
relation P355
type Q43229
action filter_type
action find
entity Q312
relation P355
type Q43229
action filter_type
action find
entity Q81230
relation P355
type Q43229
['Q702135', 'P355', {'concept': 'Q43229'}] ['Q312', 'P355', {'concept': 'Q43229'}] ['Q81230', 'P355', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { resource:Q312 property:P355 ?m . ?m rdf:type ontology:Q43229 } UNION { resource:Q702135 property:P355 ?m . ?m rdf:type ontology:Q43229 } }
Glock Ges.m.b.H. Apple Siemens
action union
action filter_type
action find
entity Glock Ges.m.b.H.
relation subsidiary
type organization
action filter_type
action find
entity Apple
relation subsidiary
type organization
action filter_type
action find
entity Siemens
relation subsidiary
type organization
['Glock Ges.m.b.H.', 'subsidiary', {'concept': 'organization'}] ['Apple', 'subsidiary', {'concept': 'organization'}] ['Siemens', 'subsidiary', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { resource:Apple property:subsidiary ?m . ?m rdf:type ontology:organization } UNION { resource:Glock_Ges.m.b.H. property:subsidiary ?m . ?m rdf:type ontology:organization } }
[]
organization
Q1961036 Q1440421 Q22814849
SYSTEM
Beats Electronics, Siemens Energy Sector, Glock Inc.
Q22814849 Q1982831 Q1961036 Q16835875 Q7298416 Q2893391 Q7245704 Q421253 Q7431115 Q4038751 Q15898201 Q1440421 Q5434695 Q1671060
(Q702135,P355,c(Q43229)) (Q312,P355,c(Q43229)) (Q81230,P355,c(Q43229))
action union
action filter_type
action find
entity Q702135
relation P355
type Q43229
action filter_type
action find
entity Q312
relation P355
type Q43229
action filter_type
action find
entity Q81230
relation P355
type Q43229
[ANSWERS] are an auxiliary of Glock Ges.m.b.H., Apple and Siemens
['Q702135', 'P355', {'concept': 'Q43229'}] ['Q312', 'P355', {'concept': 'Q43229'}] ['Q81230', 'P355', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { resource:Q312 property:P355 ?m . ?m rdf:type ontology:Q43229 } UNION { resource:Q702135 property:P355 ?m . ?m rdf:type ontology:Q43229 } }
Glock Inc. FileMaker, Inc. Beats Electronics AuthenTec Raycer Anobit Prismo Graphics Apple Store SchemaSoft FingerWorks Siemens PLM Software Siemens Energy Sector Faraday Siemens Financial Services
Beats Electronics, Siemens Energy Sector and Glock Inc. are an auxiliary of Glock Ges.m.b.H., Apple and Siemens
Beats Electronics Siemens Energy Sector Glock Inc.
action union
action filter_type
action find
entity Glock Ges.m.b.H.
relation subsidiary
type organization
action filter_type
action find
entity Apple
relation subsidiary
type organization
action filter_type
action find
entity Siemens
relation subsidiary
type organization
['Glock Ges.m.b.H.', 'subsidiary', {'concept': 'organization'}] ['Apple', 'subsidiary', {'concept': 'organization'}] ['Siemens', 'subsidiary', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { resource:Apple property:subsidiary ?m . ?m rdf:type ontology:organization } UNION { resource:Glock_Ges.m.b.H. property:subsidiary ?m . ?m rdf:type ontology:organization } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1961036 Q1440421 Q22814849
P749
Q43229
USER
Which organizations are the parent organizations of those ones ?
(Q1961036,P749,c(Q43229)) (Q1440421,P749,c(Q43229)) (Q22814849,P749,c(Q43229))
action filter_type
action find
entity prev_answer
relation P749
type Q43229
['Q1961036', 'P749', {'concept': 'Q43229'}] ['Q1440421', 'P749', {'concept': 'Q43229'}] ['Q22814849', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?r ) { ( resource:Q22814849 ) ( resource:Q1982831 ) ( resource:Q1961036 ) } . ?n rdf:type ontology:Q43229 . ?r property:P749 ?n }
Beats Electronics Siemens Energy Sector Glock Inc.
action filter_type
action find
entity prev_answer
relation parent organization
type organization
['Beats Electronics', 'parent organization', {'concept': 'organization'}] ['Siemens Energy Sector', 'parent organization', {'concept': 'organization'}] ['Glock Inc.', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?r ) { ( resource:Glock_Inc. ) ( resource:FileMaker,_Inc. ) ( resource:Beats_Electronics ) } . ?n rdf:type ontology:organization . ?r property:parent_organization ?n }
[]
organization
Q702135 Q312 Q81230
SYSTEM
Glock Ges.m.b.H., Apple, Siemens
Q186012 Q312 Q81230 Q702135
(Q1961036,P749,c(Q43229)) (Q1440421,P749,c(Q43229)) (Q22814849,P749,c(Q43229))
action filter_type
action find
entity prev_answer
relation P749
type Q43229
[ANSWERS] are the parent organizations of those ones
['Q1961036', 'P749', {'concept': 'Q43229'}] ['Q1440421', 'P749', {'concept': 'Q43229'}] ['Q22814849', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?r ) { ( resource:Q22814849 ) ( resource:Q1982831 ) ( resource:Q1961036 ) } . ?n rdf:type ontology:Q43229 . ?r property:P749 ?n }
HTC Corporation Apple Siemens Glock Ges.m.b.H.
Glock Ges.m.b.H., Apple and Siemens are the parent organizations of those ones
Glock Ges.m.b.H. Apple Siemens
action filter_type
action find
entity prev_answer
relation parent organization
type organization
['Beats Electronics', 'parent organization', {'concept': 'organization'}] ['Siemens Energy Sector', 'parent organization', {'concept': 'organization'}] ['Glock Inc.', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?r ) { ( resource:Glock_Inc. ) ( resource:FileMaker,_Inc. ) ( resource:Beats_Electronics ) } . ?n rdf:type ontology:organization . ?r property:parent_organization ?n }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q702135 Q312 Q81230
P112
Q502895
USER
Who were the founders of Glock Ges.m.b.H., Apple and Siemens ?
(Q702135,P112,c(Q502895)) (Q312,P112,c(Q502895)) (Q81230,P112,c(Q502895))
action union
action filter_type
action find
entity Q702135
relation P112
type Q502895
action filter_type
action find
entity Q312
relation P112
type Q502895
action filter_type
action find
entity Q81230
relation P112
type Q502895
['Q702135', 'P112', {'concept': 'Q502895'}] ['Q312', 'P112', {'concept': 'Q502895'}] ['Q81230', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { resource:Q702135 property:P112 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q312 property:P112 ?a . ?a rdf:type ontology:Q502895 } }
Glock Ges.m.b.H. Apple Siemens
action union
action filter_type
action find
entity Glock Ges.m.b.H.
relation founder
type common name
action filter_type
action find
entity Apple
relation founder
type common name
action filter_type
action find
entity Siemens
relation founder
type common name
['Glock Ges.m.b.H.', 'founder', {'concept': 'common name'}] ['Apple', 'founder', {'concept': 'common name'}] ['Siemens', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { resource:Glock_Ges.m.b.H. property:founder ?a . ?a rdf:type ontology:common_name } UNION { resource:Apple property:founder ?a . ?a rdf:type ontology:common_name } }
[]
common name
Q19837 Q58577 Q483382
SYSTEM
Steve Jobs, Ernst Werner von Siemens, Steve Wozniak
Q112193 Q332591 Q483382 Q19837 Q58577
(Q702135,P112,c(Q502895)) (Q312,P112,c(Q502895)) (Q81230,P112,c(Q502895))
action union
action filter_type
action find
entity Q702135
relation P112
type Q502895
action filter_type
action find
entity Q312
relation P112
type Q502895
action filter_type
action find
entity Q81230
relation P112
type Q502895
The founders of Glock Ges.m.b.H. , Apple and Siemens were named [ANSWERS]
['Q702135', 'P112', {'concept': 'Q502895'}] ['Q312', 'P112', {'concept': 'Q502895'}] ['Q81230', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { resource:Q702135 property:P112 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q312 property:P112 ?a . ?a rdf:type ontology:Q502895 } }
Gaston Glock Ronald Wayne Steve Wozniak Steve Jobs Ernst Werner von Siemens
The founders of Glock Ges.m.b.H. , Apple and Siemens were named Steve Jobs, Ernst Werner von Siemens and Steve Wozniak
Steve Jobs Ernst Werner von Siemens Steve Wozniak
action union
action filter_type
action find
entity Glock Ges.m.b.H.
relation founder
type common name
action filter_type
action find
entity Apple
relation founder
type common name
action filter_type
action find
entity Siemens
relation founder
type common name
['Glock Ges.m.b.H.', 'founder', {'concept': 'common name'}] ['Apple', 'founder', {'concept': 'common name'}] ['Siemens', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { resource:Glock_Ges.m.b.H. property:founder ?a . ?a rdf:type ontology:common_name } UNION { resource:Apple property:founder ?a . ?a rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19837 Q58577 Q483382
P112
Q43229
USER
Which organizations were founded by those people ?
(c(Q43229),P112,Q19837) (c(Q43229),P112,Q58577) (c(Q43229),P112,Q483382)
action filter_type
action find_reverse
entity prev_answer
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q19837'] [{'concept': 'Q43229'}, 'P112', 'Q58577'] [{'concept': 'Q43229'}, 'P112', 'Q483382']
SELECT DISTINCT ?e WHERE { ?e property:P112 ?p . VALUES ( ?p ) { ( resource:Q112193 ) ( resource:Q332591 ) ( resource:Q483382 ) } . ?e rdf:type ontology:Q43229 }
Steve Jobs Ernst Werner von Siemens Steve Wozniak
action filter_type
action find_reverse
entity prev_answer
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Steve Jobs'] [{'concept': 'organization'}, 'founder', 'Ernst Werner von Siemens'] [{'concept': 'organization'}, 'founder', 'Steve Wozniak']
SELECT DISTINCT ?e WHERE { ?e property:founder ?p . VALUES ( ?p ) { ( resource:Gaston_Glock ) ( resource:Ronald_Wayne ) ( resource:Steve_Wozniak ) } . ?e rdf:type ontology:organization }
[]
organization
Q312 Q312 Q81230
SYSTEM
Siemens for 3rd, Apple for 1st, 2nd
Q312 Q308993 Q16984598 Q81230 Q312
(c(Q43229),P112,Q19837) (c(Q43229),P112,Q58577) (c(Q43229),P112,Q483382)
action filter_type
action find_reverse
entity prev_answer
relation P112
type Q43229
[ANSWERS]
[{'concept': 'Q43229'}, 'P112', 'Q19837'] [{'concept': 'Q43229'}, 'P112', 'Q58577'] [{'concept': 'Q43229'}, 'P112', 'Q483382']
SELECT DISTINCT ?e WHERE { ?e property:P112 ?p . VALUES ( ?p ) { ( resource:Q112193 ) ( resource:Q332591 ) ( resource:Q483382 ) } . ?e rdf:type ontology:Q43229 }
Apple NeXT Computer, Inc. Siemens Mexico Siemens Apple
Apple, Apple and Siemens were founded by those people
Apple Apple Siemens
action filter_type
action find_reverse
entity prev_answer
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Steve Jobs'] [{'concept': 'organization'}, 'founder', 'Ernst Werner von Siemens'] [{'concept': 'organization'}, 'founder', 'Steve Wozniak']
SELECT DISTINCT ?e WHERE { ?e property:founder ?p . VALUES ( ?p ) { ( resource:Gaston_Glock ) ( resource:Ronald_Wayne ) ( resource:Steve_Wozniak ) } . ?e rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q81230
P137
Q728937
USER
Which railroad line was managed by that organization ?
(c(Q728937),P137,Q81230)
action filter_type
action find_reverse
entity Q81230
relation P137
type Q728937
[{'concept': 'Q728937'}, 'P137', 'Q81230']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q81230 . ?i rdf:type ontology:Q728937 }
Siemens
action filter_type
action find_reverse
entity Siemens
relation operator
type railroad line
[{'concept': 'railroad line'}, 'operator', 'Siemens']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Siemens . ?i rdf:type ontology:railroad_line }
[]
railroad line
Clarification for simple ques.
Q312
SYSTEM
Did you mean Apple ?
Q312 Q312 Q81230
(c(Q728937),P137,Q312) (c(Q728937),P137,Q312) (c(Q728937),P137,Q81230)
[ANSWER]
[{'concept': 'Q728937'}, 'P137', 'Q312'] [{'concept': 'Q728937'}, 'P137', 'Q312'] [{'concept': 'Q728937'}, 'P137', 'Q81230']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q81230 . ?i rdf:type ontology:Q728937 }
Apple Apple Siemens
Did you mean Apple ?
Apple
[{'concept': 'railroad line'}, 'operator', 'Apple'] [{'concept': 'railroad line'}, 'operator', 'Apple'] [{'concept': 'railroad line'}, 'operator', 'Siemens']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Siemens . ?i rdf:type ontology:railroad_line }
[]
Simple Question (Coreferenced)
USER
No, I meant Siemens. Could you tell me the answer for that?
(c(Q728937),P137,Q81230)
Q81230
[{'concept': 'Q728937'}, 'P137', 'Q81230']
[{'concept': 'railroad line'}, 'operator', 'Siemens']
[]
Q1023114
SYSTEM
CDGVAL
Q1023114
(c(Q728937),P137,Q81230)
action filter_type
action find_reverse
entity Q81230
relation P137
type Q728937
[ANSWER] was managed by that organization
[{'concept': 'Q728937'}, 'P137', 'Q81230']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q81230 . ?i rdf:type ontology:Q728937 }
CDGVAL
CDGVAL was managed by that organization
CDGVAL
action filter_type
action find_reverse
entity Siemens
relation operator
type railroad line
[{'concept': 'railroad line'}, 'operator', 'Siemens']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Siemens . ?i rdf:type ontology:railroad_line }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q312
P1056
Q5082128 Q28877
USER
How many mobile devices and goods are produced by Apple ?
(Q312,P1056,c(Q5082128)) (Q312,P1056,c(Q28877))
action count
action union
action filter_type
action find
entity Q312
relation P1056
type Q5082128
action filter_type
action find
entity Q312
relation P1056
type Q28877
['Q312', 'P1056', {'concept': 'Q5082128'}] ['Q312', 'P1056', {'concept': 'Q28877'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q5082128 ) ( ontology:Q28877 ) } }
Apple
action count
action union
action filter_type
action find
entity Apple
relation product
type mobile device
action filter_type
action find
entity Apple
relation product
type good
['Apple', 'product', {'concept': 'mobile device'}] ['Apple', 'product', {'concept': 'good'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:mobile_device ) ( ontology:good ) } }
[]
mobile device good
SYSTEM
3 mobile devices and 1 goods
Q486053 Q2796 Q2766 Q9479
(Q312,P1056,c(Q5082128)) (Q312,P1056,c(Q28877))
action count
action union
action filter_type
action find
entity Q312
relation P1056
type Q5082128
action filter_type
action find
entity Q312
relation P1056
type Q28877
[ANSWER]
['Q312', 'P1056', {'concept': 'Q5082128'}] ['Q312', 'P1056', {'concept': 'Q28877'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q5082128 ) ( ontology:Q28877 ) } }
MacBook iPad iPhone iPod
3 mobile devices and 1 goods
action count
action union
action filter_type
action find
entity Apple
relation product
type mobile device
action filter_type
action find
entity Apple
relation product
type good
['Apple', 'product', {'concept': 'mobile device'}] ['Apple', 'product', {'concept': 'good'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:mobile_device ) ( ontology:good ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4040770
P159
Q56061
USER
Which administrative territory is the HQ of Hornady ?
(Q4040770,P159,c(Q56061))
action filter_type
action find
entity Q4040770
relation P159
type Q56061
['Q4040770', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4040770 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Hornady
action filter_type
action find
entity Hornady
relation headquarters location
type administrative territorial entity
['Hornady', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Hornady property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q461826
SYSTEM
Grand Island
Q461826
(Q4040770,P159,c(Q56061))
action filter_type
action find
entity Q4040770
relation P159
type Q56061
[ANSWER] is the HQ of Hornady
['Q4040770', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4040770 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Grand Island
Grand Island is the HQ of Hornady
Grand Island
action filter_type
action find
entity Hornady
relation headquarters location
type administrative territorial entity
['Hornady', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Hornady property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2716043
Q56061
USER
And what about American University of Paris?
(Q2716043,P159,c(Q56061))
action filter_type
action find
entity Q2716043
relation P159
type Q56061
['Q2716043', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q2716043 property:P159 ?o }
American University of Paris
action filter_type
action find
entity American University of Paris
relation headquarters location
type administrative territorial entity
['American University of Paris', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:American_University_of_Paris property:headquarters_location ?o }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2716043,P159,c(Q56061))
action filter_type
action find
entity Q2716043
relation P159
type Q56061
[ANSWER]
['Q2716043', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q2716043 property:P159 ?o }
Paris
Paris
action filter_type
action find
entity American University of Paris
relation headquarters location
type administrative territorial entity
['American University of Paris', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:American_University_of_Paris property:headquarters_location ?o }
[]