@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sio: <http://semanticscience.org/ontology/sio.owl> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .
@prefix qb: <http://purl.org/linked-data/cube#> .
@prefix va: <http://code-research.eu/ontology/visual-analytics#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<http://code-research.eu/ontology/visual-analytics> a owl:Ontology ;
	owl:versionInfo "0.1.20121122" ;
	rdfs:label "The Visual Analytics Vocabulary" ;
	rdfs:comment "This vocabulary allows the semantic description of visual analytics applications. It is based on the RDF Data Cube Vocabulary and the Semanticscience Integrated Ontology." ;
	dcterms:created "2012-10-31"^^xs:date ;
	dcterms:modified "2014-03-24"^^xs:date ;
	vann:preferredNamespacePrefix "va" ;
	vann:preferredNamespaceUri "http://code-research.eu/ontology/visual-analytics#" ;
	dc:creator "Belgin Mutlu, Patrick Hoefler" ;
	dc:contributor "Michael Granitzer" .

va:Chart a rdfs:Class , owl:Class ;
	rdfs:label "Chart"@en ;
	rdfs:comment "Is the graphical representation of numerical or qualitative data."@en ;
	owl:equivalentClass <http://semanticscience.org/ontology/sio.owlSIO_000904> ;
	va:hasChartName va:ChartName ;
	va:supportedDimension va:SupportedDimension ;
	va:hasVisualChannel va:VisualChannel ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:VisualChannel a rdfs:Class , owl:Class ;
	rdfs:label "Visual channel"@en ;
	rdfs:comment "Represents a visual dimension of a chart."@en ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> ;
	va:hasDataType va:DataType ;
	va:hasOccurrence va:Occurence ;
	va:hasPersistence va:Persistence .

va:ChartName a rdfs:Class , owl:Class ;
	rdfs:label "Chart Name"@en ;
	rdfs:comment "Represents the name of a chart."@en ;
	rdfs:subClassOf va:Chart ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Axis a rdfs:Class , owl:Class ;
	rdfs:label "Axis"@en ;
	rdfs:comment "Is a line segment that is part of a chart in which the position along the line corresponds to a numeric or categorical value. "@en ;
	rdfs:subClassOf va:VisualChannel ;
	owl:equivalentClass <http://semanticscience.org/ontology/sio.owlSIO_000450> ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Color a rdfs:Class , owl:Class ;
	rdfs:label "Color"@en ;
	rdfs:comment "Represents a visual dimension of a chart."@en ;
	rdfs:subClassOf va:VisualChannel ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Size a rdfs:Class , owl:Class ;
	rdfs:label "Size"@en ;
	rdfs:comment "Represents a visual dimension of a chart."@en ;
	rdfs:subClassOf va:VisualChannel ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Symbol a rdfs:Class , owl:Class ;
	rdfs:label "Symbol"@en ;
	rdfs:comment "Represents a visual dimension of a chart."@en ;
	rdfs:subClassOf va:VisualChannel ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:DataType a rdfs:Class , owl:Class ;
	rdfs:label "Data type"@en ;
	rdfs:comment "Data type identifies a type of data represented in chart’s visual channel."@en ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Persistence a rdfs:Class , owl:Class ;
	rdfs:label "Persistence"@en ;
	rdfs:comment "Persistence denotes whether a visual channel is permanently present in the chart and must be specified or it might be defined if needed."@en ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Occurrence a rdfs:Class , owl:Class ;
	rdfs:label "Occurrence"@en ;
	rdfs:comment "Occurrence denotes whether a visual channel can be set only one times or multiple times."@en ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Mandatory a rdfs:Class , owl:Class ;
	rdfs:label "Mandatory Persistence "@en ;
	rdfs:comment "Denotes that a visual channel must be specified."@en ;
	rdfs:subClassOf va:Persistence ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Optional a rdfs:Class , owl:Class ;
	rdfs:label "Optional Persistence"@en ;
	rdfs:comment "Denotes that a visual channel must be specified."@en ;
	rdfs:subClassOf va:Persistence ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:One a rdfs:Class , owl:Class ;
	rdfs:label "Occurence one"@en ;
	rdfs:comment "Denotes that a visual channel can only set at one times."@en ;
	rdfs:subClassOf va:Occurrence ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Multiplicity a rdfs:Class , owl:Class ;
	rdfs:label "Occurence multiplicity"@en ;
	rdfs:comment "Denotes that a visual channel can set at multiple times."@en ;
	rdfs:subClassOf va:Occurrence ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:SupportedDimension a rdfs:Class , owl:Class ;
	rdfs:label "Supported dimension"@en ;
	rdfs:comment "Denotes how many dimensions can be visualize by a chart."@en ;
	rdfs:subClassOf va:Chart ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Mapping a rdfs:Class , owl:Class ;
	rdfs:label "Mapping"@en ;
	rdfs:comment "This class contains all mappings created for an RDF Data Cube."@en ;
	va:hasComponentMapping va:ComponentMapping ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:ComponentMapping a rdfs:Class , owl:Class ;
	rdfs:label "Component mapping"@en ;
	rdfs:comment "Represents a mapping for a particular chart."@en ;
	va:representsChart va:MappedChartName ;
	va:hasComponentMapping va:ComponentMapping ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:Dashboard a rdfs:Class , owl:Class ;
	rdfs:label "Dashboard"@en ;
	rdfs:comment "Represents a collection of one or more charts that visualize the same Data Cube."@en ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:unit a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Unit"@en ;
	rdfs:comment "Defines the unit measure of a visual channel."@en ;
	rdfs:domain va:VisualChannel ;
	rdfs:range rdfs:Resource ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:unit ;
	owl:minCardinality "1"^^xs:integer ;
	owl:maxCardinality "1"^^xs:integer .

