<<

Semantic Web -1 (2021) 1–16 1 DOI 10.3233/SW-210428 IOS Press Sampo-UI: A full stack JavaScript framework for developing semantic portal user interfaces

Esko Ikkala a,*, Eero Hyvönen a,b, Heikki Rantala a and Mikko Koho a,b a Semantic Research Group (SeCo), Department of , Aalto University, b HELDIG – Centre for Digital Humanities, University of Helsinki, Finland

Editor: TaniaTudorache, Stanford University,USA Solicited reviews: Peter Haase, Metaphacts, Germany; five anonymous reviewers

Abstract. This paperpresentsa newsoftware framework,S AMPO-UI, for developing user interfaces for semantic portals. The goal is to provide the end-user with multiple application perspectives to Linked Data knowledge graphs, and a two-step usage cycle based on faceted search combined with ready-to-use tooling for data analysis. For the developer, the SAMPO-UI framework makesit possibletocreatehighlycustomizable,user-friendly, andresponsiveuserinterfaces usingcurrent state-of- the-artJavaScript libraries anddata fromSPARQLendpoints, while saving substantialcoding effort.S AMPO-UI is published on GitHub under the open MIT License and has been utilized in several internal and external projects. The framework has been used thus far in creating six published and five forth-coming portals, mostly related to the Cultural Heritage domain, that have had tens of thousands of end-users on the Web.

Keywords: Linked Data, semantic portal, , web application, JavaScript, software framework

1. Introduction of end-users [10,20,25–27]. Such portals, based on knowledge graphs published in LD services, typi- A fundamental underlying idea of the Semantic Web cally provide the end-user with intelligent services is to share Linked Data (LD) which is harmonized us- for data exploration [14] and analysis based on the ing ontologies. This approach has been proven useful well-defined semantics of the content. These services in, for example, the Cultural Heritage (CH) domain may include faceted, ontology-based, and entity-based in aggregating, harmonizing, and enriching data silos search engines, semantic browsing based on seman- of different galleries, libraries, archives, and museums tic relations extracted and reasoned from the underly- (GLAM) whose contents are typically heterogeneous ing knowledge graphs, and tooling for data-analysis, and distributed, but often related semantically to each , and serendipitous knowledge discovery other [11]. [12]. Semantic WeCORRECTEDb content is published for machines To ex tend PROOFthe notion of sharing and reusing data via LD services and for human consumption using on the Web, this paper proposes that one should har- web-based LD applications, such as semantic portals. monize and share the way in which semantic portals, In general, semantic portals are information systems especially their user interfaces, are implemented and which aggregate information from multiple sources used, too. It is argued that in this way implementing and publish them using Semantic Web technologies semantic portals can be made easier for software de- into user interfaces for solving information needs velopers, and from the end-user’s perspective, portals based on similar functional logic are easier to learn to *Corresponding author. E-mail: esko.ikkala@aalto.fi. use.

1570-0844 © 2021 – The authors. Published by IOS Press. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0). 2 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

Fig. 1. Visualization of the movement of pre-modern manuscripts as arcs from places of production to last known locations using the Mapping Manuscript Migrations Portal. Subsets of manuscripts can be filtered out for visualization using the facets on the left (Label, Author, Work, Production place etc.). The blue end of the arc shows the production place and the last known location is in red (this is not necessarily visible in black and white print). There are different options available for inspecting the filtered result set using tabs on top of the image: Table, Production places, Last knows locations, Migrations (selected in the image), and Export. The Export tab enables the user to export the SPARQL query, which was used for generating the Table result view, into the public SPARQL query service Yasgui. In Yasgui the current result set can be, e.g., downloaded in CSV format for external analysis.

An approach towards these goals is the Sampo To tackle these challenges, the key contribution of model1 that has been found useful in practise while this paper is to introduce the SAMPO-UI framework2 developing a series of semantic CH portals [9]. This (hereafter SAMPO-UI refers to the SAMPO-UI frame- model advocates the idea of providing the end-user work). SAMPO-UI is a new tool for addressing the fol- with multiple application perspectives to the contents. lowing research question: “How can user interfaces The application perspectives are used in two basic for semantic portals based on Linked Data be built ef- steps: Firstly, data of interest is filtered out using ficiently?”. As a methodological basis, design science [8] is applied. faceted search [28] based on ontologies. Secondly, A prerequisite for using SAMPO-UI is that the un- data-analytics tools are applied to the filtered data. derlying data is published as knowledge graph(s) in As LD can be used to express virtually everything, SPARQL end-point(s) using the principles of LD [7]. a vital challenge is to be able to create user-friendly SAMPO-UI is not targeted for data curation, but for domain-centric semantic portals with minimal effort. creating user interfaces for existing data. Domain-centricCORRECTEDmeans that the underlying knowledge An example PROOFof an application of SAMPO-UI, is the graphs have been selected beforehand and the scope of Mapping Manuscript Migrations (MMM) portal [13]. the portal is limited to a specific domain. However, the Figure 1 depicts one of its faceted search perspectives availability of tools for building such custom applica- on over 200000 medieval and renaissance manuscripts. tions on top of LD is limited [4]. Manuscripts are first filtered using the facets on the

