This file contains 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
** Live version: https://github.com/apache/jena/blob/master/jena-fuseki2/examples/fuseki-jetty-https.xml | |
<?xml version="1.0"?> | |
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> | |
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | |
<Get name="ThreadPool"> | |
<Set name="minThreads" type="int"><Property name="jetty.threadPool.minThreads" deprecated="threads.min" default="10"/></Set> |
This file contains 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
public static class Select extends Query implements Function<Dataset, ResultSet> { | |
public Select(String string) { | |
QueryFactory.parse(this, string, null, Syntax.syntaxARQ); | |
} | |
@Override | |
public ResultSet apply(Dataset t) { | |
return QueryExecutionFactory.create(this, t).execSelect(); | |
} | |
} |
This file contains 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
#!/bin/bash | |
echo "== Step 1a" | |
curl --header 'Accept: application/trig' http://localhost:3030/ds | |
echo "----" | |
s-put http://localhost:3030/ds/data http://localhost:3030/graph5 update.ttl | |
echo "== Step 1b" | |
curl --header 'Accept: application/trig' http://localhost:3030/ds | |
echo "----" |
This file contains 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
#!/bin/bash | |
function dump_dataset() { | |
echo "<<<< ---- ----" | |
curl --header 'Accept: application/trig' http://localhost:3030/ds | |
echo ">>>> ---- ----" | |
} | |
echo "== Setup" | |
curl -s -d update="CLEAR ALL" http://localhost:3030/ds 1>/dev/null |
This file contains 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 2018 Andy Seaborne | |
* | |
* 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 |
This file contains 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
#!/usr/bin/perl | |
# find . -name \*.java | xargs -n 1 perl -i.bak SCRIPT | |
# Licenses | |
# Apache, where the code is granted to the Apache Software Foundation. | |
$HEADER1=<<'EOF'; | |
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information |
This file contains 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
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you 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 |
This file contains 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
## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 | |
status = error | |
name = JenaLog4j2 | |
appender.console.type = Console | |
appender.console.name = OUT | |
appender.console.target = SYSTEM_ERR | |
## appender.console.target = SYSTEM_OUT | |
appender.console.layout.type = PatternLayout | |
appender.console.layout.pattern = %d{HH:mm:ss} %-5p %-15c{1} :: %m%n |
This file contains 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
PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
PREFIX vcard: <http://www.w3.org/2001/vcard-rdf/3.0#> | |
PREFIX ns: <http://example.org/ns#> | |
PREFIX : <http://example.org/book/> | |
# This data is intentionaly irregular (e.g. different ways to | |
# record the book creator) as if the information is either an | |
# aggregation or was created at different times. |
This file contains 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
#!/bin/bash | |
# Replace file Log4j2Plugins.dat in fuseki-server.jar for the one | |
# in jena-fuseki-server.jar. | |
ROOT="https://repo1.maven.org/maven2/org/apache/jena" | |
VER=3.15.0 | |
JAR="jena-fuseki-server-$VER.jar" | |
L4J="META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat" |
OlderNewer