jrvosse / amalgame Goto Github PK
View Code? Open in Web Editor NEWAmalgame: a SKOS vocabulary alignment tool
Home Page: http://semanticweb.cs.vu.nl/amalgame/
License: BSD 2-Clause "Simplified" License
Amalgame: a SKOS vocabulary alignment tool
Home Page: http://semanticweb.cs.vu.nl/amalgame/
License: BSD 2-Clause "Simplified" License
At http://87.106.253.23/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy5, we defined a strategy which uses structure/descendent.
What we tried to accomplish here was: Use the source vocab SDMX, map it to the "Descriptors" part of STW, then use the the result for mapping SDMX to STW Thsys part (connected to the descriptors via skos:narrower)
When we try to display the resulting set (B. dataset43), Amalgame hangs - wheel spinning, other commands still work. The log shows:
% [Thread httpd@3020_2] [15:01:22.035] [35] get /amalgame/amalgame/api/strategy_viz ...
% [Thread httpd@3020_5] [15:01:22.035] [36] get /amalgame/amalgame/api/node_info ...
% [Thread httpd@3020_1] [15:01:22.036] [37] get /amalgame/amalgame/data/mapping ...
% [Thread httpd@3020_2] [15:01:32.079] [35] 500 ERROR: goal unexpectedly failed: api_strategy_graph_viz:http_strategy_viz([protocol(http),peer(ip(127,0,0,1)),pool(client('httpd@3020',cp_server:http_dispatch,<stream>(0x7f4818001730),<stream>(0x7f4818002630))),input(<stream>(0x7f4818001730)),method(get),request_uri('/amalgame/amalgame/api/strategy_viz?format=svg&strategy=http%3A%2F%2Flocalhost%2Fns%2Fstrategy5&selected=http%3A%2F%2Flocalhost%2Fns%2Fdataset43'),path('/amalgame/amalgame/api/strategy_viz'),search([format=svg,strategy='http://localhost/ns/strategy5',selected='http://localhost/ns/dataset43']),http_version(1-1),host('127.0.0.1'),port(3020),user_agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(application/xml,[],0.9,[]),media(_G7999/_G8000,[],0.8,[])]),accept_language('de,en-US;q=0.7,en;q=0.3'),accept_encoding('gzip, deflate'),dnt('1'),x_requested_with('XMLHttpRequest'),referer('http://ite-beta2/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy5'),cookie([swipl_session='c0f5-81e9-4672-9cca.s279606780']),x_forwarded_for('134.245.95.210'),x_forwarded_host('ite-beta2'),x_forwarded_server('s15328234.onlinehome-server.info'),connection('Keep-Alive')])
In:
[19] throw(error(...,_G8081))
[18] http_dispatch:call_action(api_strategy_graph_viz:http_strategy_viz,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:641
[16] time:run_alarm_goal('$alarm'(34986902163708),http_dispatch: ...) at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G8138,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler(cp_server:http_dispatch,35,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,35,[...|...],current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,35,[...|...],<stream>(0x7f4818034c30),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper(cp_server:http_dispatch,<stream>(0x7f4818001730),<stream>(0x7f4818002630),_G8268,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process(cp_server:http_dispatch,<stream>(0x7f4818001730),<stream>(0x7f4818002630),[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G8312,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
% [Thread httpd@3020_1] [15:01:32.080] [37] 500 ERROR: goal unexpectedly failed: ag_mapping:http_data_mapping([protocol(http),peer(ip(127,0,0,1)),pool(client('httpd@3020',cp_server:http_dispatch,<stream>(0x7f481c09b870),<stream>(0x7f481c098150))),input(<stream>(0x7f481c09b870)),method(get),request_uri('/amalgame/amalgame/data/mapping?url=http%3A%2F%2Flocalhost%2Fns%2Fdataset43&strategy=http%3A%2F%2Flocalhost%2Fns%2Fstrategy5&limit=100'),path('/amalgame/amalgame/data/mapping'),search([url='http://localhost/ns/dataset43',strategy='http://localhost/ns/strategy5',limit='100']),http_version(1-1),host('127.0.0.1'),port(3020),user_agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(application/xml,[],0.9,[]),media(_G7939/_G7940,[],0.8,[])]),accept_language('de,en-US;q=0.7,en;q=0.3'),accept_encoding('gzip, deflate'),dnt('1'),x_requested_with('XMLHttpRequest'),referer('http://ite-beta2/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy5'),cookie([swipl_session='c0f5-81e9-4672-9cca.s279606780']),x_forwarded_for('134.245.95.210'),x_forwarded_host('ite-beta2'),x_forwarded_server('s15328234.onlinehome-server.info'),connection('Keep-Alive')])
In:
[19] throw(error(...,_G8021))
[18] http_dispatch:call_action(ag_mapping:http_data_mapping,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:641
[16] time:run_alarm_goal('$alarm'(34986919091108),http_dispatch: ...) at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G8078,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler(cp_server:http_dispatch,37,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,37,[...|...],current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,37,[...|...],<stream>(0x7f481c096200),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper(cp_server:http_dispatch,<stream>(0x7f481c09b870),<stream>(0x7f481c098150),_G8208,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process(cp_server:http_dispatch,<stream>(0x7f481c09b870),<stream>(0x7f481c098150),[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G8252,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
% [Thread httpd@3020_5] [15:01:32.084] [36] 500 ERROR: goal unexpectedly failed: ag_api_node_info:http_node_info([protocol(http),peer(ip(127,0,0,1)),pool(client('httpd@3020',cp_server:http_dispatch,<stream>(0x7f4810057a10),<stream>(0x7f48100578d0))),input(<stream>(0x7f4810057a10)),method(get),request_uri('/amalgame/amalgame/api/node_info?url=http%3A%2F%2Flocalhost%2Fns%2Fdataset43&strategy=http%3A%2F%2Flocalhost%2Fns%2Fstrategy5'),path('/amalgame/amalgame/api/node_info'),search([url='http://localhost/ns/dataset43',strategy='http://localhost/ns/strategy5']),http_version(1-1),host('127.0.0.1'),port(3020),user_agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(application/xml,[],0.9,[]),media(_G3209/_G3210,[],0.8,[])]),accept_language('de,en-US;q=0.7,en;q=0.3'),accept_encoding('gzip, deflate'),dnt('1'),x_requested_with('XMLHttpRequest'),referer('http://ite-beta2/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy5'),cookie([swipl_session='c0f5-81e9-4672-9cca.s279606780']),x_forwarded_for('134.245.95.210'),x_forwarded_host('ite-beta2'),x_forwarded_server('s15328234.onlinehome-server.info'),connection('Keep-Alive')])
In:
[19] throw(error(...,_G3291))
[18] http_dispatch:call_action(ag_api_node_info:http_node_info,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:641
[16] time:run_alarm_goal('<garbage_collected>','<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G3343,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler('<garbage_collected>',36,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,36,'<garbage_collected>',current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to('<garbage_collected>',36,'<garbage_collected>',<stream>(0x7f48100542b0),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper('<garbage_collected>',<stream>(0x7f4810057a10),<stream>(0x7f48100578d0),_G3458,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process('<garbage_collected>',<stream>(0x7f4810057a10),<stream>(0x7f48100578d0),'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G3490,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
In a newly set up instance of amalgame (5fc88e3), the instance crashes when I try to load a small vocabulary from a local file. Last log entry is:
/Fri Apr 10 13:00:59 2015/ request(54, 1428663659.506, [session('adff-d548-4689-2b7c.s279606780'),peer(ip(127,0,0,1)),method(post),request_uri('/amalgame-sdmx/servlets/uploadData'),path('/amalgame-sdmx/servlets/uploadData'),http_version(1-1),host('127.0.0.1'),port(30202),user_agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0'),dnt('1'),referer('http://111.111.111.111/amalgame-sdmx/user/loadFile'),cookie([swipl_session='adff-d548-4689-2b7c.s279606780']),content_type('multipart/form-data; boundary=---------------------------562544013346'),x_forwarded_for('134.245.95.1'),x_forwarded_host('111.111.111.111'),x_forwarded_server('example.com'),connection('Keep-Alive'),content_length(26264)]).
(Addresses obfuscated).
Maybe this is somehow related to #10
I tried to “select facet on type” to get concepts of a certain subclass of skos:Concept, but invariably get 0 concepts in the resulting set.
I double checked that the classes are present in the data, and could reproduce it with inserting
skos:Concept, and
http://www.w3.org/2004/02/skos/core#Concept
into the class input field.
The vocabularies I checked with were:
http://zbw.eu/stw/versions/latest/download/stw.ttl.zip (selecting http://zbw.eu/namespaces/zbw-extensions/Thsys)
http://purl.org/linked-data/sdmx/2009/subject# (selecting skos:Concept)
With two different vocabularies, Thesoz and Eurovoc, matching to STW, I encountered situations where CPU goes up to 100% and stays there. This occurs after having applied string/label (exact) matches to almost the whole sets, after I clicked on the newly created dataset bubble. After 5 min obviously a timeout occurs, but the characteristics of the dataset are not displayed, and when I click again, CPU for swipl again goes to 100%.
Memory VSIZE of the 4GB Centos-6.5 machine is 1.5 GB. There seems to be no disk activity during the time.
At http://87.106.253.23/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy4 I started a manual correspondence evaluation. On the STW side the search works (screenshot 1), but it doesn't on SDMX side (screenshot 2).
The project link http://semanticweb.cs.vu.nl/amalgame/ (at the top of Amalgame's GitHub page) returns 404 Not Found.
This should allow domain experts correspondences which are not derived from some mapping, but only from their off-band vocabulary and domain knowledge.
Hi Jacco,
I try to use amalgame for my BA thesis, but I got stuck. Everytime I try to load two vocabularies into the amalgame build editor I get the following error:
% [Thread httpd@3020_2] [11:36:49.547] [20] get /amalgame/amalgame/data/nodelist ...
% [Thread httpd@3020_2] [11:36:49.610] [20] 500 ERROR: goal unexpectedly failed: ag_voc_api:http_node_list([session('7c0b-06e3-d9df-1ff0.Ada'),protocol(http),peer(ip(192,168,178,29)),pool(client('httpd@3020',cp_server:http_dispatch,(00000000044505D0),(00000000044507B0))),input((00000000044505D0)),method(get),request_uri('/amalgame/amalgame/data/nodelist?strategy=http%3A%2F%2Flocalhost%2Fns%2Fstrategy16&selected=http%3A%2F%2Fzenon.dainst.org%2Fthesaurus'),path('/amalgame/amalgame/data/nodelist'),search([strategy='http://localhost/ns/strategy16',selected=zenon:thesaurus]),http_version(1-1),host('ada'),port(3020),user_agent('Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(application/xml,[],0.9,[]),media(_G7559/_G7560,[],0.8,[])]),accept_language('de,en-US;q=0.7,en;q=0.3'),accept_encoding('gzip, deflate'),dnt('1'),x_requested_with('XMLHttpRequest'),referer('http://ada:3020/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy16'),cookie([swipl_session='7c0b-06e3-d9df-1ff0.Ada']),connection('keep-alive')])
In:
[19] throw(error(...,_G7626))
[18] http_dispatch:call_action(ag_voc_api:http_node_list,[...|...]) at c:/program files/swipl/library/http/http_dispatch.pl:642
[16] time:run_alarm_goal('$alarm'(206899832),http_dispatch: ...) at c:/program files/swipl/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G7683,time: ...) at c:/program files/swipl/boot/init.pl:310
[8] httpd_wrapper:call_handler(cp_server:http_dispatch,20,[...|...]) at c:/program files/swipl/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at c:/program files/swipl/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,20,[...|...],current_output,error(...,...)) at c:/program files/swipl/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,20,[...|...],(00000000044508A0),error(...,...)) at c:/program files/swipl/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper(cp_server:http_dispatch,(00000000044505D0),(00000000044507B0),_G7813,[...|...]) at c:/program files/swipl/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process(cp_server:http_dispatch,(00000000044505D0),(00000000044507B0),[...|...]) at c:/program files/swipl/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G7857,thread_httpd:true) at c:/program files/swipl/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at c:/program files/swipl/library/http/thread_httpd.pl:413
[0]
Could you tell me what I'm doing wrong?
Thanks, Lena
After having evaluated the results of a strategy, I hit "publish" and then "Go", (accepting the defaults). What I get is a system error:
Internal server error
goal unexpectedly failed: conf_amalgame:serve_static(alignment_results,[path_info(strategy1),session(b1b3-bd0b-51ac-9bfa.s279606780),protocol(http),peer(ip(127,0,0,1)),pool(client(httpd@3020,cp_server:http_dispatch,<stream>(0x7f70fd1a4800),<stream>(0x7f70fd1a4940))),input(<stream>(0x7f70fd1a4800)),method(get),request_uri(/amalgame/alignment_results/strategy1),path(/amalgame/alignment_results/strategy1),http_version(1-1),host(127.0.0.1),port(3020),user_agent(Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0),accept([media(text/html,[],1.0,[]),media(application/xhtml+xml,[],1.0,[]),media(application/xml,[],0.9,[]),media(_G7798/_G7799,[],0.8,[])]),accept_language(en-US,en;q=0.5),accept_encoding(gzip, deflate),dnt(1),referer('http://ite-beta2/amalgame/amalgame/publish_form?openid.return_to=/amalgame/amalgame/build?alignment%3Dhttp://localhost/ns/strategy1&focus=http://localhost/ns/dataset6&alignment=http://localhost/ns/strategy1'),cookie([swipl_session=b1b3-bd0b-51ac-9bfa.s279606780]),x_forwarded_for(134.245.95.210),x_forwarded_host(ite-beta2),x_forwarded_server(s15328234.onlinehome-server.info),connection(Keep-Alive)])
In:
[19] throw(error(...,_G7875))
[18] http_dispatch:call_action(conf_amalgame: ...,[...|...]) at /usr/local/lib/swipl-6.6.5/library/http/http_dispatch.pl:611
[16] time:run_alarm_goal('$alarm'(35030806749396),http_dispatch: ...) at /usr/local/lib/swipl-6.6.5/library/time.pl:131
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G7932,time: ...) at /usr/local/lib/swipl-6.6.5/boot/init.pl:310
[8] httpd_wrapper:call_handler(cp_server:http_dispatch,2988,[...|...]) at /usr/local/lib/swipl-6.6.5/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-6.6.5/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,2988,[...|...],current_output,error(...,...)) at /usr/local/lib/swipl-6.6.5/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,2988,[...|...],<stream>(0x7f70fd1bf970),error(...,...)) at /usr/local/lib/swipl-6.6.5/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper(cp_server:http_dispatch,<stream>(0x7f70fd1a4800),<stream>(0x7f70fd1a4940),_G8062,[...|...]) at /usr/local/lib/swipl-6.6.5/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process(cp_server:http_dispatch,<stream>(0x7f70fd1a4800),<stream>(0x7f70fd1a4940),[...|...]) at /usr/local/lib/swipl-6.6.5/library/http/thread_httpd.pl:586
[2] catch(thread_httpd: ...,_G8106,thread_httpd:true) at /usr/local/lib/swipl-6.6.5/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-6.6.5/library/http/thread_httpd.pl:411
[0] <meta call>
No idea what's going on ...
Currently, the default for the edit distance threshold is 0.0. Why not set this to a reasoable value, e.g. 0.7? This would give users a glue, and it could prevent expensive Cartesian product computation and display if they don't change the default.
In all mapping strategies, we consistently encounter errors when we click on datasets: The application seems to hang, in the log we see messages as below.
This occurs after cpack_upgrade. and make., and after multiple new starts of swipl-httpd.
No idea what's wrong ...
Strategy 5
Click on H.dataset49
% [Thread httpd@3020_5] [14:56:25.204] [5] get /amalgame/amalgame/data/nodelist ...
% [Thread httpd@3020_5] [14:56:25.269] [5] 500 ERROR: mapping_process `[amalgame:'DescendentMatcher','__bnode4875']' does not exist
In:
[22] with_mutex('node_countshttp://localhost/ns/dataset49',node_counts_('http://localhost/ns/dataset49','http://localhost/ns/strategy5',_G2261))
[21] ag_stats:node_counts('http://localhost/ns/dataset49','http://localhost/ns/strategy5','<garbage_collected>','<garbage_collected>') at /opt/ClioPatria/cpack/amalgame/lib/amalgame/ag_stats.pl:54
[19] ag_voc_api:http_node_list('<garbage_collected>') at /opt/ClioPatria/cpack/amalgame/api/mappinglist.pl:49
[18] http_dispatch:call_action(ag_voc_api:http_node_list,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:638
[16] time:run_alarm_goal('<garbage_collected>','<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G2346,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler('<garbage_collected>',5,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,5,'<garbage_collected>',current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to('<garbage_collected>',5,'<garbage_collected>',<stream>(0x7f7554024920),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper('<garbage_collected>',<stream>(0x7f7554026620),<stream>(0x7f7554026780),_G2461,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process('<garbage_collected>',<stream>(0x7f7554026620),<stream>(0x7f7554026780),'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G2493,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
Strategy 4
Click on B.dataset30
% [Thread httpd@3020_2] [14:58:07.350] [10] get /amalgame/amalgame/data/nodelist ...
% [Thread httpd@3020_2] [14:58:07.423] [10] 500 ERROR: mapping_process `[amalgame:'CompoundMatcher','__bnode66']' does not exist
In:
[22] with_mutex('node_countshttp://localhost/ns/dataset30',node_counts_('http://localhost/ns/dataset30','http://localhost/ns/strategy4',_G2261))
[21] ag_stats:node_counts('http://localhost/ns/dataset30','http://localhost/ns/strategy4','<garbage_collected>','<garbage_collected>') at /opt/ClioPatria/cpack/amalgame/lib/amalgame/ag_stats.pl:54
[19] ag_voc_api:http_node_list('<garbage_collected>') at /opt/ClioPatria/cpack/amalgame/api/mappinglist.pl:49
[18] http_dispatch:call_action(ag_voc_api:http_node_list,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:638
[16] time:run_alarm_goal('<garbage_collected>','<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G2346,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler('<garbage_collected>',10,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,10,'<garbage_collected>',current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to('<garbage_collected>',10,'<garbage_collected>',<stream>(0x7f7560032010),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper('<garbage_collected>',<stream>(0x7f75600352c0),<stream>(0x7f756002f580),_G2461,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process('<garbage_collected>',<stream>(0x7f75600352c0),<stream>(0x7f756002f580),'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G2493,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
Strategy 2
Click on A.dataset14
% [Thread httpd@3020_4] [15:00:52.972] [15] get /amalgame/amalgame/data/nodelist ...
% [Thread httpd@3020_4] [15:00:53.037] [15] 500 ERROR: mapping_process `[amalgame:'ExactLabelMatcher','__bnode206']' does not exist
In:
[22] with_mutex('node_countshttp://localhost/ns/dataset14',node_counts_('http://localhost/ns/dataset14','http://localhost/ns/strategy2',_G2268))
[21] ag_stats:node_counts('http://localhost/ns/dataset14','http://localhost/ns/strategy2',_G2285,[...]) at /opt/ClioPatria/cpack/amalgame/lib/amalgame/ag_stats.pl:54
[19] ag_voc_api:http_node_list([...|...]) at /opt/ClioPatria/cpack/amalgame/api/mappinglist.pl:49
[18] http_dispatch:call_action(ag_voc_api:http_node_list,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:638
[16] time:run_alarm_goal('$alarm'(35035455704040),http_dispatch: ...) at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G2364,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler(cp_server:http_dispatch,15,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,15,[...|...],current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,15,[...|...],<stream>(0x7f7550024370),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper(cp_server:http_dispatch,<stream>(0x7f7550026450),<stream>(0x7f75500265f0),_G2494,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process(cp_server:http_dispatch,<stream>(0x7f7550026450),<stream>(0x7f75500265f0),[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G2538,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
Strategy 3
Click on J.intersect: G - A
% [Thread httpd@3020_2] [15:03:00.744] [23] get /amalgame/amalgame/data/nodelist ...
% [Thread httpd@3020_2] [15:03:00.808] [23] 500 ERROR: mapping_process `[amalgame:'ExactLabelMatcher','__bnode75']' does not exist
In:
[22] with_mutex('node_countshttp://localhost/ns/dataset12',node_counts_('http://localhost/ns/dataset12','http://localhost/ns/strategy3',_G2268))
[21] ag_stats:node_counts('http://localhost/ns/dataset12','http://localhost/ns/strategy3',_G2285,[...]) at /opt/ClioPatria/cpack/amalgame/lib/amalgame/ag_stats.pl:54
[19] ag_voc_api:http_node_list([...|...]) at /opt/ClioPatria/cpack/amalgame/api/mappinglist.pl:49
[18] http_dispatch:call_action(ag_voc_api:http_node_list,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:638
[16] time:run_alarm_goal('$alarm'(35035522830068),http_dispatch: ...) at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G2364,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler(cp_server:http_dispatch,23,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,23,[...|...],current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,23,[...|...],<stream>(0x7f7560023a40),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper(cp_server:http_dispatch,<stream>(0x7f7560015fe0),<stream>(0x7f75600160d0),_G2494,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process(cp_server:http_dispatch,<stream>(0x7f7560015fe0),<stream>(0x7f75600160d0),[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G2538,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
Strategy5
Click on SDMX Statistical subject matters (one of the input sets - the message here looks different from the others)
% [Thread httpd@3020_2] [15:17:02.936] [37] get /amalgame/amalgame/data/nodelist ...
% [Thread httpd@3020_2] [15:17:02.996] [37] 500 ERROR: goal unexpectedly failed: ag_voc_api:http_node_list([session('d307-fc4f-e948-cbb0.s279606780'),protocol(http),peer(ip(127,0,0,1)),pool(client('httpd@3020',cp_server:http_dispatch,<stream>(0x7ffe54040650),<stream>(0x7ffe54040790))),input(<stream>(0x7ffe54040650)),method(get),request_uri('/amalgame/amalgame/data/nodelist?strategy=http%3A%2F%2Flocalhost%2Fns%2Fstrategy5&selected=http%3A%2F%2Fpurl.org%2Flinked-data%2Fsdmx%2F2009%2Fsubject%23subjectMatterDomain'),path('/amalgame/amalgame/data/nodelist'),search([strategy='http://localhost/ns/strategy5',selected='sdmx-subject':subjectMatterDomain]),http_version(1-1),host('127.0.0.1'),port(3020),user_agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(application/xml,[],0.9,[]),media(_G2374/_G2375,[],0.8,[])]),accept_language('en,de;q=0.7,en-us;q=0.3'),accept_encoding('gzip, deflate'),dnt('1'),x_requested_with('XMLHttpRequest'),referer('http://87.106.253.23/amalgame/amalgame/app/build?strategy=http://localhost/ns/strategy5'),cookie([swipl_session='d307-fc4f-e948-cbb0.s279606780']),x_forwarded_for('134.245.95.210'),x_forwarded_host('87.106.253.23'),x_forwarded_server('s15328234.onlinehome-server.info'),connection('Keep-Alive')])
In:
[19] throw(error(...,_G2456))
[18] http_dispatch:call_action(ag_voc_api:http_node_list,[...|...]) at /usr/local/lib/swipl-7.1.22/library/http/http_dispatch.pl:641
[16] time:run_alarm_goal('$alarm'(35182569886972),http_dispatch: ...) at /usr/local/lib/swipl-7.1.22/library/time.pl:139
[15] setup_call_catcher_cleanup(time: ...,time: ...,_G2513,time: ...) at /usr/local/lib/swipl-7.1.22/boot/init.pl:310
[8] httpd_wrapper:call_handler('<garbage_collected>',37,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:296
[7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[6] httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,37,[...|...],current_output,error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:276
[5] httpd_wrapper:handler_with_output_to('<garbage_collected>',37,'<garbage_collected>',<stream>(0x7ffe54036720),error(...,...)) at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:286
[4] httpd_wrapper:http_wrapper('<garbage_collected>',<stream>(0x7ffe54040650),<stream>(0x7ffe54040790),_G2631,'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/http_wrapper.pl:106
[3] thread_httpd:http_process('<garbage_collected>',<stream>(0x7ffe54040650),<stream>(0x7ffe54040790),'<garbage_collected>') at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:588
[2] catch(thread_httpd: ...,_G2663,thread_httpd:true) at /usr/local/lib/swipl-7.1.22/boot/init.pl:274
[1] thread_httpd:http_worker([...|...]) at /usr/local/lib/swipl-7.1.22/library/http/thread_httpd.pl:413
[0] <meta call>
I just wanted to try if the solution of #7 is in the current cpacks. Executing cpack_upgrade
yielded
% delete mode 100644 lib/ag_modules/token_arity_select.pl
% create mode 100644 lib/amalgame/ag_strategy.pl
% create mode 100644 lib/amalgame/scheme_stats.pl
% delete mode 100644 lib/amalgame/voc_stats.pl
ERROR: /opt/ClioPatria/cpack/amalgame/lib/ag_modules/compound_label_selecter.pl:13:
import/1: No permission to import ag_string_match_util:strategy_languages/2 into compound_label_selecter (already imported from ag_strategy)
true.
Now, we can invoke amalgame, however we cannot select a dataset for evaluation.
We tried to create new mapping relations manually: E.g.,
smdx:"Agriculture, forestry, fisheries" skos:narrowMatch stw:"W.02 Forestry"
We chose to evaluate an already existing mapping and started with the already suggested and confirmed relation
smdx:"Agriculture, forestry, fisheries" skos:narrowMatch stw:"W.01 Agriculture"
After looking up "W.02 Forestry" on the righthand side of the mapping screen, we got this display:
where the displayed graphics (below "2 individual motivations" seem not consistent with the selected concept and its URI). Anyway, we selected "narrower" and submitted.
What happend is that the new relation was saved, but the original narower relation (to stw:"W.01 Agriculture") was reset to evaluator:unrelated.
We could not yet figure out how to create new relations (out of just our heads) without hurting existing ones.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.