Packages

object Query extends Serializable

The Query companion object provides methods that work on triples.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val CHAR_VARIABLE: Char
  2. val STR_REGEX: String
  3. def hasRegex[TLabel](triple: (TLabel, TLabel, TLabel)): Set[Int]

    Determine which parts (s, p, o)/(1, 2, 3) of the triple include regexes, returning the set labels, e.g., {2, 3} that have one.

    Determine which parts (s, p, o)/(1, 2, 3) of the triple include regexes, returning the set labels, e.g., {2, 3} that have one. A regex is indicated when a label ends with 'STR_REGEX'.

    triple

    the triple to be check for regexes

  4. def hasVariable[TLabel](triple: (TLabel, TLabel, TLabel)): Set[Int]

    Determine which parts (s, p, o)/(1, 2, 3) of the triple have variables, returning the set labels, e.g., {2, 3} that have one.

    Determine which parts (s, p, o)/(1, 2, 3) of the triple have variables, returning the set labels, e.g., {2, 3} that have one. A variable is indicated when a label starts with 'CHAR_VARIABLE'.

    triple

    the triple to be check for variables

  5. def hasWildcard[TLabel](triple: (TLabel, TLabel, TLabel)): Set[Int]

    Determine which parts (s, p, o)/(1, 2, 3) of the triple have wildcards, returning the set labels, e.g., {2, 3} that have one.

    Determine which parts (s, p, o)/(1, 2, 3) of the triple have wildcards, returning the set labels, e.g., {2, 3} that have one. A wildcard is indicated by the existence of a 'CHAR_WILD' character anywhere in a label.

    triple

    the triple to be check for wildcards