@prefix rdfs: . @prefix owl: . @prefix rdf: . @prefix fresnel: . @prefix dc: . @prefix xsd: . # actually used in source code and in forms/form_specs/*.form.ttl: @prefix form: . @prefix foaf: . # ----------------------------------------------- # About this vocab' form: a owl:Ontology ; rdfs:label "Triple Display specifications"@en ; rdfs:comment """an Ontology for Displaying and editing Triples, typically for a form; aligned with Fresnel."""@en ; dc:date "2014-07-19"^^xsd:date ; dc:creator ; owl:versionInfo "$Id$"^^xsd:string ; rdfs:seeAlso ; rdfs:seeAlso ; rdfs:seeAlso <../scala/forms/form_specs/foaf.form.ttl> . #### displaying or editing #### form:TriplesDisplay a owl:Class ; rdfs:label "Triples Display specification"@en ; rdfs:comment """a specification for Displaying Triples, typically for a form."""@en ; owl:sameClassAs fresnel:Lens . form:classDomain a owl:ObjectProperty ; rdfs:domain form:TriplesDisplay ; rdfs:range rdfs:Class ; rdfs:label "class Domain"@en ; rdfs:comment """ the Display specification applies to URI's of this type(s)"""@en ; owl:samePropertyAs fresnel:classLensDomain . form:showProperties a owl:ObjectProperty ; rdfs:domain form:TriplesDisplay ; rdfs:range rdf:List ; # a list of rdf:Property rdfs:label "show properties"@en ; rdfs:comment "List of all properties which should be shown."@en ; owl:samePropertyAs fresnel:showProperties . form:linksCount a owl:DatatypeProperty ; rdfs:label "links Count"@en ; rdfs:label "Nombre de liens"@fr ; rdfs:range xsd:integer . #### editing #### form:TripleEdit a owl:Class ; rdfs:label "Triple Edit specification, a.k.a. a field, an input field"@en ; rdfs:comment """a specification for Editing a Triple, typically for a form."""@en . form:fieldAppliesToForm a owl:ObjectProperty ; rdfs:domain form:TripleEdit ; rdfs:range form:TriplesDisplay . form:fieldAppliesToProperty a owl:ObjectProperty ; rdfs:domain form:TripleEdit ; rdfs:range rdf:Property . form:cardinality a owl:ObjectProperty ; rdfs:domain form:TripleEdit ; rdfs:range form:Cardinality . form:defaultCardinality a owl:ObjectProperty ; rdfs:domain form:TriplesDisplay ; rdfs:range form:Cardinality . form:Cardinality a owl:Class ; owl:oneOf ( form:zeroOrMore form:oneOrMore form:zeroOrOne form:exactlyOne ) ; rdfs:label "possible Cardinality values of Triple Edit"@en ; rdfs:comment """ In oneOrMore or exactlyOne cases, the form tool should open a sub form in place or a popup. """@en . form:DatatypeInputField a owl:Class ; rdfs:subClassOf form:TripleEdit . form:ObjectInputField a owl:Class ; rdfs:subClassOf form:TripleEdit . form:widgetClass a owl:ObjectProperty ; rdfs:domain form:TripleEdit ; rdfs:range form:WidgetClass . # WIP: resource, resource_form , date ... # option:endpoint option:choices option:class option:expanded 0 ; option:label form:WidgetClass a owl:Class ; owl:oneOf ( form:Text form:Textarea form:Checkbox form:Choice form:Collection form:DBPediaLookup form:Upload ) . # from e-commerce project ... # form:has_applicable_property form:has_mandatory_properties form:computedProperty form:multipleChoice # form:Field form:property form:class form:label form:detail