# (c) Copyright 2004, Hewlett-Packard Development Company, LP, all rights reserved. @prefix rdfs: . @prefix rdf: . @prefix dc: . @prefix : . @prefix xsd: . : rdfs:comment "Vocabulary for configuring and controlling the portal view" ; dc:creator "Dave Reynolds" ; dc:date "2004-01-12" ; . ## ---- Specifying a data source to view ---- :DataSource rdf:type rdfs:Class ; rdfs:comment "Type flag for objects which define a portal data source - rdfs:label gives a locally unique name" ; . # TODO generalize this to allow arbitrary model specs including # database sources to be specified :sourceURL rdf:type rdf:Property ; rdfs:comment "Gives URL from which the data can be obtained" ; rdfs:domain :DataSource . :ontologySourceURL rdf:type rdf:Property ; rdfs:comment "Gives URL from which additional ontology information can be obtained" ; rdfs:domain :DataSource . :closureRulesURL rdf:type rdf:Property ; rdfs:comment "Gives URL for closure rules used to process each data file as added" ; rdfs:domain :DataSource . :transformRulesURL rdf:type rdf:Property ; rdfs:comment "Gives URL from transform rules applied to the union data" ; rdfs:domain :DataSource . :encoding rdf:type rdf:Property ; rdfs:comment "A short unique label for the source used in request URLs" ; rdfs:domain :DataSource . :styleSheet rdf:type rdf:Property ; rdfs:comment "Specifies a style sheet which should be used for this data source (either a URL or a literal giving a local sheet name)" ; rdfs:domain :DataSource . :facet rdf:type rdf:Property ; rdfs:comment "links a facet definition object to the data source" ; rdfs:domain :DataSource ; rdfs:range :Facet . :hiddenFacet rdf:type rdf:Property ; rdfs:comment "links a hidden facet definition object to the data source, the hidden facet may get revealed in a subsource" ; rdfs:domain :DataSource ; rdfs:range :Facet . :blogSource rdf:type rdf:Property ; rdfs:comment "links a definion of a polled semblog to the data source" ; rdfs:domain :DataSource ; rdfs:range :BlogSource . :template rdf:type rdf:Property ; rdfs:comment "links a template definition object to the data source" ; rdfs:domain :DataSource ; rdfs:range :Template . :filterOnType rdf:type rdf:Property ; rdfs:comment "display results at the top level will be limited to this type" ; rdfs:domain :DataSource . :order rdf:type rdf:Property ; rdfs:comment "Gives an integer ordering for objects in a collection" ; rdfs:range xsd:integer . :templateBase rdf:type rdf:Property ; rdfs:comment "Gives the base URL for finding dyanmic action templates" ; rdfs:domain :DataSource . :annotationFile rdf:type rdf:Property ; rdfs:comment "A file to use to store local annotations" ; rdfs:domain :DataSource . :annotationSource rdf:type rdf:Property ; rdfs:comment "A datasource which represents the orgin of local annotatations - just for illustration, not much code here yet." ; rdfs:domain :DataSource . :baseRelationProperty rdf:type rdf:Property ; rdfs:comment "The property that is the root of the subproperty tree used for relational links between items" ; rdfs:domain :DataSource . :primaryProperty rdf:type rdf:Property ; rdfs:comment "A property whose source can be taken as the primary provenance of the displayed object, e.g. typically the name of the object" ; rdfs:domain :DataSource . :textIndex rdf:type rdf:Property ; rdfs:comment "Points to the (portal) URL at which a Lucene text index should be stored" ; rdfs:domain :DataSource . :preferredLanguage rdf:type rdf:Property ; rdfs:comment "Sets a datasource-wide preferred language tag, if there are multiple lables for a term the one closest to the preferred language will be used" ; rdfs:domain :DataSource . :subSourceSpec rdf:type rdf:Property ; rdfs:comment "Points to a specification for a subsidiary data source triggered by a given filter setting" ; rdfs:domain :DataSource ; rdfs:range :SubSourceSpec . :subSource rdf:type rdf:Property ; rdfs:comment "Points from a sub source specification to the subsidiary data source itself " ; rdfs:domain :SubSourceSpec ; rdfs:range :DataSource . :condition rdf:type rdf:Property ; rdfs:comment "Points from a sub source specification to a condition object, all conditions but be satisfied to trigger the sub-source" ; rdfs:domain :SubSourceSpec ; rdfs:range :SubSourceCondition . :conditionFacet rdf:type rdf:Property ; rdfs:comment "Defines the facet which this condition applies to" ; rdfs:domain :SubSourceCondition ; rdfs:range :Facet . :conditionValue rdf:type rdf:Property ; rdfs:comment "Defines the value the facet must have to trigger the condition" ; rdfs:domain :SubSourceCondition ; rdfs:range rdfs:Resource . ## ---- Specifying the database connection for db-based sources ---- :databaseURI rdf:type rdf:Property ; rdfs:comment "The jdbc URL to use" ; rdfs:domain :DataSource . :databaseModelName rdf:type rdf:Property ; rdfs:comment "The model name which holds the data" ; rdfs:domain :DataSource . :databaseUser rdf:type rdf:Property ; rdfs:comment "The login name for the database" ; rdfs:domain :DataSource . :databasePassword rdf:type rdf:Property ; rdfs:comment "The login password for the database, do not put this in web accessible files!" ; rdfs:domain :DataSource . :databaseType rdf:type rdf:Property ; rdfs:comment "The name of the database type for jena, e.g. 'mysql'" ; rdfs:domain :DataSource . :databaseDriver rdf:type rdf:Property ; rdfs:comment "The classname for the jdbc database driver to use with this database, e.g. 'com.mysql.jdbc.Driver'" ; rdfs:domain :DataSource . ## ---- Specifying global rendering templates ---- :viewTemplate a rdf:Property ; rdfs:comment "Gives the velocity template to use to view filter sets of portal resources, can be a URL or an inline template" ; rdfs:domain :DataSource . :pageviewTemplate a rdf:Property ; rdfs:comment "Gives the velocity template to use to show a full page view of a single portal resource, can be a URL or an inline template" ; rdfs:domain :DataSource . ## ---- Specifying a browsable facet of the data source ---- :Facet a rdfs:Class ; rdfs:comment "The base type of facet - defaults to a flat facet, needs a label and linkProp" . :HierarchicalFacet rdfs:subClassOf :Facet ; rdfs:comment "A hiearchical facet - needs a base resource and narrowP or widenP property" . :AlphaRangeFacet rdfs:subClassOf :Facet ; rdfs:comment "Indexed facet on initial character of value names" . :FlatFacet rdfs:subClassOf :Facet ; rdfs:comment "Indexed facet on all values of the linkProp in the database" . :linkProp a rdf:Property ; rdfs:comment "the property which links a data item to the value which the facet is filtering on, often a closed version of linkUpdateProp" ; rdfs:domain :Facet ; rdfs:range rdfs:Property . :linkUpdateProp a rdf:Property ; rdfs:comment "the property to assert in order to link a classification in this facet to a resource" ; rdfs:domain :Facet ; rdfs:range rdfs:Property . :narrowP a rdf:Property ; rdfs:comment "The property which relates a facet value to its more restricted facet values in a hierarchy" ; rdfs:domain :Facet ; rdfs:range rdfs:Property . :widenP a rdf:Property ; rdfs:comment "The property which relates a facet value to its less restricted facet values in a hierarchy" ; rdfs:domain :Facet ; rdfs:range rdf:Property . :facetBase a rdfs:Property ; rdfs:comment "Root value of a hierarchical facet" ; rdfs:domain :Facet ; rdfs:range rdfs:Resource . :queryFacet a :Facet ; rdfs:comment "pseudo facet used to encode free text searches" ; rdfs:label "textSearch" . :valueList a rdf:Property ; rdfs:comment "The property which relates a flat facet to a fixed list of possible values for it" ; rdfs:domain :Facet ; rdfs:range rdf:Property . :valueClass a rdf:Property ; rdfs:comment "The property which relates a flat facet to a rdfs:Class all of whose instances are possible values for it" ; rdfs:domain :Facet ; rdfs:range rdf:Property . ## ---- Specifying a harvester for the data source ---- :harvesterModelName a rdf:Property ; rdfs:comment "the name of the model, within the sources database which specifies the sources to be harvested" . :harvesterBootstrap a rdf:Property ; rdfs:comment "URI of static file which can bootstrap the harvester if the database hasn't yet been created" . :harvesterInterval a rdf:Property ; rdfs:comment "the delay in seconds between harvest scans" . :harvesterPoolSize a rdf:Property ; rdfs:comment "number of threads to use for concurrent harvesting" . ## ---- Specifying a semblog polled by the data source ---- :BlogSource a rdfs:Class ; rdfs:comment "The base type of a semblog interface definition" . :fullRSS a rdf:Property ; rdfs:comment "Defines the URL for the full RSS feed" ; rdfs:domain :BlogSource ; rdfs:range rdfs:Resource . :newEntryRSS a rdf:Property ; rdfs:comment "Defines the URL for getting just the most recent entry" ; rdfs:domain :BlogSource ; rdfs:range rdfs:Resource . # Implemented but as a global rather the blog-specific property :pollInterval a rdf:Property ; rdfs:comment "Interval between blog polls in seconds" ; rdfs:domain :BlogSource ; rdfs:range xsd:int . # Not implemented :cache a rdf:Property ; rdfs:comment "A local URL for a local cache of the blog data" ; rdfs:domain :BlogSource ; rdfs:range rdfs:Resource . ## ---- Specifying a rendering template for a resource class ---- :Template a rdfs:Class ; rdfs:comment "Defines a velocity template to use for a given class of resources " . :templateContext a rdf:Property ; rdfs:comment "A string which identifies which context the template should apply to" ; rdfs:domain :Template . :templatePath a rdf:Property ; rdfs:comment "Either a URL leading to a velocity template or a literal string which is the template" ; rdfs:domain :Template . :templateClass a rdf:Property ; rdfs:comment "The class to which this template should apply" ; rdfs:domain :Template ; rdfs:range rdfs:Class . :templateWeight a rdf:Property ; rdfs:comment "The weight to give the template for this class, this weight is propgated up the super class hierarchy geometrically dimished" ; rdfs:domain :Template ; rdfs:range xsd:int . ## ---- properties used in caching information in the source model ---- :refinement a rdf:Property ; rdfs:comment "Links from a facet state to the bNode containing all the refinements of a given facet" . :refinementFacet a rdf:Property ; rdfs:comment "Identifies the facet which is being refined by a refinement bNode" . :refinementState a rdf:Property ; rdfs:comment "Records a facet state and count on a refinement bNode" .