Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82214105
status.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 10, 05:18
Size
1 KB
Mime Type
text/x-java
Expires
Thu, Sep 12, 05:18 (2 d)
Engine
blob
Format
Raw Data
Handle
20664843
Attached To
rNIETZSCHEBETAAPP Nietzsche-Beta-App
status.ts
View Options
import { BasicResultBindingElement, FusekiResults } from './basic_datatype';
/**
* This is the page/manuscript status instantiation of an element of {@link /interfaces/FusekiResults.html|FusekiResults}.
**/
export class TlnStatus extends BasicResultBindingElement {
static readonly default_key: string = 'id';
static readonly query_key: string = 'id';
/**
* the SPARQL-query of this datatype.
**/
static readonly query: string = `
PREFIX tln: <http://www.nie.org/ontology/nietzsche#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?id ?status WHERE {
{ ?id tln:archivalManuscriptUnityHasDataProcessingStatus ?status }
UNION
{ ?id tln:pageHasDataProcessingStatus ?status }
}`;
status: string;
/**
* The constructor creates a datatype from the data.
*
* @param id if omitted the id will be retrieved from data
**/
constructor(data: any, id?: string, service?: any){
super(data, id, service)
this.status = this.getData4Key('status')
if (this.status == undefined || this.status == null){
this.status = 'complete';
}
}
}
Event Timeline
Log In to Comment