메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
GetTimelineImageUrl ( Timeline timeline ) : string |
public DeletePrefix ( string prefixStr, string fullStr ) : bool | ||
prefixStr | string | Prefix |
fullStr | string | Namespace |
리턴 | bool |
public DeleteTriplet ( |
||
subjectName | Subject | |
predicateName | Predicate | |
objectName | Object | |
리턴 | bool |
public EnsurePrefix ( TripleName name ) : TripleName | ||
name | TripleName | Name of the triple |
리턴 | TripleName |
public GetIncomingTriplets ( string predicate, string obj ) : List |
||
predicate | string | Optional predicate name |
obj | string | Object full name |
리턴 | List |
public GetTimelineShortcut ( Timeline timeline ) : TimelineShortcut | ||
timeline | Timeline | Timeline object |
리턴 | 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. |
리턴 | List |
public PutTriplet ( TripleName subjectName, TripleName predicateName, TripleName objectName ) : bool | ||
subjectName | TripleName | |
predicateName | TripleName | |
objectName | TripleName | |
리턴 | bool |
public SetPrefix ( string prefixStr, string fullStr ) : bool | ||
prefixStr | string | Prefix |
fullStr | string | Namespace |
리턴 | bool |
public TryEnsureNamespace ( TripleName name ) : TripleName | ||
name | TripleName | |
리턴 | TripleName |