package cn.yyz.rdf4j;<?xml version="1.0" encoding="UTF-8"?> <modelVersion>4.0.0</modelVersion>
<groupId>cn.yyz.rdf4j</groupId> <artifactId>trig-test</artifactId> <version>1.0-SNAPSHOT</version>
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties>
<dependencies> <dependency> <groupId>org.eclipse.rdf4j</groupId> <artifactId>rdf4j-repository-sparql</artifactId> <version>2.0.1</version> </dependency> <dependency> <groupId>org.eclipse.rdf4j</groupId> <artifactId>rdf4j-rio-trig</artifactId> <version>2.0.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.21</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.21</version> </dependency> </dependencies>
<build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass>cn.yyz.rdf4j.TrigTest</mainClass> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build></project>java -jar target/trig-test-1.0-SNAPSHOT-jar-with-dependencies.jar DEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.ntriples.NTriplesParserFactoryException in thread "main" org.eclipse.rdf4j.rio.UnsupportedRDFormatException: Did not recognise RDF format object TriG (mimeTypes=application/trig, application/x-trig; ext=trig) at org.eclipse.rdf4j.rio.Rio.lambda$unsupportedFormat$0(Rio.java:568) at java.util.Optional.orElseThrow(Optional.java:290) at org.eclipse.rdf4j.rio.Rio.createParser(Rio.java:100) at org.eclipse.rdf4j.rio.Rio.createParser(Rio.java:118) at org.eclipse.rdf4j.rio.Rio.parse(Rio.java:295) at org.eclipse.rdf4j.rio.Rio.parse(Rio.java:212) at cn.yyz.rdf4j.TrigTest.main(TrigTest.java:15)
java -jar target/trig-test-1.0-SNAPSHOT-jar-with-dependencies.jar DEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.trig.TriGParserFactoryDEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.datatypes.XMLSchemaDatatypeHandlerDEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.datatypes.RDFDatatypeHandlerDEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.datatypes.DBPediaDatatypeHandlerDEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.datatypes.VirtuosoGeometryDatatypeHandlerDEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.datatypes.GeoSPARQLDatatypeHandlerDEBUG [main] (ServiceRegistry.java:52) - Registered service class org.eclipse.rdf4j.rio.languages.RFC3066LanguageHandlerjava -versionjava version "1.8.0_60"Java(TM) SE Runtime Environment (build 1.8.0_60-b27)Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)--
You received this message because you are subscribed to the Google Groups "RDF4J Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdf4j-users...@googlegroups.com.
To post to this group, send email to rdf4j...@googlegroups.com.
Visit this group at https://groups.google.com/group/rdf4j-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdf4j-users/348ce9d3-fe61-4c25-a21e-ceb577bc039f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "RDF4J Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rdf4j-users/Au--U7LGrAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rdf4j-users...@googlegroups.com.
To post to this group, send email to rdf4j...@googlegroups.com.
Visit this group at https://groups.google.com/group/rdf4j-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdf4j-users/5E6D2F8E-330C-4CD8-82F5-78959EA34F6F%40gmail.com.