RDF2ShEx

es.weso.shex.shexR.RDF2ShEx
See theRDF2ShEx companion object
trait RDF2ShEx extends RDFParser

Attributes

Companion:
object
Graph
Supertypes
trait RDFParser
class Object
trait Matchable
class Any
Known subtypes
object RDF2ShEx.type

Members list

Concise view

Type members

Inherited types

type Err = Throwable

Attributes

Inherited from:
RDFParser
type R[A] = Kleisli[IO, Config, A]

Attributes

Inherited from:
RDFParser
type RDFParser[A] = EitherT[R, Err, A]

An RDFParser of values of type a takes a pointed node RDFNode and an RDFReader and tries to obtain a value of type a

An RDFParser of values of type a takes a pointed node RDFNode and an RDFReader and tries to obtain a value of type a

Attributes

Inherited from:
RDFParser

Value members

Concrete methods

def fromStream[A](s: Stream[IO, A]): RDFParser[List[A]]

Inherited methods

def anyOf[A](ps: RDFParser[A]*): RDFParser[Seq[A]]

Applies a list of parsers If a parser fails, it continues with the rest of the list

Applies a list of parsers If a parser fails, it continues with the rest of the list

Attributes

Returns:

the list of successful values that can be parsed

Inherited from:
RDFParser

Applies a list of parsers

Applies a list of parsers

Attributes

ps:

List of parsers. Each parser returns a list of values

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Combine a sequence of RDFParsers

Combine a sequence of RDFParsers

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Returns the Decimal literal associated with a predicate p

Returns the Decimal literal associated with a predicate p

Attributes

p

predicate

Returns:

An RDFParser that returns the decimal literal associated with that predicate

Inherited from:
RDFParser

If a parser fails, it continues with the rest of the list

If a parser fails, it continues with the rest of the list

Attributes

Returns:

the result of the first parser that succeeds of failure

Inherited from:
comb(`rest₂`,`p₂`))) }">RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser
def fromIO[A](x: IO[A]): RDFParser[A]

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Applies a parser over a sequence of nodes

Applies a parser over a sequence of nodes

Attributes

nodes

sequence of nodes

parser

parser

Inherited from:
RDFParser

Returns true if the current node does not have a given type

Returns true if the current node does not have a given type

Attributes

t

type to be checked

Inherited from:
RDFParser

Returns true if the current node has a given type

Returns true if the current node has a given type

Attributes

t

type to be checked

Inherited from:
RDFParser

Returns true if the current node has a type which belong to a given set of types

Returns true if the current node has a type which belong to a given set of types

Attributes

ts

set of types to be checked

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Obtains an integer literal associated with a predicate in the current node

Obtains an integer literal associated with a predicate in the current node

Attributes

p

predicate

Inherited from:
RDFParser
def io2r[A](x: IO[A]): R[A]

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser
def lift[A](r: R[A]): RDFParser[A]

Attributes

Inherited from:
RDFParser
def liftIO[A](io: IO[A]): RDFParser[A]

Attributes

Inherited from:
RDFParser

Parses a list of values. The list must contain at least one value

Parses a list of values. The list must contain at least one value

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Parses a list of values. The list must contain at least two values

Parses a list of values. The list must contain at least two values

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser
def mapRDFParser[A, B](ls: List[A], p: A => RDFParser[B]): RDFParser[List[B]]

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

RDFParser that retrieves the object associated with current node for a given predicate

RDFParser that retrieves the object associated with current node for a given predicate

Fails if there are more than one object

Attributes

p

predicate

Inherited from:
RDFParser

RDFParser that retrieves the set of iriObjects associated with the current node for a given predicate

RDFParser that retrieves the set of iriObjects associated with the current node for a given predicate

Attributes

p

predicate

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser
def ok[A](x: A): RDFParser[A]

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

An RDF parser that parses a value of type a if possible

An RDF parser that parses a value of type a if possible

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser
def parseOk[A](x: A): RDFParser[A]

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

A parser of the RDF List associated with the current node

A parser of the RDF List associated with the current node

Fails if there are more than one iriObjects associated with rdf_first or rdf_rest

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Obtains the RDF list associated with a predicate for the current node

Obtains the RDF list associated with a predicate for the current node

Attributes

p

predicate

Inherited from:
RDFParser

Obtains the RDF list associated with a predicate for the current node If there is no value, returns the empty list

Obtains the RDF list associated with a predicate for the current node If there is no value, returns the empty list

Attributes

p

predicate

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Returns a parser that obtains the type associated with the current node

Returns a parser that obtains the type associated with the current node

Fails if there are more than one type associated

Attributes

Inherited from:
RDFParser

Returns a parser that obtains the set of types associated with the current node

Returns a parser that obtains the set of types associated with the current node

Attributes

Inherited from:
RDFParser
def sequenceEither[E, A](xs: List[Either[E, A]]): Either[E, List[A]]

Attributes

Inherited from:
RDFParser

Checks if some of the parsers pass and returns the corresponding value

Checks if some of the parsers pass and returns the corresponding value

Attributes

ps

sequence of parsers

Inherited from:
:Nothing<:Any]=>IO[A],Config,Throwable](asyncForIO)) ps.foldLeft[EitherT[R,Err,A]](zero)(((`c₂`:RDFParser[A],`parser₂`:RDFParser[A])=>cmb(`c₂`,`parser₂`))) }">RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser
def stream2list[A](st: Stream[IO, A]): IO[Vector[A]]

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Returns the String associated with a predicate p

Returns the String associated with a predicate p

Attributes

p

predicate

Returns:

An RDFParser that returns the String associated with that predicate

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Attributes

Inherited from:
RDFParser

Concrete fields