This file contains hidden or 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 ex: <http://example.org/> | |
INSERT { | |
?node ex:skolem ?iri . | |
} | |
WHERE { | |
{ | |
SELECT DISTINCT ?node | |
WHERE { | |
{ ?node ?p1 ?o1 . } |
This file contains hidden or 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 : <http://example.org/> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix xml: <http://www.w3.org/XML/1998/namespace> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@base <http://example.org/> . | |
<http://example.org/> rdf:type owl:Ontology . |
This file contains hidden or 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(:=<http://example.org/>) | |
Prefix(owl:=<http://www.w3.org/2002/07/owl#>) | |
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>) | |
Prefix(xml:=<http://www.w3.org/XML/1998/namespace>) | |
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>) | |
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>) | |
Ontology(<http://example.org/> |
This file contains hidden or 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
#!/bin/bash | |
#Set ONT_ID | |
#Set ONT_NAME | |
ROBOT=1.6.0 | |
DT=0.14 | |
BRANCH_BASE="update-$ONT_ID-import" | |
#check that ontobot doesn't already have an open PR |
This file contains hidden or 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
// scala 2.13.3 | |
// ammonite 2.3.8 | |
import $ivy.`net.sourceforge.owlapi:owlapi-distribution:4.5.20` | |
import $ivy.`org.semanticweb.elk:elk-owlapi:0.4.3` | |
import $ivy.`org.phenoscape::scowl:1.3.4` | |
import $ivy.`com.outr::scribe-slf4j:2.7.12` | |
import scala.io.Source | |
import org.phenoscape.scowl._ |
This file contains hidden or 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
// scala 2.13.3 | |
// ammonite 2.3.8 | |
import $ivy.`net.sourceforge.owlapi:owlapi-distribution:4.5.17` | |
import $ivy.`org.semanticweb.elk:elk-owlapi:0.4.3` | |
import $ivy.`com.outr::scribe-slf4j:2.7.12` | |
import org.semanticweb.owlapi.apibinding.OWLManager | |
import org.semanticweb.elk.owlapi.ElkReasonerFactory | |
import org.semanticweb.owlapi.model.IRI |
This file contains hidden or 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 : <http://example.org/> | |
PREFIX schema: <http://schema.org/> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
:NamedClass IRI { | |
rdf:type [ owl:Class ] ; | |
owl:equivalentClass @:Expression * ; |
This file contains hidden or 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 $ivy.`org.phenoscape::scowl:1.3` | |
import $ivy.`net.sourceforge.owlapi:owlapi-distribution:4.3.2` | |
import $ivy.`org.semanticweb.elk:elk-owlapi:0.4.3` | |
import java.io.File | |
import java.util.UUID | |
import scala.collection.JavaConverters._ | |
import org.phenoscape.scowl._ | |
import org.semanticweb.elk.owlapi.ElkReasonerFactory | |
import org.semanticweb.owlapi.apibinding.OWLManager |
This file contains hidden or 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
@prefix sh: <http://www.w3.org/ns/shacl#> | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> | |
@prefix owl: <http://www.w3.org/2002/07/owl#> | |
@prefix oboInOwl: <http://www.geneontology.org/formats/oboInOwl#> | |
@prefix obo: <http://purl.obolibrary.org/obo/> | |
@prefix ex: <http://example.org/> | |
This file contains hidden or 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX Term1: <http://purl.obolibrary.org/obo/PATO_0000587> | |
PREFIX Term2: <http://purl.obolibrary.org/obo/PATO_0000586> | |
SELECT ?nearest | |
FROM <http://purl.obolibrary.org/obo/pato.owl> | |
WHERE { | |
Term1: rdfs:subClassOf* ?nearest . | |
Term2: rdfs:subClassOf* ?nearest . | |
Term1: rdfs:subClassOf* ?indirect . | |
Term2: rdfs:subClassOf* ?indirect . |
NewerOlder