@abi-software/flatmap-viewer - v4.6.4
Examples
API
GitHub
Preparing search index...
index
<internal>
RdfStore
Class RdfStore
Index
Constructors
constructor
Accessors
size
Methods
add
add
Statements
contains
load
query
remove
Statements
serialise
statements
statements
Matching
subjects
Of
Type
update
Constructors
constructor
new
RdfStore
()
:
RdfStore
Returns
RdfStore
Accessors
size
get
size
()
:
number
Returns
number
Methods
add
add
(
s
:
SubjectType
,
p
:
PredicateType
,
o
:
ObjectType
,
g
?:
NamedNode
)
:
Statement
Parameters
s
:
SubjectType
p
:
PredicateType
o
:
ObjectType
g
:
NamedNode
= null
Returns
Statement
add
Statements
addStatements
(
statements
:
Statement
[]
,
graph
?:
NamedNode
)
:
void
Parameters
statements
:
Statement
[]
graph
:
NamedNode
= null
Returns
void
contains
contains
(
s
?:
SubjectType
,
p
?:
PredicateType
,
o
?:
ObjectType
,
g
?:
NamedNode
,
)
:
boolean
Parameters
s
:
SubjectType
= null
p
:
PredicateType
= null
o
:
ObjectType
= null
g
:
NamedNode
= null
Returns
boolean
load
load
(
baseIri
?:
string
,
rdf
:
string
,
contentType
?:
string
,
graph
?:
NamedNode
,
)
:
void
Parameters
baseIri
:
string
= null
rdf
:
string
contentType
:
string
= TurtleContentType
graph
:
NamedNode
= null
Returns
void
query
query
(
sparql
:
string
,
options
?:
QueryOptions
)
:
QueryResult
Parameters
sparql
:
string
options
:
QueryOptions
= {}
Returns
QueryResult
remove
Statements
removeStatements
(
s
?:
SubjectType
,
p
?:
PredicateType
,
o
?:
ObjectType
,
g
?:
NamedNode
,
)
:
void
Parameters
s
:
SubjectType
= null
p
:
PredicateType
= null
o
:
ObjectType
= null
g
:
NamedNode
= null
Returns
void
serialise
serialise
(
baseIri
:
string
,
contentType
?:
string
,
namespaces
?:
Record
<
string
,
string
>
,
graph
?:
NamedNode
,
)
:
Promise
<
string
>
Parameters
baseIri
:
string
contentType
:
string
= TurtleContentType
namespaces
:
Record
<
string
,
string
>
= {}
graph
:
NamedNode
= null
Returns
Promise
<
string
>
statements
statements
(
graph
?:
NamedNode
)
:
Statement
[]
Parameters
graph
:
NamedNode
= null
Returns
Statement
[]
statements
Matching
statementsMatching
(
s
?:
SubjectType
,
p
?:
PredicateType
,
o
?:
ObjectType
,
g
?:
NamedNode
,
)
:
Statement
[]
Parameters
s
:
SubjectType
= null
p
:
PredicateType
= null
o
:
ObjectType
= null
g
:
NamedNode
= null
Returns
Statement
[]
subjects
Of
Type
subjectsOfType
(
parentType
:
NamedNode
)
:
[
SubjectType
,
NamedNode
]
[]
Parameters
parentType
:
NamedNode
Returns
[
SubjectType
,
NamedNode
]
[]
update
update
(
sparql
:
string
)
:
void
Parameters
sparql
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
size
Methods
add
add
Statements
contains
load
query
remove
Statements
serialise
statements
statements
Matching
subjects
Of
Type
update
Examples
API
GitHub
@abi-software/flatmap-viewer - v4.6.4
Loading...