Méthode | Description | |
---|---|---|
DeletePrefix ( string prefixStr, string fullStr ) : bool |
Delete prefix and associated namespace with it.
|
|
DeleteTriplet ( |
Delete triple with specified parameters.
|
|
EnsurePrefix ( TripleName name ) : TripleName |
Ensures that triple name has prefix. If triple name has namespace, it is converted to prefix
|
|
GetIncomingTriplets ( string predicate, string obj ) : List |
Build list of triples that reference specified object
|
|
GetTimelineShortcut ( Timeline timeline ) : TimelineShortcut |
Get TimelineShortctu from Timeline
|
|
GetTriplet ( string subject, string predicate = null, string obj = null, bool expandPrefixes = false ) : List |
Get triple by specified parameters.
|
|
PutTriplet ( TripleName subjectName, TripleName predicateName, TripleName objectName ) : bool |
Add triple with specified parameters.
|
|
SetPrefix ( string prefixStr, string fullStr ) : bool |
Add new prefix and associated namespace with it.
|
|
TryEnsureNamespace ( TripleName name ) : TripleName |
Méthode | Description | |
---|---|---|
GetTimelineImageUrl ( Timeline timeline ) : string |
public DeletePrefix ( string prefixStr, string fullStr ) : bool | ||
prefixStr | string | Prefix |
fullStr | string | Namespace |
Résultat | bool |
public DeleteTriplet ( |
||
subjectName | Subject | |
predicateName | Predicate | |
objectName | Object | |
Résultat | bool |
public EnsurePrefix ( TripleName name ) : TripleName | ||
name | TripleName | Name of the triple |
Résultat | TripleName |
public GetIncomingTriplets ( string predicate, string obj ) : List |
||
predicate | string | Optional predicate name |
obj | string | Object full name |
Résultat | List |
public GetTimelineShortcut ( Timeline timeline ) : TimelineShortcut | ||
timeline | Timeline | Timeline object |
Résultat | TimelineShortcut |
public GetTriplet ( string subject, string predicate = null, string obj = null, bool expandPrefixes = false ) : List |
||
subject | string | Subject name with prefix |
predicate | string | Predicate name with prefix or null |
obj | string | Object name with prefix or null |
expandPrefixes | bool | If 'True' returns namespaces, else - prefixes. |
Résultat | List |
public PutTriplet ( TripleName subjectName, TripleName predicateName, TripleName objectName ) : bool | ||
subjectName | TripleName | |
predicateName | TripleName | |
objectName | TripleName | |
Résultat | bool |
public SetPrefix ( string prefixStr, string fullStr ) : bool | ||
prefixStr | string | Prefix |
fullStr | string | Namespace |
Résultat | bool |
public TryEnsureNamespace ( TripleName name ) : TripleName | ||
name | TripleName | |
Résultat | TripleName |