For questions related to SANSA, a big data engine for scalable processing of large-scale RDF data.
Questions tagged [sansa]
6 questions
3
votes
0 answers
Could not initialize class org.apache.jena.riot.system.RiotLib error while running SANSA-Stack/SANSA-Examples
I am trying to run SilviaClusteringExample in SANSA-Stack/SANSA-Examples(https://github.com/SANSA-Stack/SANSA-Examples)
I have setup the Spark cluster using GCP DataProc with one Master Node and 3 worker nodes. As per the instructions given, ran…

Mahek
- 71
- 3
2
votes
1 answer
Error with SANSA unable to create RDD from NT file
Unable to Create RDD[Triple] using
sparkSession.rdf(Lang.NTRIPLES)(path)
Used to working without issue with Java 11, and Spark 2.4.x
Not working ,throwing error when using Java 8 and Spark 3.0
Exception in thread "main"…

Abhishek Sengupta
- 2,938
- 1
- 28
- 35
2
votes
0 answers
Would it be possible to use SANSA-RDF & SANSA-Query in PySpark?
I am planning to use SANSA-RDF for reading turtle RDF/XML files into Spark and query using SANSA-Query library. Would it be possible to develop PySpark (python) code using theses libraries? Are there any PySpark (python) examples?
Thanks in…

sam
- 101
- 1
- 1
- 6
1
vote
1 answer
Finding triples based on multiple subjects (SANSA-STACK)
I have a code to find Triples using a subject,So I am using Triple's find method and supplying the necessary like this :
import net.sansa_stack.rdf.spark.model._
val node1 = NodeFactory.createURI("http://dbpedia.org/resource/Charles_Dickens")
…
user13686103
1
vote
1 answer
Why does Spark fail with "value rdf is not a member of org.apache.spark.sql.SparkSession"?
I am trying to use SANSA-RDF for reading turtle RDF files into Spark and create a graph. I am getting an error when I execute the following code. What am I missing?
import org.apache.jena.query.QueryFactory
import org.apache.jena.riot.Lang
…

basicknowledge
- 93
- 1
- 9
0
votes
0 answers
Alternative for BIND method in sparql
I am using Sansa stack to execute sparql queries on huge amount of data in HDFS .Sansa is a spark based framework that executes sparql queries on huge amount of data. My sparql query is having an assignment as below in it .
BIND(STRAFTER(str(?d),…

dileepVikram
- 890
- 4
- 14
- 30