rdfs:comment"A form that can be used to create a new or edit an existing resource. It has an option to switch to view mode, as well as Save Changes and Cancel buttons."^^xsd:string;
...
...
@@ -2073,7 +2246,7 @@ app:NumericRangeFacet
[rdf:typehtml:Input;
html:name
[rdf:typefn:concat;
sp:arg1"min";
sp:arg1"min"^^xsd:string;
sp:arg2[sp:varName"uid"^^xsd:string
]
];
...
...
@@ -2094,7 +2267,7 @@ app:NumericRangeFacet
[rdf:typehtml:Input;
html:name
[rdf:typefn:concat;
sp:arg1"max";
sp:arg1"max"^^xsd:string;
sp:arg2[sp:varName"uid"^^xsd:string
]
];
...
...
@@ -2473,9 +2646,6 @@ app:ObjectFacet
[rdf:typeapp:bestObjectFacetClass;
arg:predicate
[sp:varName"predicate"^^xsd:string
];
arg:subject
[sp:varName"subject"^^xsd:string
]
];
ui:child
...
...
@@ -2485,9 +2655,6 @@ app:ObjectFacet
arg:predicate
[sp:varName"predicate"^^xsd:string
];
arg:subject
[sp:varName"subject"^^xsd:string
];
arg:uid[sp:varName"uid"^^xsd:string
];
ui:childIndex0;
...
...
@@ -2528,10 +2695,7 @@ app:ObjectFacet
[rdf:typeui:TextNode;
ui:childIndex3;
ui:text[rdf:typeui:label;
sp:arg1[rdf:typeapp:resourceType;
arg:subject
[sp:varName"subject"^^xsd:string
]
sp:arg1[rdf:typeapp:resourceType
]
]
];
...
...
@@ -2543,12 +2707,12 @@ app:ObjectFacet
ui:child
[rdf:typeui:TextNode;
ui:childIndex5;
ui:text[rdf:typeapp:localRange;
arg:predicate
[sp:varName"predicate"^^xsd:string
ui:text[rdf:typeapp:localRangeAtClass;
arg:class
[rdf:typeapp:resourceType
];
arg:subject
[sp:varName"subject"^^xsd:string
arg:property
[sp:varName"predicate"^^xsd:string
]
]
];
...
...
@@ -3758,9 +3922,11 @@ app:SearchForm
html:name"type"^^xsd:string;
html:type"hidden"^^xsd:string;
html:value
[rdf:typeui:encodeNode;
sp:arg1[sp:varName"resourceType"^^xsd:string
]
[rdf:typefn:concat;
sp:arg1"<"^^xsd:string;
sp:arg2[sp:varName"resourceType"^^xsd:string
];
sp:arg3">"^^xsd:string
];
ui:childIndex1
];
...
...
@@ -5750,33 +5916,30 @@ app:bestObjectEditorClass
app:bestObjectFacetClass
rdf:typespin:Function;
rdfs:comment"Find the best suitable NodeFacet for a given predicate, subject, subjectType combination. May return nothing, e.g. for blank nodes."^^xsd:string;
rdfs:label"best node facet class"^^xsd:string;
rdfs:comment"Find the best suitable ObjectFacet for a given predicate and resourceType combination. May return nothing, e.g. for blank nodes."^^xsd:string;
rdfs:label"best object facet class"^^xsd:string;
rdfs:subClassOfapp:Functions;
spin:body
[rdf:typesp:Select;
sp:resultVariables([sp:expression
[rdf:typeapp:bestObjectWidgetClass;
arg:node
arg:object
[sp:varName"none"^^xsd:string
];
arg:predicate
[sp:varName"predicate"^^xsd:string
];
arg:range
[rdf:typeapp:localRange;
arg:predicate
[sp:varName"predicate"^^xsd:string
[rdf:typeapp:localRangeAtClass;
arg:class
[rdf:typeapp:resourceType
];
arg:subject
[sp:varName"subject"^^xsd:string
arg:property
[sp:varName"predicate"^^xsd:string
]
];
arg:resourceType
[rdf:typeapp:resourceType;
arg:subject
[sp:varName"subject"^^xsd:string
]
[rdf:typeapp:resourceType
];
arg:typeapp:ObjectFacetClass
];
...
...
@@ -5790,13 +5953,6 @@ app:bestObjectFacetClass
spl:predicatearg:predicate;
spl:valueTyperdf:Property
];
spin:constraint
[rdf:typespl:Argument;
rdfs:comment"The subject."^^xsd:string;
spl:optional"true"^^xsd:boolean;
spl:predicatearg:subject;
spl:valueTyperdfs:Resource
];
spin:returnTypeapp:ObjectEditorClass.
app:bestObjectViewerClass
...
...
@@ -5882,8 +6038,8 @@ app:bestObjectViewerClass
app:bestObjectWidgetClass
rdf:typespin:Function;
rdfs:comment"Walks through all NodeWidget classes of a given type (?type) that declare a nodeWidgetWeight and returns the NodeWidget class that has the highest weight for a given node (?node), predicate (?predicate), subject type (?subjectType) and local range (?range). All arguments are optional, but not all will be empty. If the subjectType and predicate are known, then also the ?range will be bound."^^xsd:string;
rdfs:label"best node widget class"^^xsd:string;
rdfs:comment"Walks through all ObjectWidget classes of a given type (?type) that declare an objectWidgetWeight and returns the ObjectWidget class that has the highest weight for a given node (?node), predicate (?predicate), resource type (?resourceType) and local range (?range). All arguments are optional, but not all will be empty. If the resourceType and predicate are known, then also the ?range will be bound."^^xsd:string;