Graphdb Free Documentation Release 8.6

Total Page:16

File Type:pdf, Size:1020Kb

Graphdb Free Documentation Release 8.6 GraphDB Free Documentation Release 8.6 Ontotext Sep 24, 2018 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 RDF4J.......................................3 1.2.1.2 The Sail API....................................4 1.2.2 Components.........................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB Free............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 2 Quick start guide 9 2.1 Run GraphDB as a desktop installation...............................9 2.1.1 On Windows........................................ 10 2.1.2 On Mac OS......................................... 10 2.1.3 On Linux.......................................... 10 2.1.4 Configuring GraphDB................................... 10 2.1.5 Stopping GraphDB..................................... 11 2.2 Run GraphDB as a stand-alone server................................ 11 2.2.1 Running GraphDB..................................... 11 2.2.1.1 Options...................................... 11 2.2.2 Configuring GraphDB................................... 12 2.2.2.1 Paths and network settings............................ 12 2.2.2.2 Java virtual machine settings........................... 12 2.2.3 Stopping the database.................................... 12 2.3 Set up your license.......................................... 12 2.4 Create a repository.......................................... 12 2.5 Load your data............................................ 13 2.5.1 Load data through the GraphDB Workbench........................ 13 2.5.2 Load data through SPARQL or RDF4J API........................ 15 2.5.3 Load data through the GraphDB LoadRDF tool...................... 15 2.6 Explore your data and class relationships.............................. 16 2.6.1 Explore instances...................................... 16 2.6.2 Create your own visual graph................................ 18 2.6.3 Class hierarchy....................................... 19 2.6.4 Domain-Range graph.................................... 21 2.6.5 Class relationships..................................... 23 2.7 Query your data........................................... 26 2.7.1 Query data through the Workbench............................. 26 2.7.2 Query data programmatically................................ 30 i 2.8 Additional resources......................................... 30 3 Installation 33 3.1 Requirements............................................. 33 3.1.1 Minimum.......................................... 33 3.1.2 Hardware sizing....................................... 33 3.1.3 Licensing.......................................... 34 3.2 Running GraphDB.......................................... 34 3.2.1 Run GraphDB as a desktop installation........................... 34 3.2.1.1 On Windows.................................... 34 3.2.1.2 On Mac OS.................................... 35 3.2.1.3 On Linux...................................... 35 3.2.1.4 Configuring GraphDB............................... 35 3.2.1.5 Stopping GraphDB................................ 36 3.2.2 Run GraphDB as a stand-alone server........................... 36 3.2.2.1 Running GraphDB................................. 36 3.2.2.2 Configuring GraphDB............................... 36 3.2.2.3 Stopping the database............................... 37 3.3 Configuring GraphDB........................................ 37 3.3.1 Directories......................................... 38 3.3.1.1 GraphDB Home.................................. 38 3.3.1.2 Checking the configured directories........................ 39 3.3.2 Configuration........................................ 39 3.3.2.1 Config properties................................. 39 3.3.2.2 Configuring logging................................ 40 3.3.3 Best practices........................................ 40 3.3.3.1 Step by step guide................................. 40 3.4 Distribution package......................................... 41 3.5 Using Maven artifacts........................................ 41 3.5.1 Public Maven repository.................................. 41 3.5.2 Distribution......................................... 42 3.5.3 GraphDB JAR file for embedding the database or plugin development.......... 42 3.5.4 I want to proxy the repository in my nexus......................... 42 4 Administration 43 4.1 Administration tasks......................................... 43 4.2 Administration tools......................................... 43 4.2.1 Workbench......................................... 44 4.2.2 JMX interface........................................ 44 4.2.2.1 Configuring the JMX endpoint.......................... 44 4.3 Creating locations.......................................... 44 4.3.1 Active location....................................... 45 4.3.2 Inactive location...................................... 47 4.3.3 Connect to a remote location................................ 47 4.3.4 Configure a data location.................................. 48 4.4 Creating a repository......................................... 49 4.4.1 Create a repository..................................... 49 4.4.1.1 Using the Workbench............................... 49 4.4.1.2 Using the RDF4J console............................. 50 4.4.2 Manage repositories..................................... 50 4.4.2.1 Select a repository................................. 50 4.4.2.2 Make it a default repository............................ 50 4.4.2.3 Edit a repository.................................. 51 4.5 Configuring a repository....................................... 51 4.5.1 Plan a repository configuration............................... 51 4.5.2 Configure a repository through the GraphDB Workbench................. 52 4.5.3 Edit a repository...................................... 52 4.5.4 Configure a repository programmatically.......................... 53 ii 4.5.5 Configuration parameters.................................. 54 4.5.6 Configure GraphDB memory................................ 57 4.5.6.1 Configure Java heap memory........................... 57 4.5.6.2 Single global page cache............................. 57 4.5.6.3 Configure Entity pool memory.......................... 58 4.5.6.4 Sample memory configuration.......................... 58 4.5.7 Reconfigure a repository.................................. 58 4.5.7.1 Using the Workbench............................... 59 4.5.7.2 In the SYSTEM repository.............................. 59 4.5.7.3 Global overrides.................................. 59 4.5.8 Rename a repository.................................... 59 4.5.8.1 Using the workbench............................... 59 4.5.8.2 Editing of the SYSTEM repository......................... 59 4.6 Secure GraphDB........................................... 60 4.6.1 Enable security....................................... 61 4.6.2 Login and default credentials................................ 61 4.6.3 Free access......................................... 61 4.6.4 Users and Roles....................................... 62 4.6.4.1 Create new user.................................. 62 4.6.4.2 Set password.................................... 64 4.7 Application settings......................................... 64 4.8 Backing up and restoring a repository................................ 65 4.8.1 Backup a repository..................................... 65 4.8.1.1 Export repository to an RDF file......................... 65 4.8.1.2 Backup GraphDB by copying the binary image.................. 66 4.8.2 Restore a repository..................................... 67 4.9 Query monitoring and termination.................................. 67 4.9.1 Query monitoring and termination using the workbench.................. 68 4.9.2 Query monitoring and termination using the JMX interface................ 68 4.9.2.1 Query monitoring................................. 68 4.9.2.2 Terminating a query................................ 69 4.9.3 Terminating a transaction.................................. 70 4.9.4 Automatically prevent long running queries........................ 70 4.10 Troubleshooting........................................... 70 4.10.1 Database health checks................................... 70 4.10.1.1 Possible values for health checks and their meaning............... 71 4.10.1.2 Default health checks for the different GraphDB editions............ 71 4.10.1.3 Running the health checks............................. 71 4.10.2 System metrics monitoring................................. 72 4.10.2.1 Page cache metrics................................. 72 4.10.2.2 Entity pool metrics................................ 73 4.10.3 Diagnosing and reporting critical errors.......................... 73 4.10.3.1 Report....................................... 73 4.10.3.2 Logs........................................ 75 4.10.4 Storage tool......................................... 76 4.10.4.1 Options...................................... 76 4.10.4.2 Supported commands............................... 77 4.10.4.3 Examples..................................... 77 5 Usage 79 5.1 Loading data............................................
Recommended publications
  • Graphdb-Free.Pdf
    GraphDB Free Documentation Release 8.5 Ontotext Jun 17, 2019 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 RDF4J.......................................3 1.2.1.2 The Sail API....................................4 1.2.2 Components.........................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB Free............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 2 Quick start guide 9 2.1 Run GraphDB as a desktop installation...............................9 2.1.1 On Windows........................................ 10 2.1.2 On Mac OS......................................... 10 2.1.3 On Linux.......................................... 10 2.1.4 Configuring GraphDB................................... 10 2.1.5 Stopping GraphDB..................................... 11 2.2 Run GraphDB as a stand-alone server................................ 11 2.2.1 Running GraphDB..................................... 11 2.2.1.1 Options...................................... 11 2.2.2 Configuring GraphDB................................... 12 2.2.2.1 Paths and network settings...........................
    [Show full text]
  • Graphdb Free Documentation Release 8.10
    GraphDB Free Documentation Release 8.10 Ontotext Aug 09, 2019 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 RDF4J.......................................3 1.2.1.2 The Sail API....................................4 1.2.2 Components.........................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB Free............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 2 Quick start guide 9 2.1 Run GraphDB as a desktop installation...............................9 2.1.1 On Windows........................................ 10 2.1.2 On Mac OS......................................... 10 2.1.3 On Linux.......................................... 10 2.1.4 Configuring GraphDB................................... 10 2.1.5 Stopping GraphDB..................................... 11 2.2 Run GraphDB as a stand-alone server................................ 11 2.2.1 Running GraphDB..................................... 11 2.2.1.1 Options...................................... 11 2.2.2 Configuring GraphDB................................... 12 2.2.2.1 Paths and network settings...........................
    [Show full text]
  • Graphdb Free Documentation Release 8.8
    GraphDB Free Documentation Release 8.8 Ontotext Mar 13, 2019 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 RDF4J.......................................3 1.2.1.2 The Sail API....................................4 1.2.2 Components.........................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB Free............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 2 Quick start guide 9 2.1 Run GraphDB as a desktop installation...............................9 2.1.1 On Windows........................................ 10 2.1.2 On Mac OS......................................... 10 2.1.3 On Linux.......................................... 10 2.1.4 Configuring GraphDB................................... 10 2.1.5 Stopping GraphDB..................................... 11 2.2 Run GraphDB as a stand-alone server................................ 11 2.2.1 Running GraphDB..................................... 11 2.2.1.1 Options...................................... 11 2.2.2 Configuring GraphDB................................... 12 2.2.2.1 Paths and network settings...........................
    [Show full text]
  • A Geosparql Compliance Benchmark Which Aims to Measure the Extent to Which an RDF Triplestore Complies with the Requirements Specified in the Geosparql Standard
    AGEOSPARQL COMPLIANCE BENCHMARK APREPRINT Milos Jovanovik Timo Homburg Ss. Cyril and Methodius Univesity in Skopje, N. Macedonia Mainz University Of Applied Sciences, Germany OpenLink Software, London, UK [email protected] [email protected] Mirko Spasic´ University of Belgrade, Serbia OpenLink Software, London, UK [email protected] February 12, 2021 ABSTRACT We propose a series of tests that check for the compliance of RDF triplestores with the GeoSPARQL standard. The purpose of the benchmark is to test how many of the requirements outlined in the standard a tested system supports and to push triplestores forward in achieving a full GeoSPARQL compliance. This topic is of concern because the support of GeoSPARQL varies greatly between different triplestore implementations, and such support is of great importance for the domain of geospatial RDF data. Additionally, we present a comprehensive comparison of triplestores, providing an insight into their current GeoSPARQL support. Keywords GeoSPARQL · Benchmarking · RDF · SPARQL 1 Introduction The geospatial Semantic Web [1] as part of the Semantic Web [2] represents an ever-growing semantically interpreted wealth of geospatial information. The initial research [3] and the subsequent introduction of the OGC GeoSPARQL standard [4] formalized geospatial vector data representations (WKT [5] and GML [6]) in ontologies, and extended the SPARQL query language [7] with support for spatial relation operators. arXiv:2102.06139v1 [cs.DB] 11 Feb 2021 Several RDF storage solutions have since adopted GeoSPARQL to various extents as features of their triplestore implementations [8, 9]. These varying levels of implementation may lead to some false assumptions of users when choosing an appropriate triplestore implementation for their project.
    [Show full text]
  • How Semantic Technologies Enable Domain Experts to Steer Cognitive Applications July 2017 by Nick Tahamtan, IDC #CEMA42878117 Sponsored by Semantic Web Company
    IDC WHITE PAPER How Semantic Technologies Enable Domain Experts to Steer Cognitive Applications July 2017 by Nick Tahamtan, IDC #CEMA42878117 Sponsored by Semantic Web Company This IDC White Paper discusses how companies can utilize semantic technologies to build cognitive applications. It examines the role of semantic technologies within the larger artificial intelligence (AI) technology ecosystem with the aim of raising awareness of different solution approaches.To succeed in a digital and increasingly self-service-oriented business environment, companies can no longer rely solely on IT professionals. Solutions like the PoolParty Semantic Suite utilize domain experts and business users to shape the cognitive intelligence of knowledge-driven applications. Introduction Scarcity is the fundamental driver of the marketplace. In the ever-expanding digital economy, however, "scarcity" is being replaced by "abundance" — of data. Yet studies show that less than 10% of data is used effectively by organizations. Collecting more data does not necessarily result in more value. A digital asset gains value when it can be exploited to provide insight, influence decisions, and set directions. Semantic technologies close the gap between data collection and value creation from data. Every enterprise has a huge amount of data hidden in textual form (documents and files), and up to 90% of enterprise data is unstructured (IDC: Unlocking the Hidden Value of Information, 2014). This information, when properly utilized, can be used to create a better customer experience, bring better products to market, and reduce costs along the enterprise value chain. Companies that can process text-based resources have a critical competitive advantage. Businesses are making uneven progress in exploiting the data they possess.
    [Show full text]
  • Graphdb SE Documentation Release 6.6
    GraphDB SE Documentation Release 6.6 Ontotext Dec 14, 2017 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & Components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 Sesame.......................................3 1.2.1.2 The SAIL API...................................4 1.2.2 GraphDB components...................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB SE.............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 GraphDB SE in the Cloud......................................6 1.4.1 Overview..........................................6 1.4.2 Amazon Web Services...................................6 1.4.3 Pricing details........................................7 1.4.4 Setup and usage.......................................7 1.5 Connectors..............................................7 1.6 Workbench..............................................8 1.6.1 Requirements........................................8 1.6.2 How to use it........................................9 2 Quick Start Guide 11 2.1 Starting the database......................................... 11 2.2 Creating locations and repositories................................. 12 2.3 Loading data............................................. 13 2.3.1 Supported file formats..................................
    [Show full text]
  • Using OWL/RDFS for Building Semantic Web Applications
    Using OWL/RDFS for Building Semantic Web Applications Xavier Lopez, Ph.D., Director, Oracle Server Technologies Zhe Wu, Ph.D., Consultant Member, Oracle Server Technologies Agenda • Introduction to Semantic Web and Oracle 11g Semantic Technologies • What is semantic web? • Business use cases • Capabilities overview • Architecture/Query/Store/Inference/Java APIs • Scalability and performance • Web ontology languages overview • RDFS/OWL • Using RDFS/OWL in your semantic applications • Summary Introduction to Semantic Web and Business Use Cases Semantic Data Management Characteristics • Discovery of data relationships across… • Structured data (database, apps, web services) • Unstructured data (email, office documents) Multi-data types (graphs, spatial, text, sensors) • Text Mining & Web Mining infrastructure • Terabytes of structured & unstructured data • Queries are not defined in advance • Schemas are continuously evolving • Associate more meaning (context) to enterprise data to enable its (re)use across applications • Allow sharing and reuse of enterprise and web data. • Built on open, industry W3C standards: • SQL, XML, RDF, OWL, SPARQL Case Study: National Intelligence Ontology Engineering Modeling Process Information RDF/OWL Extraction Processed OWL Categorization, Feature/ Document Ontologies term Extraction Web Resources Collection Domain Specific Knowledge Base News, Email, RSS SQL/SPARQL Query Content Mgmt. Systems Explore Browsing, Presentation, Reporting, Visualization, Query Analyst Data Integration Platform in Health Informatics
    [Show full text]
  • Graphdb SE Documentation Release 8.5
    GraphDB SE Documentation Release 8.5 Ontotext Jun 17, 2019 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 RDF4J.......................................3 1.2.1.2 The Sail API....................................4 1.2.2 Components.........................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB SE.............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 2 Quick start guide 9 2.1 Run GraphDB as a stand-alone server................................9 2.1.1 Running GraphDB.....................................9 2.1.1.1 Options...................................... 10 2.1.2 Configuring GraphDB................................... 10 2.1.2.1 Paths and network settings............................ 10 2.1.2.2 Java virtual machine settings........................... 10 2.1.3 Stopping the database.................................... 11 2.2 Set up your license.......................................... 11 2.3 Create a repository.......................................... 13 2.4 Load your data............................................ 13 2.4.1 Load data
    [Show full text]
  • Linked Library Data: Early Activity and Development
    Library Technology R E P O R T S Expert Guides to Library Systems and Services Library Linked Data: Early Activity and Development Erik T. Mitchell alatechsource.org American Library Association About the Author Erik T. Mitchell, PhD, is associate university librar- Library Technology ian and associate CIO at the University of California, REPORTS Berkeley. In addition to focusing his work on informa- tion technology adoption and use in libraries, Mitchell ALA TechSource purchases fund advocacy, awareness, and studies metadata issues and professional development accreditation programs for library professionals worldwide. in library and information science. He is the author of Volume 52, Number 1 Cloud-Based Services for Your Library, Metadata Standards Library Linked Data: Early Activity and Development and Web Services in Libraries, Archives, and Museums and ISBN: 978-0-8389-5968-8 is a columnist for Technical Services Quarterly. He holds a doctorate in information and library science from the American Library Association University of North Carolina at Chapel Hill, a master’s 50 East Huron St. Chicago, IL 60611-2795 USA degree in library science from the University of South alatechsource.org Carolina, and a bachelor’s degree in literature from 800-545-2433, ext. 4299 312-944-6780 Lenoir-Rhyne University. 312-280-5275 (fax) Advertising Representative Patrick Hogan Abstract [email protected] 312-280-3240 Editor Erik T. Mitchell wrote Library Technology Reports Patrick Hogan (vol. 50, no. 5), “Library Linked Data: Research and [email protected] Adoption,” published in July 2013. This report revis- 312-280-3240 its the adoption of Linked Data by libraries, archives, Copy Editor and museums, identifying current trends, challenges, Judith Lauber and opportunities in the field.
    [Show full text]
  • A Geosparql Compliance Benchmark
    International Journal of Geo-Information Article A GeoSPARQL Compliance Benchmark Milos Jovanovik 1,2,* , Timo Homburg 3 and Mirko Spasi´c 2,4 1 Faculty of Computer Science and Engineering, Ss. Cyril and Methodius University in Skopje, 1000 Skopje, North Macedonia 2 OpenLink Software Ltd., Croydon, Surrey CR0 0XZ, UK; [email protected] 3 i3mainz—Institute for Spatial Information & Surveying Technology, Mainz University of Applied Sciences, 55128 Mainz, Germany; [email protected] 4 Faculty of Mathematics, University of Belgrade, 11000 Belgrade, Serbia * Correspondence: milos.jovanovik@finki.ukim.mk Abstract: GeoSPARQL is an important standard for the geospatial linked data community, given that it defines a vocabulary for representing geospatial data in RDF, defines an extension to SPARQL for processing geospatial data, and provides support for both qualitative and quantitative spatial reasoning. However, what the community is missing is a comprehensive and objective way to measure the extent of GeoSPARQL support in GeoSPARQL-enabled RDF triplestores. To fill this gap, we developed the GeoSPARQL compliance benchmark. We propose a series of tests that check for the compliance of RDF triplestores with the GeoSPARQL standard, in order to test how many of the requirements outlined in the standard a tested system supports. This topic is of concern because the support of GeoSPARQL varies greatly between different triplestore implementations, and the extent of support is of great importance for different users. In order to showcase the benchmark and its applicability, we present a comparison of the benchmark results of several triplestores, providing an insight into their current GeoSPARQL support and the overall GeoSPARQL support in the geospatial Citation: Jovanovik, M.; Homburg, linked data domain.
    [Show full text]
  • Graphdb Free Documentation Release 8.4
    GraphDB Free Documentation Release 8.4 Ontotext Oct 12, 2018 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 RDF4J.......................................3 1.2.1.2 The Sail API....................................4 1.2.2 Components.........................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB Free............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 2 Quick start guide 9 2.1 Run GraphDB as a desktop installation...............................9 2.1.1 On Windows........................................ 10 2.1.2 On Mac OS......................................... 10 2.1.3 On Linux.......................................... 10 2.1.4 Configuring GraphDB................................... 10 2.1.5 Stopping GraphDB..................................... 11 2.2 Run GraphDB as a stand-alone server................................ 11 2.2.1 Running GraphDB..................................... 11 2.2.1.1 Options...................................... 11 2.2.2 Configuring GraphDB................................... 12 2.2.2.1 Paths and network settings...........................
    [Show full text]
  • Graphdb Free Documentation Release 6.6
    GraphDB Free Documentation Release 6.6 Ontotext Dec 14, 2017 CONTENTS 1 General 1 1.1 About GraphDB...........................................2 1.2 Architecture & Components.....................................2 1.2.1 Architecture.........................................2 1.2.1.1 Sesame.......................................3 1.2.1.2 The SAIL API...................................4 1.2.2 GraphDB components...................................4 1.2.2.1 Engine.......................................4 1.2.2.2 Connectors.....................................5 1.2.2.3 Workbench.....................................5 1.3 GraphDB Free............................................5 1.3.1 Comparison of GraphDB Free and GraphDB SE......................6 1.4 Connectors..............................................6 1.5 Workbench..............................................6 1.5.1 Requirements........................................7 1.5.2 How to use it........................................7 2 Quick Start Guide 9 2.1 Starting the database.........................................9 2.2 Creating locations and repositories................................. 10 2.3 Loading data............................................. 11 2.3.1 Supported file formats................................... 11 2.3.2 Loading data through the GraphDB Workbench...................... 11 2.3.2.1 To load a local file:................................ 11 2.3.2.2 To load a database server file:........................... 12 2.3.2.3 Other ways of loading data:............................ 13
    [Show full text]