Skip to content

Commit

Permalink
Added notes
Browse files Browse the repository at this point in the history
  • Loading branch information
labra committed May 6, 2018
1 parent 706c2f5 commit 9592d2a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package es.weso.schema

import cats.implicits._
import es.weso.rdf._
import es.weso.rdf.nodes._
import es.weso.rdf.jena.RDFAsJenaModel
import es.weso.shacl.{Schema => ShaclSchema, _}
import es.weso.shacl._
// import es.weso.shacl._
import es.weso.shacl.converter.{RDF2Shacl, Shacl2ShEx}
import es.weso.shacl.report.{ValidationReport, ValidationResult}
import es.weso.shacl.validator.{CheckResult, Evidence, ShapeTyping, Validator}
import es.weso.shapeMaps._
import es.weso.shex.Schema

import util._
import es.weso.typing._
Expand Down Expand Up @@ -131,7 +131,7 @@ case class ShaclexSchema(schema: ShaclSchema) extends Schema {
case Some("SHEX") => for {
newSchema <- Shacl2ShEx.shacl2ShEx(schema).toEither.leftMap(es => es.toList.mkString("\n"))
builder = RDFAsJenaModel.empty
str <- Schema.serialize(newSchema,targetFormat.getOrElse(DataFormats.defaultFormatName),builder)
str <- es.weso.shex.Schema.serialize(newSchema,targetFormat.getOrElse(DataFormats.defaultFormatName),builder)
} yield str
case Some(other) => Left(s"Conversion $name -> $other not implemented yet")
}
Expand Down
20 changes: 20 additions & 0 deletions notes/0.0.77.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# New features

- Repaired [issue 100](https://github.com/labra/shaclex/issues/100)

TODOs
-----

- ShEx: Complete UML generation for ShEx schemas

- ShEx: Complete semantic actions implementation

- SHACL: support using RDf4j (add SHACL paths to SRDF4j)

- SHACL: Check test-suite and create report

- ShEx: test-suite with shape maps and update report

- Shaclex: Conversion from ShEx to SHACL

- Shaclex: Conversion from SHACL to ShEx

0 comments on commit 9592d2a

Please sign in to comment.