2Information about SAMPO-UI can be found on the home- 1Sampo is, according to the Finnish epic Kalevala, a mythical page https://seco.cs.aalto.fi/tools/sampo-ui; the framework is avail- machine giving riches and fortune to its holder, a kind of ancient able under the open MIT License on GitHub: https://github.com/ metaphor of technology. SemanticComputing/sampo-ui. E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 3 left. After this, the result set can be studied with data- fostering faceted browsing environment built on LD-R analytic visualizations by choosing one of the follow- components and their configurations. ing tabs: Table, Production places, Last Known Lo- SPARQL Faceter [19] is a JavaScript library for cations, and Migrations. In the figure the Migrations building faceted search user interfaces, implemented tab has been opened for analyzing the general trend of using AngularJS5 which is not anymore actively devel- manuscript movement from their places of production oped. into their last known locations. The MMM portal is The metaphactory platform [4]isusedforbuilding an example of a domain-centric semantic portal, where semantic web applications for LD, with focus on both aggregated and harmonized LD and modern web tech- addressing management needs of large organizations nologies enable studying manuscript provenance on a and providing domain-centric intuitive end-user inter- large scale. faces. The platform is deployed in several different use This paper is structured as follows. Section 2 re- cases, including the ResearchSpace project using the views existing tools and surveys related to creation British Museum collection as LD. of user interfaces for semantic portals. In Section 3 Bikakis and Sellis [1] have surveyed LD exploration we present specific requirements for tools for build- and visualization systems, and presented some general ing user interfaces for semantic portals. In addition, re- features and requirements of such systems. Klímek et quirements regarding the portals themselves are expli- al. [18] have surveyed existing tooling for LD con- cated. The SAMPO-UI framework is presented in Sec- sumption for non-technical end-users and presented tion 4. Experiences of applying SAMPO-UI are dis- general requirements for end-user LD platforms, en- cussed in Section 5 through a case study on how the compassing variety of topics, such as, dataset discov- framework was used for building a new user inter- ery and data manipulation. face of a semantic portal about military history. Finally Po et al. [21] present LD visualization techniques in Section 6 the contributions, impact, and limitations and tools, and evaluation of the tools in different use of SAMPO-UI are summarized, and the framework is cases. Of the presented 16 use cases of LD visualiza- compared with other related systems. tion, five cases (5, 6, 8, 11, and 12) are relevant for semantic portals in general, and cover the basic func- tionalities of them. None of the evaluated visualization 2. Related work for semantic portal user tools are able to handle all of these use cases. interfaces For general tasks related to querying, parsing, and processing RDF6 data in JavaScript applications, the User interfaces for LD applications can be created W3C’s RDF JavaScript Libraries Community Group in various ways, and can employ a variety of user inter- is creating standards and a collection of libraries for 7 action paradigms [2]. This section provides some rel- usingLDontheWeb. evant references for designing and implementing user This section presented related work for creating user interfaces for semantic portals. interfaces for semantic portals. The SAMPO-UI frame- Khalili et al. [16] discuss the state of end-user ap- work is compared with these related systems in Sec- plication development for LD, and present the Linked tion 6.2. Data Reactor (LD-R), which is an open-source soft- ware framework for building modern web-based LD user interfaces. LD-R is based on the idea of using ex- 3. Requirements for tools for building semantic isting solutions,CORRECTEDsuch as the Flux pattern3 and the Re- portal user PROOFinterfaces act library.4 The idea is to provide the software devel- oper with a general starting base of a JavaScript web In this section, desired features of semantic por- application, which can be configured to view, browse tal user interfaces are outlined, together with require- and edit LD. LD-R provides faceted search function- ments for tools for building them. This is based on alities through FERASAT [17], which is a serendipity- earlier research presented in Section 2,aswellasthe

3Flux pattern for building user interfaces: https://facebook.github. 5https://angularjs.org io/flux. 6https://www.w3.org/TR/rdf11-concepts 4https://reactjs.org 7http://rdf.js.org 4 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces authors’ own experience in developing such systems SP7. Users can explore and follow links between [9,19]. various instances [21], From the related work regarding tools (e.g. software SP8. Users can visualize the data graphically, e.g., libraries and frameworks) for implementing LD appli- geographically on maps, temporally on a time- cations, we found the following requirements (denoted line, or as a graph diagram of connected enti- by T) that tools for implementing semantic portal user ties [18,21], interfaces should fulfill: SP9. Users can export non-RDF output, e.g., a CSV file [18]. T1. Enable rapid creation of use case-specific ap- plications with minimal effort [4,19], SAMPO-UI and the existing semantic portals us- T2. Ability to query data directly from a SPARQL ing it are evaluated against these requirements in endpoint [18,19], Section 6.1. The next subsections present more de- T3. Support for hierarchical data exploration using tailed observations and requirements related to search ontologies [19,21], paradigms, result set visualizations, and structure of T4. Scalable techniques used, that can handle a semantic portal user interfaces. large number of data objects over an explo- ration scenario, using a limited number of re- 3.1. Search paradigms and result set visualizations sources [1], for semantic portals T5. Enable creating intuitive and user-friendly user interfaces for non-technical users [4,17–19], The following search paradigms are essential in LD T6. Ability to produce visualizations that automat- user interfaces [4,21] like semantic portals. ically adapt to available resources, especially Free text search across the whole knowledge graph screen resolution and size [21], is the most widely recognized search paradigm. The T7. Designed and implemented in a way that fosters search can use all textual metadata fields of all entities, or to be narrowed down to, e.g., only use labels, and/or sustainability [18,19]. only use entities of specific classes. From the related work regarding LD applications, Faceted search [5,28], known also as view-based we gathered requirements (denoted by SP) that are rel- search [22] and dynamic hierarchies [24], is based on evant for the structure and functionalities of the user indexing data items along orthogonal category hierar- interfaces of semantic portals. Most of the semantic chies, i.e., facets (e.g., places, times, document types, portals would need to fulfill these to solve the informa- etc.). In searching, the user selects in free order cat- tion needs of end-users: egories on facets, and the data items included in the selected categories are considered the search results. SP1. The portal supports having multiple perspec- After each selection, a count is computed for each tives for accessing the knowledge graph(s) category showing the number of results, if the user [9,21], next makes that selection, omitting categories with no SP2. The perspectives provide methods for brows- hits. The idea of faceted search is especially useful on ing and exploring the knowledge graphs to the Semantic Web where hierarchical ontologies used find something useful and interesting without for data annotation provide a natural basis for facets, initially knowing exactly what to search for and reasoning can be used for mapping heterogeneous [1,21], data to facets. Faceted search can be implemented with SP3. The portalCORRECTEDemploys various search paradigms server-side solutions,PROOFsuch as Solr,8 Sphinx,9 and Elas- [1,6], ticSearch,10 or in a LD setting using a set of config- SP4. Users can visualize instances that share one or urable SPARQL queries, as in [17,19]. more specific properties, e.g., all instances of In geospatial search the user can see resources on a a specific class with a common property value map, and browse and explore them. It should be pos- [21], SP5. Users can visualize the properties and rela- 8http://lucene.apache.org/solr tions of a specific instance [21], 9http://sphinxsearch.com/blog/2013/06/21/faceted-search-with- SP6. Users can explore and visualize the instances sphinx of a specific class [21], 10https://www.elastic.co E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 5 sible to filter the result set by making a selection on a landing pages must be constructed in a in a systematic map with e.g. drawing a bounding box. way to enable easy linking within the portal and from Temporal search can be performed by constraining external applications. the result set based on a timeline component or a times- pan selector. A timeline can be used to browse and ex- plore the resources. 4. SAMPO-UI framework The result set that has been constrained using one or more search paradigms can be shown to the user in This section presents the architecture, design prin- many different ways. The user can be provided with ciples, and the main user interface components of the options of various result set display methods to choose SAMPO-UI framework. More specific documentation from, that are considered relevant: Table is often an and instructions for software developers can be found intuitive way of displaying the resulting resources as from SAMPO-UI’s GitHub repository.11 A case study a simple 2-dimensional table with each resource as of applying SAMPO-UI is presented in Section 5. a separate row and their most important properties shown as table columns. Another useful tabular for- 4.1. Architecture mat is to use a grid to position and show each result inside a rectangle. Geospatial visualizations show the The SAMPO-UI framework provides software de- results visually on a map as, e.g., markers, polygons or velopers with a comprehensive set of reusable and heatmap layers. Temporal visualizations display the re- extensible components, well-defined application state sults on a timeline. Spatio-temporal visualizations dis- management, and a read-only API for SPARQL play the results with interlinked geospatial and tem- queries, which can be used for creating a modern and poral components. Statistical visualizations, e.g., bar responsive user interface for a semantic portal with charts, histograms, line graphs, pie charts, and sankey minimized coding effort. If the existing functionali- diagrams, are useful if the result set is large, by pro- ties of SAMPO-UI are not enough, the architecture is viding summaries of the results instead of individual designed to provide the software developer plenty of resources. freedom to incorporate new functionalities by writing All of the previous display methods need to able JavaScript code, utilizing the underlying libraries or to handle information overloading issues [21]re- adding new libraries. Much effort has been put in test- lated to large result sets with, e.g., pagination, infi- ing different open source libraries and choosing those nite scrolling, or clustering of individual resources into with the best prospect for long-term sustainability as a larger groups. basis for SAMPO-UI. The framework is meant for creating full stack 3.2. Structuring the user interface of a semantic JavaScript web applications. The main parts are portal (1) a client based on the widely used and established React12 and Redux13 libraries, and (2) a Node.js14 The structure of the user interface should support backend built with Express framework.15 Angular16 having multiple perspectives for data exploration and could have been another choice for a basis, but as it searching, each of which are built around entities of a is a complete framework per se, choosing React as a specific class. This way distinct perspectives to the un- basis for the client enforces a more modular structure derlying data can be built iteratively and individually. for SAMPO-UI, in which individual libraries (e.g. for Moreover, each entity of interest in the knowledge handling the application state or routing) can be re- graph should hCORRECTEDave a landing page, which shows the placed by nePROOFw ones if they become obsolete. On the metadata related to the single entity. Additionally, the other hand, this modular structure demands more care- landing pages provide both internal and external rec- ful maintenance of the interplay of individual libraries. ommendation links to other related entities, e.g., for the landing page of a person, their family, relatives, and 11 friends could be shown as links to the landing pages of https://github.com/SemanticComputing/sampo-ui 12https://reactjs.org the persons in question. Social network visualizations 13https://redux.js.org can be integrated to the landing pages of people, to 14https://nodejs.org/en provide a useful and intuitive way of seeing the person 15https://expressjs.com in their social and historical context. The URLs of the 16https://angular.io 6 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

