Clerezza - SCB Scala Utilities.
OSGi bundle providing utilities for accessing SCB TripleCollections with Scala. Adding import "org.apache.clerezza.rdf.scala.utils.Preamble._" will allow to use "node/-FOAF.knows/FOAF.name!" with a GraphNode node as shortcut for node.getSubject(FOAF.knows).getObject(FOAF.name).getNo....
Here is the list of declaration for rdf.scala.utils. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.clerezza</groupId> <artifactId>rdf.scala.utils</artifactId> <version>0.4</version> </dependency>
If you think this Maven repository POM file listing for rdf.scala.utils is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The rdf.scala.utils-0.4 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
RDF | rdf.core 0.14 Interfaces and utilities to access RDF Graphs | 40 |
RDF | rdf.utils 0.14 Utility classed to deal with Clerezza Models | 25 |
The following plugins are used in the rdf.scala.utils-0.4.jar
The following packages are defined in the rdf.scala.utils-0.4.jar
org.apache.clerezza.rdf.scala.utils
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <!-- 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 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>clerezza</artifactId> <groupId>org.apache.clerezza</groupId> <version>0.5</version> <relativePath>../parent</relativePath> </parent> <groupId>org.apache.clerezza</groupId> <artifactId>rdf.scala.utils</artifactId> <version>0.4</version> <packaging>bundle</packaging> <name>Clerezza - SCB Scala Utilities</name> <description>OSGi bundle providing utilities for accessing SCB TripleCollections with Scala. Adding import "org.apache.clerezza.rdf.scala.utils.Preamble._" will allow to use "node/-FOAF.knows/FOAF.name!" with a GraphNode node as shortcut for node.getSubject(FOAF.knows).getObject(FOAF.name).getNode(). To access multiple property values the position can be indicated using the %-operator, e.g. "node/-FOAF.knows%2/FOAF.name%0!", see the ScalaDocs for RichGraphNode for all operations </description> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.clerezza</groupId> <artifactId>rdf.core</artifactId> <version>0.14</version> </dependency> <dependency> <groupId>org.apache.clerezza</groupId> <artifactId>rdf.utils</artifactId> <version>0.14</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0.2</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>utf-8</encoding> </configuration> </plugin> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <version>2.15.2</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> </execution> </executions> <configuration> <scalaVersion>${scala.version}</scalaVersion> <args> <arg>-target:jvm-1.5</arg> <arg>-deprecation</arg> </args> <charset>UTF-8</charset> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Export-Package>${project.groupId}.${project.artifactId}.*</Export-Package> </instructions> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <configuration> <scalaVersion>${scala.version}</scalaVersion> </configuration> <version>2.14.1</version> </plugin> </plugins> </reporting> </project>