object SPARQLEndpointExample
This example shows how to run SPARQL queries over Spark using a SPARQL-to-SQL rewriter under the hood. The RDF data can be provided either as triples file or even as a pre-partitioned dataset maintained in tables of a Spark database and a corresponding R2RML mapping file.
Two different modes for demonstrator purposes can be used: - run a single query - start a SPARQL endpoint with a Web UI as optional interface
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SPARQLEndpointExample
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class Config(in: String = null, database: String = null, mappingsfile: URI = null, queryEngine: query.spark.SPARQLEngine.Value = SPARQLEngine.Ontop, sparql: String = ..., runMode: Option[String] = None, port: Int = 7531, browser: Boolean = true) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def main(args: Array[String]): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parser: OptionParser[Config]
- def run(input: String, database: String, mappingsFile: URI, queryEngine: query.spark.SPARQLEngine.Value, sparqlQuery: String = "", mode: Option[String], port: Int = 7531): Unit
- implicit val sparqlEngineRead: Read[query.spark.SPARQLEngine.Value]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()