Fig. 3. SAMPO-UI client architecture based on the strict unidirec- tional data flow of Redux integrated with React components.

Fig. 2. General architecture of SAMPO-UI. sults sets. The placeholders in the SPARQL query templates are replaced with patterns from respec- Figure 2 depictstheoverall architectureofS AMPO- tive configuration objects by SAMPO-UI’s core func- UI.The general idea is that thefocus of theclient tions. is on displaying data. Thebusinesslogicoffetching While the Node.js backend makes it possible to the data fromSPARQL endpointsusingvarious search run any relevant JavaScript libraries on the server, paradigmsisplaced on the backend. Theclient makes the architecture can be extended by connecting the useofSPARQL end-point(s)bysending APIrequests Node.js backend to additional backend services, as il- to theNode.js backend. Basedonthe APIrequests and lustrated in Fig. 2. This is useful, e.g., if Python mod- predifined configurations,the Node.js backend gener- ules are needed for dynamic processing of SPARQL ates theSPARQL queries, sends them to theSPARQL query results. An example of such extension is the 23 endpoint(s), and maps and merges theraw results rows Sparql2GraphServer API which integrates SPARQL 24 in theSPARQL1.1 QueryResults JSONFormat 17 into queries and their results with the NetworkX Python amoredeveloper friendlyarrayof potentially nested package for advanced network analysis tasksthat are JavaScript objects. not currentlyavailablefor JavaScript. TheAPI endpointsprovided by theNode.js back- Figure 2 also showshow APIrequests toexternal end are described usinga document that conforms to vector and raster-based services for geographical data theOpenAPI Specification. 18 The same document is can be made directly fromthe client,aslong as there- used for both documenting the API, and validating spectiveAPIkey does not need be hidden. If theAPI the API requests and responses. The documentation key need to be hidden, theAPI requests arerouted is published with the API documentation tool Swag- through theNode.js backend. InS AMPO-UI it is also ger UI.19 The API documentation of an example por- possible to export the results of the SPARQL queries in tal20 built with SAMPO-UI can be used for testing the CSV format, a feature deemed useful by the end-users API. willing to analyse the data using additional software For handling the API requests related to faceted, libraries and tools, such as spreadsheet programs and full text, and spatial search, the Node.js backend in- R. Additionally, the specific SPARQL query that was cludes a set of generalized templates21 for SPARQL used for the search results can be given to the end-user queries. In order to connect the Node.js backend to if needed. a specific SPARQL endpoint, the developer needs to The modular architecture of the client is depicted in provide configuration22 for all desired facets and re- Fig. 3, where boundaries between the main client-side CORRECTEDlibraries are mPROOFarked with a dashed line. The state of the application (e.g., the user’s facet selections and the 17https://www.w3.org/TR/sparql11-results-json 18 search results) is maintained using the strict unidirec- https://swagger.io/specification 25 19https://swagger.io/tools/swagger-ui tional data flow enforced by Redux. To reduce the 20https://sampo-ui.demo.seco.cs.aalto.fi/api-docs complexity of handling side effects, asynchronous data 21Generalized templates for SAMPO-UI’s core SPARQL queries: fetching is carried out uniformly by a Redux middle- https://github.com/SemanticComputing/sampo-ui/blob/master/src/ server/sparql/SparqlQueriesGeneral.js 22See instructions for configuring the Node.js backend for 23https://github.com/SemanticComputing/Sparql2GraphServer 24 SPARQL endpoints in SAMPO-UI’s readme: https://github.com/ https://networkx.github.io SemanticComputing/sampo-ui#configuration-and-folder-structure. 25https://redux.js.org E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 7 ware named Redux Observable.26 Redux Observable provides a base for SAMPO-UI’s epics,27 which listen for asynchronous Redux actions, send API requests to the Node.js backend and other external services, im- plement debouncing when necessary, and handle the possible errors in the API responses.

4.2. Adaptable server-side or client-side faceted search

Nowadays the size of the knowledge graphs that a semantic portal needs to be able to process ranges from Fig. 4. Faceted search architecture options of SAMPO-UI. thousands to tens of millions triples. Furthermore, the data may be available from a single triplestore or from multiple triplestores. For handling these varying set- tings we have developed two main approaches for im- plementing faceted search in SAMPO-UI. We call the first approach “server-side faceted search” (ServerFS), where all queries relating to faceted search are sent to Fig. 5. Main views of a semantic portal, using the default structure the triplestore. With this approach all limits regarding provided by the Sampo-UI framework. The arrows depict navigation the size of the knowledge graph and the complexity links between the views. of the queries are imposed by the triplestore and the set in ClientFS has to have an upper limit of approxi- server used for hosting it. mately 30 000 instances on modern mobile devices or The most critical requirement for ServerFS is that desktops with more than 4 GBs of RAM. Even though all underlying data needs to be made available from a this limitation rules out many large knowledge graphs, single SPARQL endpoint. ServerFS also causes con- we have found ClientFS effective especially when the siderable load on the triplestore when the knowledge initial query is a full text query, which is sent to mul- graph is large or the portal has a usage spike,28 as a tiple triplestores simultaneously. Then the results from selection in one facet causes the recalculation of both each triplestore are merged and used as the initial re- the result set and the result counts of all of the active sult set for ClientFS. This approach is in use, e.g., in facets. the above-mentioned NameSampo portal. In some application settings, e.g. in NameSampo Figure 4 illustrates how the different tasks related to portal [15] that re-uses several existing SPARQL end- faceted search are divided between the client and the points, it is not possible to aggregate all data into a sin- backend, when using either ServerFS or ClientFS. The gle triplestore. For these settings we have developed example configurations of SAMPO-UI include tem- a second approach named “client-side faceted search” plates for both ServerFS and ClientFS approaches. It (ClientFS). The main idea here is that the whole ini- is also possible to use the ServerFS and ClientFS ap- tial result set for faceted search is first fetched into proaches simultaneously in a single semantic portal, the client as JavaScript objects, after which all faceted provided that they are separated into distinct perspec- search functionalities are implemented using a set of 30 29 tives. This is demonstrated in the example portal, Redux selectors.CORRECTEDwhich combines PROOFperspectives from NameSampo and Based on our experiences, due to the memory limit MMM portals. set by the browser running the client, the initial result 4.3. Main views of a semantic portal 26https://redux-observable.js.org 27In Redux Observable epics are functions which take a stream of Figure 5 illustrates the three main views of SAMPO- actions as input and return a stream of actions. UI forbuildinga completeuserinterface ofasemantic 28If the triplestore is deployed using a Docker container or sim- portal. ilar, it is possible to handle the usage spikes with autoscaling [3] carried out by a container-orchestration system. 29https://github.com/reduxjs/reselect 30https://sampo-ui.demo.seco.cs.aalto.fi 8 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

The portal landing page welcomes the user with SPARQL query of the facet. The SAMPO-UI backend an introduction text and list of links to different offers functions for converting the raw SPARQL re- faceted search perspectives for studying the underly- sults into a complete hierarchy, where all child con- ing knowledge graph(s). To minimize page load time, cepts of each concept are explicitly available. This no SPARQL queries are being executed on this view. complete hierarchy is required for showing the hierar- Each faceted search perspective typically contains chical facet values and their hit counts to the end-user. a group of facets configured for a specific entity type For free text search a Text facet component can be in the knowledge graph. For viewing the search results used. For filtering with date or integer ranges the de- and conducting data analysis tasks several result set veloper can choose to use either the Date facet with visualization components can be added. date pickers, the Range facet with input fields, or the The entity landing page provides information re- Slider facet component. lated to a single entity. The faceted search perspective Specific user-controllable options for each facet are and the entity landing page share the same result set provided by the Facet header component. The cur- visualization components. rently active facet selections are shown to the user with Component-based user interface development is the Active filters component. All facet components of enforced by many state-of-the-art libraries and SAMPO-UI are connected to the centralized state of frameworks for web application development, such the application, as presented in Fig. 3. Having a cen- as React,31 Angular,32 and Vue.js.33 By adopting tralized state offers a uniform way for listening for user component-based design principles, SAMPO-UI pro- input in any of the facet components, and updating the vides the developer with a selection of approximately state of the other facets and result set visualizations ac- 120 ready-to-use user interface components,34 which cordingly. act as thebuildingblocks forthe threemainviews pre- sented in Fig. 5. 4.5. User interface components for result set Figure 6 demonstrates howa group ofS AMPO-UI visualizations components can be used forbuildingafaceted search perspective. Thefollowing subsectionsexplainthese On the faceted search perspective shown in Fig. 5, components and alsoa number of other components the Perspective tabs component provides the user the forfacets and result setvisualizations in detail. ability to switch between different result set visualiza- tions, while persisting the state of the facets. The de- 4.4. User interface componentsfor facets fault component for rendering the results is Paginated table, illustrated in Fig. 6. It has controls for pagina- tion actions, changing the rows per page, and sorting The Hierarchicalcheckbox facet component has the result set. The Paginated table component consists been developed forfiltering with URIs, literalvalues, of a number of smaller components, which are used or geographical regions.The user can make selections to handle for example expanding of rows and showing with checkboxes or by drawinga bounding box ona multiple values in a single table cell. Separate compo- map. Thereare several additional user-controllable op- nents are provided for displaying plain text, HTML, or tions forfaceted search, such as sortingoffacetval- images in the Paginated table component, or elsewhere ues (e.g., by hit counts),visualizationoffacetvalue in the application. distributions (e.g., byapie chart), and selectingmul- For rendering geographical data, SAMPO-UI pro- tiple disjunctivevalues inasinglefacet.For showing vides two map components: Leaflet map and Deck.gl hierarchies of arbitrary depthefficiently, only concepts CORRECTEDmap. The LeafletPROOFmap component is based on the and their parent concepts need to be selected in the Leaflet35 library and it’s highly efficient marker cluster plugin36 for rendering up to 50000 map markers at a 31https://reactjs.org/docs/thinking-in-react.html time. Furthermore, the component includes function- 32https://angular.io/guide/architecture-components ality for showing external map layers from Web Map 33https://vuejs.org/v2/guide/components.html Tile Service (WMTS) and Web Feature Service (WFS) 34 The user interface components of SAMPO-UI are documented . at https://semanticcomputing.github.io/sampo-ui, where the docu- mentation texts are generated dynamically from the comments in the source code using the popular open source development tool Story- 35https://leafletjs.com book. 36https://github.com/Leaflet/Leaflet.markercluster E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 9

Fig. 6. A selection of SAMPO-UI components for building a faceted search perspective of a semantic portal.

Unlike the Leaflet map component, the Deck.gl37 for visualizing result sets as networks. The component map component is based on WebGL technology. We- is based on the Cytoscape.js40 graph theory library. For bGL enables a three-dimensional map view as well as advanced network analysis tasks that are not supported new ways for the analysis of large geographical result in the JavaScript ecosystem, the component utilizes the sets. The result sets can be for example rendered as Sparql2GraphServer Python API, as explained in Sec- a heatmap layer for visualizing geographical distribu- tion 4.1. tion, or as an arc layer for visualizing the movement of Because the underlying visualization libraries con- entities. sume data in different formats, specific result mapper To visualize spatio-temporal data, the Deck.gl com- functions are provided in the backend of SAMPO-UI ponent is used as a basis for the Temporal map com- for convertingthe rawSPARQLresults into desired ponent. The Temporal map component renders any ge- formats for all the different libaries in use. ographical data with timestamps as an interactive ani- Thanks to the component-based design and the cen- mation. tralized application state, the developer can easily For showing statistics, SAMPO-UI has ready-to-use add new components and result mapper functions for Pie chart, Line chart, and Bar chart components based searching and for visualizing results sets as needed. on ApexCharts38 and Google Charts.39 Each of these CORRECTEDThe responsi PROOFveness and accessibility of the major- components have their own data processing and con- ity of SAMPO-UI’s components is achieved using the figuration functions for reducing the trouble of deploy- Material-UI library,41 which is a React implementa- ing them in new use cases. tion of the established Material Design language42 de- Moreover, as LD provides a good basis for graph veloped and backed by Google. structures, SAMPO-UI includes a Network component

37https://deck.gl 40https://js.cytoscape.org 38https://apexcharts.com 41https://material-ui.com/ 39https://developers.google.com/chart 42https://material.io/ 10 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

5. Case study: Implementing the user interface of 5.2. Creating the user interface a semantic portal The development started by forking the SAMPO- In this section experiences of applying the SAMPO- UI GitHub repository.S AMPO-UI provides a pre- UI framework to createuserinterfaces arepresented configured environment for full stack JavaScript devel- and reflected usingthe developmentwork forthe user opment. Babel46 is used for converting the latest fea- interface of theWarVictimSampo 1914–1922 portal 43 tures of JavaScript, such as arrow functions and the [23] as a case study. async/await syntax, into a backwards compatible ver- sion of the language for current and older browsers. 5.1. Background for developing the portal Webpack47 handles the automatically restarting devel- opment server for the client, and bundling all source The WarVictimSampo portal was created to re- code and dependencies into static assets. The Node.js place an older web application that was used to pro- backend is run concurrently with the client, and is 48 vide access to the War Victims 1914–1922 database44 automatically restarted using Nodemon when the maintained by the National Archives of Finland. source code is changed. Uniform coding style is en- 49 The contains detailed information especially forced by using the JavaScript Standard Style pack- about the victims of the in 1918,45 age. including all known death records from that time due TheWarVictimsofFinland 1914–1922 database to the wars. The data has been used both by researchers hasvery detailedinformation about thevictims anda of history and by the general public interested in find- piece of information can relate toa personinmore ing out information about their deceased ancestors. than 150 differentways.Inthe portalthis data can be Simultaneously with the development of the new filteredwith multiple different types offacetsto best user interface, the database was updated with new vic- fit each type of information. Thesefacetswerecreated tims and converted into a LD knowledge graph. The usingthefacet componentsofS AMPO-UI presented new portal needed to work with the knowledge graph in Section 4.4. Most of the facets, like birth place and and enable exploring, visualising, and studying the re- occupation facets, were created with the Hierarchical sults in ways that are useful for both researchers and checkbox facet component. The birth dates and death the general public. The project had relatively little re- dates can be filtered with facets created with the Date facet component. Free text search for the victims name sources and time for creating the user interface of the was created with the Text facet component, and a facet portal, so it was was preferable to use some existing for number of children was created with the Slider application or framework as a basis for the user inter- facet component. face. SAMPO-UI was selected because it is based on After filtering out a result set in the portal, the results modern currently maintained technologies, and offers can be analyzed with various result set visualizations a comprehensive starting base of a complete full stack based on the components presented in Section 4.5.The JavaScript web application. default visualization of the results is a table created The portal was created with two faceted search per- with the Paginated table component. There is also map spectives to the data with various options for search for visualizing the death places and the battle places. and visualization: the war victims perspective, and The map was created with the Leaflet map component. a perspective for battles of the Finnish Civil War. For statistical analysis the portal includes pie chart More perspectives are planned to be added later. The and a line chart result set visualization. The pie chart WarVictimSampo portal was opened to the public in and line chart visualizations were created based on November 2019CORRECTEDand gathered nearly 20000 unique PROOF existing components of SAMPO-UI with some cus- users in the first month. tomization to better cater for this specific use case. For example, it was deemed useful to have the line chart 43The portal is published at https://sotasurmat.narc.fi/en.Seethe visualization automatically calculate the average and homepage https://seco.cs.aalto.fi/projects/sotasurmat-1914-1922/en for more information about the project. 44http://vesta.narc.fi/cgi-bin/db2www/sotasurmaetusivu/main? 46https://babeljs.io lang=en 47https://webpack.js.org 45The data contains also Finnish victims of the First World War 48https://nodemon.io and the Kindred Nations Wars in 1914–1922. 49https://standardjs.com E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 11

Fig. 7. Animation result set visualization of the battles of the Finnish Civil War. As time goes by on the time slider at the bottom, new battles emerge as red spots and turn later into black spots. In the image, the main front line of the Civil War from east to west can be seen. The battles can filtered using the facets on the left. median values of age for the war victims while also finding serendipitous phenomena forfurther analysis presenting the distribution as a chart. by closereading. The Temporal map component of SAMPO-UI was Forexample, Fig. 8 showstwo different line charts used for representing the course of events in the generated by the line chartviewoftheWarVictim- Finnish Civil War. The component, presented in Fig. 7, Sampo for comparingthe ages of people from one side is used for the animation result tab of the Battles per- of theCivilWarwhoseofficial place of residencewas spective, where the temporal and spatial metadata of in twodifferent provinces of Finland. In both charts, 50 1182 battles of the Finnish Civil War is rendered as an the party “Red” is selected from the “Party” facet. animation, with playback functionalities at the bottom In the upper chart, Province of and is se- of the map. lected from the “Registered province” facet and in the The entity landing pages for war victims are a core lower one the Province of Viipuri. There is a big dif- functionality of the portal. To best express things spe- ference in the shape of the charts, and the median age cific to this case, such as sources of different pieces of at death for people from the Province of Viipuri is five years greater. Therefore, for some reason, members of information, a custom component was created by ex- the Red party from the Province of Viipuri died a lot tending the general entity landing page component of older than those from the Province of Turku and Pori. SAMPO-UI. This is apparently previously unknown phenomena in Finally the CSV export functionality of SAMPO-UI the data, but could be easily found using the combina- was deployed forcreatingabuttonthat enables the tion of faceted search and result set visualizations for downloading of the current result setasa CSVfile data analysis. where one row corresponds toa one victim.Thisfea- CORRECTEDUsing S AMPOPROOF-UI as the basis for a new user in- turewas considered important andwasrequestedby terface for a semantic portal saved resources and historyresearchers. time, and demanded considerably less programming skill than would have otherwise been necessary. The 5.3. Reflections of using SAMPO-UI SAMPO-UI’s default structure and responsive layout for a user interface could be adopted with minor con- Faceted search, combined with visualizations for figuration. data analysis,was easytoimplement with theS AMPO- UI framework.Thiskindofuserinterface can bea 50The Civil War was fought between socialist Reds (“punainen” powerfultool when researching data, and can help in Finnish) and conservative (“valkoinen”). 12 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

tion to the research question “How can user interfaces for semantic portals based on Linked Data be built effi- ciently?”. Experiences on applying Sampo-UI for cre- ating a new user interface was presented through a case study. Table 1 presents the already published and forth- coming semantic portals that have been implemented using SAMPO-UI. The portals categorized as internal in Table 1 have been developed by the Semantic Com- puting Research Group (SeCo),51 while external por- tals,such as the portalfor theNorwegian placename registry Norske Stadnamn,52 are examples of external adoption of SAMPO-UI.53 The impact of the framework has been demonstrated through the case study presented in Section 5, the por- tals already using it, and the several new semantic por- tal user interfaces that are being built with it as shown in Table 1. The following list of SAMPO-UI’s properties re- flects the framework against the requirements for tools presented in Section 3: Fig. 8. Two line charts generated with the WarVictimSampo portal depicting number of people of certain age at death in the result set. T1. Ready-to-use basis for a user interface of a se- The upper chart depicts people of the Red party from the Province of mantic portal, which needs only minor modifi- Turku and Pori and the lower chart depicts people of the Red party cations for deploying as a modern web applica- from the Province of Viipuri. tion into production, T2. Well documented API and query templates for The ability to easily customize the existing compo- using single and multiple SPARQL endpoints, nents, and add new ones, was very useful here. This including password protected SPARQL end- made it possible to better express the characteristics of points, the specific rich and complicated data. The customiza- T3. Hierarchical checkbox facet component for tion requires some programming skill, but the core querying and visualizing ontological hierar- functionality provided by the framework includes ro- chies of arbitrary depth efficiently, bust patterns and tools for processing the data and de- T4. Two scalable faceted search approaches, livering it to the components in a predictable and uni- ServerFS and ClientFS, for different use sce- form way. Because the framework is integrated with narios. Result set visualization components use a plethora of open source JavaScript visualizations li- pagination and clustering, braries, even the creation of new result set visualiza- T5. Facilitate creating user-friendly, intuitive, and tion components is relatively easy. accessible user interfaces by enforcing the Ma- terial Design guidelines as a basis, T6. User interface components and visualization li- 6. Discussion braries support responsive web design, CORRECTEDT7. Sustainability PROOFfostered by providing open This section describes the contributions, availability, source code, extensive documentation, and sup- sustainability, and limitations of SAMPO-UI. port for through precon- figured development environments. 6.1. Contributions

51 This paper presented general features and require- https://seco.cs.aalto.fi 52https://toponymi.spraksamlingane.no ments for user interfaces of semantic portals and the 53More information about the portals and related publications new SAMPO-UI JavaScript framework for developing can be found on the homepage: https://seco.cs.aalto.fi/applications/ such user interfaces. SAMPO-UI is our proposed solu- sampo. E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 13

Table 1 Semantic portals using the SAMPO-UI framework. Six of these portals have already been published, and five forthcoming portals are underway. Some information regarding the forthcoming portals is marked as “to be announced” (TBA). The two different faceted search approaches are explained in Section 4.2. An extended version of this table including links to the portals and their homepages can be found at https://seco.cs. aalto.fi/applications/sampo Portal Year Domain Unique users Knowledge Faceted Primary data owner graph size search in triples approach Internal portals NameSampo 2019 Place names 39,000 241,068,456 ClientFS Institute for the Languages of Finland, National Land Survey of Finland, and the J. Paul Getty Trust WarVictimSampo 2019 Military history 29,000 9,815,265 ServerFS National Archives of Finland 1914–1922 Mapping Manuscript 2020 Pre-modern 7400 22,472,633 ServerFS Schoenberg Institute for Manuscript Migrations manuscripts Studies, Bodleian Libraries, and Institut de recherche et d’histoire des textes AcademySampo 2021 Finnish Academic 2200 6,552,629 ServerFS University of Helsinki, Finland People 1640–1899 LetterSampo TBA Epistolary data TBA TBA ServerFS The Circulation of Knowledge project LawSampo TBA Law TBA TBA ServerFS Ministry of Justice, Finland HistorySampo TBA Historical events TBA TBA ServerFS Agricola Network of Historians FindSampo TBA Archaeology and TBA TBA ServerFS Finnish Heritage Agency citizen science ParliamentSampo TBA Parliamentary data TBA TBA ServerFS

External portals Norske stadnamn 2019 Place names Unknown 217,353,538 ClientFS Norwegian Language Collections and the J. Paul Getty Trust Staff portal 2019 Human resources Unknown Unknown ClientFS Lingsoft Ltd.

The semantic portals created with SAMPO-UI con- ing pages, which are in turn interlinked with tain features which are here reflected against the se- each other, mantic portal requirements presented in Section 3: SP8. The data can be visualized using interactive maps, statistics, networks, and animations, SP1. The portals provide multiple perspectives for accessing the knowledge graph(s), SP9. Ready-to-use functionalities for CSV export. SP2. Each perspective includes a user interface Considering the requirements for tools for creat- based on faceted search with different result ing user interfaces for semantic portals, as well as set visualizations to support data analysis, the requirements for the portals themselves, SAMPO- SP3. Faceted, text, temporal, and geographical UI fullfills each requirement.Asmanyofthe require- search paradigms are supported, mentsare somewhat subjective, limitations regarding SP4. FacetedCORRECTEDsearch is efficient for visualizing in- the frame w orkPROOF arediscussedin Section 6.3. stances that share one or more specific prop- erties, 6.2. Comparison withexisting linked datauser SP5. Customised entity landing pages provide var- interface libraries and frameworks ious ways to study individual entities using several visualizations, The design philosophy behindS AMPO-UI differs SP6. Each perspective is customized for a specific from existing frameworks for LD user interfaces pre- entity type, sented in Section 2. Instead of focusing on provid- SP7. The perspectives are interlinked with each ing the software developer with configuration files and other and they contain links to the entity land- options as in, e.g., LD-R and SPARQL Faceter, in 14 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

SAMPO-UI the center of attention is keeping the ad- responds to one entity of interest. However, in real ditional layer between LD specifics and underlying world settings it is typical that a high number of JavaScript libraries as thin as possible. This provides SPARQL result rows need to be merged into arrays of the developer with full control of writing and extend- deeply nested JavaScript objects. This kind of func- ing the actual client-side or server-side JavaScript code tionality was not supported in any of the existing li- when necessary. braries we have surveyed, so a comprehensive set of These choices are based on the experiences of de- result handling functions were developed in SAMPO- veloping SAMPO-UI in conjunction with multiple LD UI. based projects in different domains, where it has be- come evident that implementing user interfaces for se- 6.3. Limitations and future work mantic portals requires a remarkably wide range of flexibility to be able to adapt to the particular data When designing user interfaces forsemantic por- models, schemas, search indices, and external APIs in tals, one has to select whichsearch paradigmsare use. Furthermore, as the data models get more com- supported.Akey challenge hereisthat thesearch plex and domain specific, it becomes virtually impossi- paradigm selectionaffectsthe datacreation phase and ble to create universally applicable user interface solu- publishing phase, so that ontologies and metadata an- tions that could be taken into use by employing solely notations supportthe planned user interfaces, and that configuration files. the needed APIs and search indices are deployed and SPARQL Faceter’s ideas of using only SPARQL for properly configured. Hence thefunctionalitiespro- data retrieval is also adopted in SAMPO-UI, and the vided by theS AMPO-UI components are dependent on other requirements found in the study have guided our the nature of the knowledge graph at hand, and the per- work. SPARQL Faceter is a library, which means that formance and configuration of the triplestore used for there has to be an existing application where it can be deploying it. imported for creating a fully functional semantic por- Since a user interface built with the SAMPO-UI tal. SAMPO-UI takes the setting further by providing framework isafullstack applicationwithaclient the developer a comprehensive ready-to-use basis for anda backend,S AMPO-UI cannot be included as an a complete JavaScript application with a client and a independent library, such as Leaflet, into an exist- backend. This basis needs only minor modifications ing JavaScript application. Instead, the framework is for deploying it in production as a polished user inter- meant to be used as a basis for a complete user inter- face for a semantic portal. face of a semantic portal, including a predefined devel- Instead of using only client-side code, introducing a opment environment, centralized state management, Node.js backend to the architecture adds some overall routing, and other relevant features. This in turn en- complexity, but the benefits are plentiful. A significant ables building a complete web application from scratch part of the logic related to various search paradigms by forking the SAMPO-UI repository, followed by mi- and the processing of search results can be carried out nor adaptations for the knowledge graph(s) in ques- in the backend using pure JavaScript, instead of having tion. to integrate the functionality inside client-side frame- The backend of Sampo-UI could also be used by an- works or libraries, which are known to become depre- other client via the well defined API. In order to fur- cated considerably sooner than pure JavaScript code. ther improve the reusability of SAMPO-UI, in the fu- Additionally, using the backend for SPARQL queries ture the client and the backend could be refactored and makes it possible to run many computationally ex- separated into respective packages, and published in pensive operations related to data processing on the CORRECTEDthe Node package PROOFmanager Registry.54 server, instead of relying on the varying computational As the API provided by SAMPO-UI’s backend is resources of the client. Also querying password pro- read-only, functionalities related to editing and main- tected APIs or SPARQL endpoints using only client- taining knowledge graphs are intentionally left out side code is impossible without exposing the API keys from the scope of the framework to avoid the com- or passwords to the users. plexity and security issues related to user manage- A central task in developing user interfaces for LD ment. Furthermore, supporting editing of LD while is to be able to convert raw SPARQL result rows into arrays of JavaScript objects. With simple SPARQL queries this is trivial, provided that one result row cor- 54https://docs.npmjs.com/using-npm/registry.html E. Ikkala et al. / Sampo-UI: A framework for developing semantic portal user interfaces 15 maintaining the integrity of knowledge graphs with Sustainability of SAMPO-UI is supported by releas- wildly differing and complex data models, such as the ing the framework with the open MIT License, and in- CIDOC CRM55 and its derivatives, is very challeng- deed the software has already been used by external ing, as many of the data models for knowledge graphs users with some contributions. Several new portals are are designed solely for presenting the data, not for edit- being developed using SAMPO-UI, which means that ing. the framework will be supported and developed further SAMPO-UI is built on a group of external dependen- by its developer, the Semantic Computing Research cies, which are listed in the standard package.json file. Group (SeCo) at the Aalto University and University For keeping the framework up to date, these dependen- of Helsinki (HELDIG). cies need to be updated periodically, while maintaining their mutual compatibility. Several new features are being planned for SAMPO- Acknowledgements UI, based on therequirementsofdifferent projectsus- ing it. Onerequestedextensionforfaceted search is The SAMPO-UI framework have been developed “faceted search withinafacet”, where, forexample, gradually during several projects in 2018–2021. instead of filtering theresultset of books by authors, Thanks to the Academy of Finland and University of one couldfilterby author’s birth date. Thiswouldre- Helsinki Future Fund for funding. The authors wish to quire refactoringthe core applicationstate and compo- acknowledge CSC – IT Center for Science, Finland, nentsofS AMPO-UI so that each facet could have it’s for computational resources. own filters for all relevant properties of the facet val- ues. Another development trend is creating new visu- alizations of result sets. In contrast to modifying the References facet components, they are easier to implement indi- vidually without touching the core parts of the applica- [1] N. Bikakis and T. Sellis, Exploration and visualization in the tion’s state. For example, visualizing imprecise tempo- web of big linked data: A survey of the state of the art, in: ral information on zoomable timelines, combined with Proceedings of the Workshops of the EDBT/ICDT 2016 Joint proper clustering algorithms for large result sets would Conference, CEUR Workshop Proceedings, Vol. 1558, 2016. certainly bring out new insights from already existing [2] C. Bizer, T. Heath and T. Berners-Lee, Linked data – the story so far, International Journal on Semantic Web and Information knowledge graphs. Systems 5(3) (2009), 1–22. doi:10.4018/jswis.2009081901. [3] E. Casalicchio and V. Perciballi, Auto-scaling of containers: 6.4. Availability and sustainability The impact of relative and absolute metrics, in: 2017 IEEE 2nd International Workshops on Foundations and Applications of Self* Systems (FAS* W), Institute of Electrical and Electronics The SAMPO-UI framework is being developed in Engineers, New York, New York, USA, 2017, pp. 207–214. 56 a GitHub repository, which contains example struc- doi:10.1109/FAS-W.2017.149. ture, configurations, and documentation for building [4] P. Haase, D.M. Herzig, A. Kozlov, A. Nikolov and J. Trame, a complete user interface for a semantic portal from metaphactory: A platform for knowledge graph management, scratch. User interfaces built with SAMPO-UI are be- Semantic Web – Interoperability, Usability, Applicability 10(6) ing developed in separate repositories, which are cre- (2019), 1109–1125. doi:10.3233/SW-190360. [5] M. Hearst, A. Elliott, J. English, R. Sinha, K. Swearingen and ated by forking the SAMPO-UI repository. When new K.-P. Lee, Finding the flow in web site search, Communica- functionalities are added to the SAMPO-UI core repos- tions of the ACM 45(9) (2002), 42–49. doi:10.1145/567498. itory, they can CORRECTEDbe merged into other respective repos- 567525 . PROOF itories when needed, to facilitate code re-use. De- [6] M.A. Hearst, Search User Interfaces, Cambridge Uni- pendency management and backward compatibility of versity Press, Cambridge, UK, 2009. doi:10.1017/ CBO9781139644082. SAMPO-UI is ensured by using Semantic Version- [7] T. Heath and C. Bizer, Linked data: Evolving the web into 57 ing. The first stable version of the framework was a global data space, in: Synthesis Lectures on the Seman- released on April 24, 2020. tic Web: Theory and Technology, Morgan & Claypool Pub- lishers, San Rafael, CA, USA, 2011, pp. 1–136. doi:10.2200/ S00334ED1V01Y201102WBE001. 55http://www.cidoc-crm.org [8] A.R. Hevner, S.T. March, J. Park and S. Ram, Design science 56https://github.com/SemanticComputing/sampo-ui in information systems research, MIS Quarterly 28(1) (2004), 57https://semver.org 75–105. doi:10.2307/25148625. 16 E. Ikkala et al./ Sampo-UI:A frameworkfor developing semantic portaluserinterfaces

[9]E.Hyönen, “Sampo” modeland semantic portals fordigital hu- [18] J. Klímek, P. Škoda and M. Necaskˇ y,` Survey of tools for linked manities on the Semantic Web, in: DHN 2020 Digital Human- data consumption, Semantic Web – Interoperability, Usability, ities in the Nordic Countries. Proceedings of the Digital Hu- Applicability 10(4) (2019), 665–720. doi:10.3233/SW-180316. manities in the Nordic Countries 5th Conference, CEUR Work- [19] M. Koho, E. Heino and E. Hyvönen, SPARQL faceter – client- shop Proceedings, Vol. 2612, 2020, pp. 373–378. side faceted search based on SPARQL, in: Joint Proceedings [10] E. Hyvönen, Semantic portals for cultural heritage, in: Hand- of the 4th International Workshop on Linked Media and the book on Ontologies, S. Staab and R. Studer, eds, 2nd edn, 3rd Developers Hackshop, CEUR Workshop Proceedings,Vol. Springer, Berlin, Heidelberg, 2009, pp. 757–778. doi:10.1007/ 1615, 2016. 978-3-540-92673-3_34. [20] H. Lausen, Y. Ding, M. Stollberg, D. Fensel, R. Lara Hernán- [11] E. Hyvönen, Publishing and using cultural heritage linked data dez and S.-K. Han, Semantic web portals: State-of-the-art sur- on the Semantic Web, in: Synthesis Lectures on the Semantic vey, Journal of Knowledge Management 9(5) (2005), 40–49. Web: Theory and Technology, Vol. 2, Morgan & Claypool Pub- doi:10.1108/13673270510622447. lishers, San Rafael, CA, USA, 2012, pp. 1–159. doi:10.2200/ [21] L. Po, N. Bikakis, F. Desimoni and G. Papastefanatos, Linked S00452ED1V01Y201210WBE003. Data Visualization: Techniques, Tools and Big Data, Synthesis [12] E. Hyvönen, Using the Semantic Web in digital humanities: Shift from data publishing to data-analysis and serendipitous Lectures on Data, Semantics and Knowledge, Vol. 10, Morgan knowledge discovery, Semantic Web – Interoperability, Us- & Claypool Publishers, San Rafael, CA, USA, 2020, pp. 1– ability, Applicability 11(1) (2020), 187–193. doi:10.3233/SW- 157. doi:10.2200/S00967ED1V01Y201911WBE019. 190386. [22] A.S. Pollitt, The key role of classification and indexing in view- [13] E. Hyvönen, E. Ikkala, J. Tuominen, M. Koho, T. Burrows, based searching, Technical Report, University of Huddersfield, L. Ransom and H. Wijsman, A linked open data service and UK, 1998. portal for pre-modern manuscript research, in: Proceedings of [23] H. Rantala, E. Ikkala, I. Jokipii, M. Koho, J. Tuominen and the Digital Humanities in the Nordic Countries 4th Conference E. Hyvönen, WarVictimSampo 1914–1922: A semantic portal (DHN 2019), CEUR Workshop Proceedings, Vol. 2364, 2019, and linked data service for digital humanities research on war pp. 220–229. history, in: The Semantic Web: ESWC 2020 Satellite Events, [14] S. Idreos, O. Papaemmanouil and S. Chaudhuri, Overview of A. Harth, V. Presutti, R. Troncy, M. Acosta, A. Polleres, J.D. data exploration techniques, in: Proceedings of the 2015 ACM Fernández, J.X. Parreira, O. Hartig, K. Hose and M. Cochez, SIGMOD International Conference on Management of Data, eds, Lecture Notes in Computer Science, Vol. 12124, Springer, SIGMOD ’15, Association for Computing Machinery, New Cham, 2020, pp. 191–196. doi:10.1007/978-3-030-62327-2_ York, NY, USA, 2015, pp. 277–281. doi:10.1145/2723372. 33. 2731084. [24] G.M. Sacco, Guided interactive diagnostic assistance, in: En- [15] E. Ikkala, J. Tuominen, J. Raunamaa, T. Aalto, T. Ainiala, cyclopedia of Healthcare Information Systems, N. Wickramas- H. Uusitalo and E. Hyvönen, NameSampo: A linked open inghe and E. Geisler, eds, IGI Global, Hershey, Pennsylva- data infrastructure and workbench for toponomastic research, nia, USA, 2008, pp. 631–635. doi:10.4018/978-1-59904-889- in: Proceedings of the 2nd ACM SIGSPATIAL Workshop on 5.ch080. Geospatial Humanities, Association for Computing Machin- [25] S. Staab, J. Angele, S. Decker, M. Erdmann, A. Hotho, A. ery, New York, NY, USA, 2018, pp. 2:1–2:9. doi:10.1145/ Maedche, H.-P. Schnurr, R. Studer and Y. Sure, Semantic com- 3282933.3282936. munity Web portals, Computer Networks 33 (2000), 473–491. [16] A. Khalili, A. Loizou and F. van Harmelen, Adaptive linked doi:10.1016/S1389-1286(00)00039-6. data-driven web components: Building flexible and reusable [26] N. Stojanovic, A. Maedche, S. Staab, R. Studer and Y. Sure, Semantic Web interfaces, in: The Semantic Web. Latest Ad- vances and New Domains. ESWC 2016,H.Sack,E.Blomqvist, SEAL: A framework for developing SEmantic PortALs, in: M. d’Aquin, C. Ghidini, S.P. Ponzetto and C. Lange, eds, Lec- Proceedings of the 1st International Conference on Knowledge ture Notes in Computer Science, Vol. 9678, Springer, Cham, Capture, K-CAP ’01, Association for Computing Machinery, 2016, pp. 677–692. doi:10.1007/978-3-319-34129-3_41. New York, NY, USA, 2001, pp. 155–162. doi:10.1145/500737. [17] A. Khalili, P. Van den Besselaar and K.A. de Graaf, FERASAT: 500762. A serendipity-fostering faceted browser for linked data, in: The [27] O. Suominen, Methods for Building Semantic Portals, PhD Semantic Web. ESWC 2018, A. Gangemi, R. Navigli, M.-E. Vi- thesis, Aalto University, Finland, 2013. dal, P. Hitzler, R. Troncy, L. Hollink, A. Tordai and M. Alam, [28] D. Tunkelang, Faceted Search, Synthesis Lectures on Informa- eds, Lecture NCORRECTEDotes in Computer Science, Vol. 10843, Springer, tion C oncepts, PROOFRetrieval, and Services, Vol. 1, Morgan & Clay- Cham, 2018, pp. 351–366. doi:10.1007/978-3-319-93417-4_ pool Publishers, San Rafael, CA, USA, 2009, pp. 1–80. doi:10. 23. 2200/S00190ED1V01Y200904ICR005.