TS SPARQL
TS SPARQL is an object to SPARQL mapper
Connection
const tsSparql = TsSparql.init(options);
Options
Property | Description |
---|
Models
Definition
@Entity('user')
export class User {
@Id()
@Property()
public id: string;
}
Entity
Decorating a class with the Entity
decorator.
Storage
{
"keys": ["user"],
"default": "",
"prefixes": {
"user": {}
},
"ids": {
"user": "id"
},
"properties": {
"user": [
{
"key": "key",
"prefix": "aasdgasg",
"literal": true
}
]
}
}