Created on 2016-03-17 17:34
Published on 1970-01-01 00:00
Here’s another example of using a nanotation-laced Medium post as the vehicle for describing a Web Service using terms from the Schema.org vocabulary:
{
@prefix oplwebsrv: http://www.openlinksw.com/ontology/webservices#> .
@prefix schema: http://schema.org/> .
#this>
a schema:CreativeWork ;
schema:name "RDF Editor Service Description" ;
schema:mainEntity http://osde.openlinksw.com/#product> ;
schema:about #EditingAction> .
## Software Application Description
#RDFEditorApplication>
a schema:SoftwareApplication ;
schema:name "OpenLink RDF Language Statement Editor" ;
schema:description """
Open Standards based Editor for Creating & Editing RDF Language Sentences/Statements. Once deployed, from desktop
or cloud location, this application provides a 'deceptively simple' mechanism for creating and deploying structured
data using RDF Language sentences/statements that
can be saved to a variety of storage locations using various HTTP-based protocols (WebDAV, LDP, SPARQL 1.1 INSERT,
SPARQL Graph Protocol).
""" ;
schema:publisher http://www.openlinksw.com/dataspace/organization/openlink#this> ;
schema:author http://www.openlinksw.com/dataspace/organization/openlink#this> ;
schema:mainEntityOfPage https://github.com/openlink/rdf-editor#this>, http://linkeddata.uriburner.com/rdf-editor/>,
https://youtu.be/ftLDf9NHmU0#this>, https://youtu.be/vmIqGKw3VeY#this>, https://youtu.be/umrrhFk4W7g#this>,
http://osde.openlinksw.com/#this>, #this> .
## Editing Action
#RDFEditingAction>
a schema:Action, schema:SearchAction ;
schema:name "RDF Editing Action" ;
schema:target http://linkeddata.uriburner.com/rdf-editor/#/editor> ;
schema:mainEntityOfPage #this> .
## Web Service Endpoint
# Schema.org Terms
#EditorEndPoint>
a schema:EntryPoint ;
schema:name "RDF Editor Service Endpoint" ;
schema:description """
HTTP Service Endpoint that accepts a variety of parameters that calibrate RDF Editor behavior
""" ;
schema:contentType "text/html" ;
schema:httpMethod "GET" ;
schema:urlTemplate """
http://{cname}/rdf-editor/#/editor(?uri,ioType,saveDocument,newDocument,view,newStatement,statement:subject,statement:predicate, statement:object)
""" ;
schema:mainEntityOfPage #this> ;
## OpenLink Web Services Ontology Terms
oplwebsrv:isWebServiceOf #RDFEditingAction> ;
oplwebsrv:endPointURL http://linkeddata.uriburner.com/rdf-editor/#/editor> ;
oplwebsrv:urlTemplate """http://{cname}/rdf-editor/#/editor(?uri,ioType,saveDocument,newDocument,view,newStatement,statement:subject,
statement:predicate, statement:object)""" ;
oplwebsrv:hasParameter #viewSelection>, #defaultStatementSubject>, #newDocumentState> ;
oplwebsrv:uriParameterName "view" ;
oplwebsrv:uriParameterValue "statements" ;
oplwebsrv:usageExample """
http://linkeddata.uriburner.com/rdf-editor/#/editor?newDocument=true&statement:subject=https://s3.amazonaws.com/webid-sandbox/Profile/Basic-Identity-Claims-And-Profile-Document.ttl#i&view=statements
""" ;
schema:mainEntityOfPage #this> .
#viewSelection>
a oplwebsrv:Parameter ;
schema:name "viewSelection" ;
oplwebsrv:uriParameterName "&view" ;
schema:description """Parameter that determines default editor view.""" ;
oplwebsrv:uriParameterValue """One of: statements, entities, attributes, or values if using EAV terminology. For RDF terminology its one of
statements, subjects, predicates, objects""" ;
schema:mainEntityOfPage #this> .
#defaultStatementSubject>
a oplwebsrv:Parameter ;
schema:name "defaultStatementSubject" ;
oplwebsrv:uriParameterName "&statement:subject" ;
schema:description """Parameter that determines default subject of initial RDF Language statement presented to user by the statement editor.""" ;
oplwebsrv:uriParameterValue "URI that identifies the subject of the default RDF Language Statement." ;
schema:mainEntityOfPage #this> .
#newDocumentState>
a oplwebsrv:Parameter ;
schema:name "newDocumentState" ;
oplwebsrv:uriParameterName "&newDocument" ;
schema:description """Parameter that determines default document state in regards to editor content.""" ;
oplwebsrv:uriParameterValue "Boolean Values 'true' or 'false'" ;
schema:mainEntityOfPage #this> .
}