Traqula
Preparing search index...
@traqula/algebra-transformations-1-1
Canonicalizer
Class Canonicalizer
Index
Constructors
constructor
Properties
blank
Id
Methods
canonicalize
Query
gen
Value
replace
Value
Constructors
constructor
new
Canonicalizer
()
:
Canonicalizer
Returns
Canonicalizer
Properties
blank
Id
blankId
:
number
Methods
canonicalize
Query
canonicalizeQuery
(
res
:
Algebra
.
Operation
,
replaceVariables
:
boolean
,
)
:
Algebra
.
Operation
Replaces values of BlankNodes in a query with newly generated names.
Parameters
res
:
Algebra
.
Operation
replaceVariables
:
boolean
Returns
Algebra
.
Operation
gen
Value
genValue
()
:
string
Returns
string
replace
Value
replaceValue
(
term
:
Term
,
nameMapping
:
Record
<
string
,
string
>
,
replaceVars
:
boolean
,
factory
:
Factory
,
)
:
Term
Parameters
term
:
Term
nameMapping
:
Record
<
string
,
string
>
replaceVars
:
boolean
factory
:
Factory
Returns
Term
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
blank
Id
Methods
canonicalize
Query
gen
Value
replace
Value
Traqula
Loading...
Replaces values of BlankNodes in a query with newly generated names.