va:hasDataType a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Has data type"@en ;
	rdfs:comment "Defines which data type a visual channel has."@en ;
	rdfs:domain va:VisualChannel ;
	rdfs:range va:DataType ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:hasDataType .

va:hasPersistence a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Has persistence"@en ;
	rdfs:comment "Denotes which visual channel of a chart must be specified or might be defined if needed."@en ;
	rdfs:domain va:VisualChannel ;
	rdfs:range va:Persistence ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:hasPersistence .

va:hasOccurrence a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Has occurrrence"@en ;
	rdfs:comment "Denotes whether a visual channel can be set only at one times or multiple times."@en ;
	rdfs:domain va:VisualChannel ;
	rdfs:range va:Occurence ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:hasOccurrence .

va:hasVisualChannel a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Has visual channel"@en ;
	rdfs:comment "Represents which visual channel a chart has."@en ;
	rdfs:domain va:Chart ;
	rdfs:range va:VisualChannel ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:hasVisualChannel .

va:hasChartName a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Has chart label"@en ;
	rdfs:comment "Represents which name a chart has."@en ;
	rdfs:domain va:Chart ;
	rdfs:range va:ChartName ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:hasChartName .

va:cubeDimensionNominal a qb:DimensionProperty , rdf:Property , owl:ObjectProperty ;
	rdfs:label "Nominal cube dimension" ;
	rdfs:comment "This class can be used as a fallback for nominal dimensions. It should be avoided in favor of more specific dimension properties." ;
	rdfs:domain qb:Observation ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

va:getMapping a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Get Mapping"@en ;
	rdfs:comment "Displays the mappings for a RDF Data Cube."@en ;
	rdfs:domain va:RDFDataCube ;
	rdfs:range va:Mappig ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:getMapping .

va:hasComponentMapping a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Has components mapping"@en ;
	rdfs:comment "Displays a particular mapping of a RDF Data Cube."@en ;
	rdfs:domain va:Mapping ;
	rdfs:range va:ComponentMapping ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:hasComponentsMapping .

va:representsCubeProperty a rdf:Property , owl:ObjectProperty ;
	rdfs:label "Represents chart"@en ;
	rdfs:comment "Represents the component (dimension,measure) of a RDF Data Cube, which has been mapped."@en ;
	rdfs:domain va:Mapping ;
	rdfs:range qb:DimensionProperty , qb:MeasureProperty ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:representsCubeProperty .

va:visualizes a rdf:Property , owl:ObjectProperty ;
	rdfs:label "visualizes"@en ;
	rdfs:comment "Links a Visual Analytics Dashboard with a Data Cube or Data Slice"@en ;
	rdfs:domain va:Dashboard ;
	rdfs:range qb:DataSet , qb:Slice ;
	rdfs:isDefinedBy <http://code-research.eu/ontology/visual-analytics> .

owl:Restriction owl:onProperty va:visualizes .
