- You need to have Java 8 installed, I tried to run Spark using Java 11 and it didn't work, so please make sure that you JAVA_HOME environment variable is pointing to your Java 8 installation directory. In MacOS you can check it like this:
- To know where is you JAVA_HOME pointing to:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
BreadcrumbList:[ | |
{ | |
"xpath":"/HTML[1]/BODY[1]/DIV[2]/DIV[1]/OL[1]", | |
"id":null, | |
"refs":[ | |
], | |
"type":"http://schema.org/BreadcrumbList", | |
"itemid":null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>edu.univalle.eisc</groupId> | |
<artifactId>semantic-annotation</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<name>${project.artifactId}</name> | |
<description>My wonderfull scala app</description> | |
<inceptionYear>2015</inceptionYear> | |
<licenses> | |
<license> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.sql.functions._ | |
import com.databricks.spark.corenlp.functions._ | |
import org.apache.spark.SparkContext | |
import org.apache.spark.SparkContext._ | |
import org.apache.spark.SparkConf | |
object HelloWorld { | |
def main(args: Array[String]): Unit = { | |
val conf = new SparkConf().setAppName("Simple Application").setMaster("local[*]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "ObjectId(5ae03cc352cf9a2d956ad9ff)", | |
"mpId": "MP:0013661", | |
"mixSynQf": [ | |
"MP:0013661", | |
"abnormal myeloid cell number", | |
"decreased erythroid progenitor cell number", | |
"Reticulocytosis", | |
"decreased basophil cell number", | |
"increased myeloid cell number", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type User { | |
id: ID! @unique | |
name: String | |
interestedIn: [University!]! | |
} | |
type University { | |
id: ID! @unique | |
name: String | |
careers: [Career!]! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"valueType": "nodes", | |
"values": [ | |
{ | |
"_typeName": "User", | |
"id": "1", | |
"name": "Federico" | |
}, | |
{ | |
"_typeName": "University", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rdf:RDF | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:wd="http://www.wikidata.org/entity/" | |
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | |
xmlns:void="http://rdfs.org/ns/void#" | |
xmlns:dcterms="http://purl.org/dc/terms/" | |
xmlns:owl="http://www.w3.org/2002/07/owl#" | |
xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#" | |
xmlns:prov="http://www.w3.org/ns/prov#" | |
xmlns:biotea="https://biotea.github.io/biotea-ontololgy#" |
![BFOROS-Wrapper-0.png](https://gist.github.com/ficolo/ba1557b45d75613cf7b5cacc61f8dbf6/raw/f45128a3a5647919e421d1945a0c9339246e5896/BFOROS-Wrapper-0.png)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix nanopub: <http://www.nanopub.org/nschema#> . | |
@prefix dcterms: <http://purl.org/dc/terms/> . | |
@prefix opm: <http://purl.org/net/opmv/ns#> . | |
@prefix pav: <http://swan.mindinformatics.org/ontologies/1.2/pav/> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix sio: <http://semanticscience.org/resource/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix : <http://rdf.biosemantics.org/vocabularies/gene_disease_nanopub_example#> . | |
:NanoPub_1_Head { |
OlderNewer