-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.ttl
75 lines (67 loc) · 2.22 KB
/
functions.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
@prefix fno: <http://semweb.datasciencelab.be/ns/function#> .
@prefix lib: <http://example.com/library#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix idlab-fn: <http://example.com/idlab/function/> .
@prefix anime: <https://betweenourworlds.org/function/> .
anime:getClasses a fno:Function ;
fno:name "get classes" ;
rdfs:label "get classes" ;
dcterms:description "Returns the classes based on the given value" ;
fno:expects ( idlab-fn:_str ) ;
fno:returns ( idlab-fn:_list ) ;
lib:providedBy [
lib:localLibrary "utils.jar";
lib:class "Utils";
lib:method "getClasses"
].
anime:getStreamAgent a fno:Function ;
fno:name "get stream agent" ;
rdfs:label "get stream agent" ;
dcterms:description "Returns the stream agent IRI based on the name" ;
fno:expects ( idlab-fn:_str ) ;
fno:returns ( idlab-fn:_stringOut ) ;
lib:providedBy [
lib:localLibrary "utils.jar";
lib:class "Utils";
lib:method "getStreamAgent"
].
anime:scaleRating a fno:Function ;
fno:name "scale rating" ;
rdfs:label "scale rating" ;
dcterms:description "Returns the scaled rating" ;
fno:expects ( idlab-fn:_str ) ;
fno:returns ( idlab-fn:_stringOut ) ;
lib:providedBy [
lib:localLibrary "utils.jar";
lib:class "Utils";
lib:method "scaleRating"
].
anime:getActionStatus a fno:Function ;
fno:name "get action status" ;
rdfs:label "get action status" ;
dcterms:description "Returns the Action Status given a Kitsu status" ;
fno:expects ( idlab-fn:_str ) ;
fno:returns ( idlab-fn:_stringOut ) ;
lib:providedBy [
lib:localLibrary "utils.jar";
lib:class "Utils";
lib:method "getActionStatus"
].
idlab-fn:_str a fno:Parameter ;
fno:name "input string" ;
rdfs:label "input string" ;
fno:type xsd:string ;
fno:predicate idlab-fn:str .
idlab-fn:_list a fno:Parameter ;
fno:name "list" ;
rdfs:label "list" ;
fno:type rdf:List ;
fno:predicate idlab-fn:list .
idlab-fn:_stringOut a fno:Output ;
fno:name "output string" ;
rdfs:label "output string" ;
fno:type xsd:string ;
fno:predicate idlab-fn:stringOut .