Skip to content

Commit

Permalink
Basic SHACL support in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Oct 14, 2022
1 parent 773b2e1 commit 1a4f56a
Show file tree
Hide file tree
Showing 12 changed files with 1,969 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.sparql.vocabulary.FOAF;
import org.apache.jena.update.UpdateFactory;
import org.apache.jena.update.UpdateRequest;
import org.apache.jena.vocabulary.RDF;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.ext.Providers;
import org.apache.jena.rdfxml.xmloutput.impl.Basic;
import org.apache.jena.riot.Lang;
import com.atomgraph.processor.vocabulary.SIOC;
Expand Down Expand Up @@ -79,7 +77,6 @@ public class ValidatingModelProvider extends com.atomgraph.server.io.ValidatingM
private static final Logger log = LoggerFactory.getLogger(ValidatingModelProvider.class);

@Context UriInfo uriInfo;
@Context Providers providers;
@Context SecurityContext securityContext;

@Inject javax.inject.Provider<com.atomgraph.linkeddatahub.apps.model.Application> application;
Expand Down Expand Up @@ -216,7 +213,7 @@ public Resource processRead(Resource resource) // this logic really belongs in a
String updateString = resource.getProperty(SP.text).getString();
try
{
UpdateRequest update = UpdateFactory.create(updateString);
UpdateFactory.create(updateString);
Resource type = null;
if (type != null)
{
Expand Down
Loading

0 comments on commit 1a4f56a

Please sign in to comment.