-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.ttl
More file actions
60 lines (51 loc) · 2.28 KB
/
Copy pathoutput.ttl
File metadata and controls
60 lines (51 loc) · 2.28 KB
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
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix ex: <http://www.example.com#> .
@prefix fno: <https://w3id.org/function/ontology#> .
@prefix fnoi: <https://w3id.org/function/vocabulary/implementation#> .
@prefix fnom: <https://w3id.org/function/vocabulary/mapping#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix python: <http://www.example.com/python#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:map_condition_mainMapping a fno:Mapping ;
fno:function ex:map_condition_main ;
fno:implementation ex:map_condition_py16243f02 ;
fno:methodMapping [ a fnom:StringMethodMapping ;
fnom:method-name "map_condition_main" ] ;
fno:parameterMapping [ a fnom:PositionParameterMapping ;
fnom:functionParameter ex:map_condition_mainParameter0 ;
fnom:implementationParameterPosition 0 ] ;
fno:returnMapping [ a fnom:DefaultReturnMapping ;
fnom:functionOutput ex:map_condition_mainOutput ] .
ex:map_condition_main a prov:Entity,
fno:Function ;
rdfs:label "map_condition.py" ;
fno:expects [ a rdf:Seq ;
rdf:_1 ex:map_condition_mainParameter0 ] ;
fno:returns [ a rdf:Seq ;
rdf:_1 ex:map_condition_mainOutput ] .
ex:map_condition_py16243f02 a fnoi:PythonFile ;
rdfs:label "map_condition.py" ;
fnoi:file <file:///home/ponachte/projects/py2rdf/python_examples/map_condition.py> .
python:Anyf8fd8e84 a fnoi:Implementation,
fnoi:PythonClass,
fnoi:PythonFunction ;
dcterms:description """Special type indicating an unconstrained type.
- Any is compatible with every type.
- Any assumed to have all methods.
- All values assumed to be instances of Any.
Note that all the above statements are true from the point of view of
static type checkers. At runtime, Any should not be used with instance
checks.
""" ;
doap:name "Any" ;
fnoi:module "typing" .
ex:map_condition_mainOutput a fno:Output ;
fno:predicate ex:output ;
fno:type python:Anyf8fd8e84 .
ex:map_condition_mainParameter0 a fno:Parameter ;
fno:predicate ex:number ;
fno:required true ;
fno:type xsd:string .