This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2017 Stardog Union. <http://www.stardog.com> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2013 -- Clark & Parsia, LLC. <http://www.clarkparsia.com> | |
// For more information about licensing and copyright of this software, please contact [email protected]. | |
package com.complexible.stardog; | |
import java.io.File; | |
import java.io.PrintStream; | |
import java.nio.file.Path; | |
import java.util.Map; | |
import java.util.concurrent.TimeUnit; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stardog commands and the output for RDF validation example | |
# First create the Stardog database and load data | |
$ ./stardog-admin db create -n sota sota-data.ttl | |
Bulk loading data to new database. | |
Loading data completed...Loaded 25 triples in 00:00:00 @ 0.4K triples/sec. | |
Successfully created database 'sota'. | |
# Then add the constraints to the database |