W3C

RDFa Test Suite vocabulary

Introduction

This document defines the RDFa test vocabulary, used for defining tests on the RDFa Test Suite manifest.

Test Property definitions

hostLanguage
Host Language defines the Host Languages for which this test is defined. Appropriate values include html4, html5, svg, xhtml1, xhtml5, and xml.
num
Number defines the Test Number of this test.
queryParam
Query Param defines query parameters to add to the processor URL when running this test.
rdfaVersion
RDFa Version defines the RDFa version numbers for which this test is defined. Appropriate values include rdfa1.0, rdfa1.1, rdfa1.1-proc, rdfa1.1-role and rdfa1.1-vocab.

Reporting Class Definitions

Version
Version defines the Container Class for Version containing a list of rdfatest:hostLanguageReport properties.

Reporting Property Definitions

hostLanguageReport
Host Language Report is the base property identifying host language reports. It references a list of one or more Test Cases.
html4
HTML4 is a sub-property of host language report. The HTML4 [[HTML40]] RDFa Host Language is defined in [[HTML-RDFA]]. HTML+RDFa extends RDFa Core 1.1 [[RDFA-CORE]] with host-language specific processing rules.
html5
HTML5 is a sub-property of host language report. The HTML5 [[HTML5]] RDFa Host Language is defined in [[HTML-RDFA]]. HTML+RDFa extends RDFa Core 1.1 [[RDFA-CORE]] with host-language specific processing rules.
rdfa1.0
RDFa 1.0 is a sub-property of version report. RDFa 1.0 [[RDFA-SYNTAX]] defines core processing rules for RDFa in XHTML [[XHTML11]].
rdfa1.1
RDFa 1.1 is a sub-property of version report. RDFa Core 1.1 [[RDFA-CORE]] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.
rdfa1.1-proc
RDFa 1.1 Processor Graph is a sub-property of version report used for reporting on optional Processor Status.

RDFa Core 1.1 [[RDFA-CORE]] Processor Status is an optional RDFa feature used to add triples for reporting on errors, warnings and other information. The processor adds a @rdfagraph attribute to indicate if the processor should return the output graph, processor graph, or both.

rdfa1.1-role
Role Attribute is a sub-property of version report used for reporting on the Role Attribute

XHTML Role Attribute Module [[XHTML-ROLE]] is a specification for generating triples from the HTML @role attribute.

rdfa1.1-vocab
RDFa 1.1 Vocabulary is a sub-property of version report used for reporting on optional Vocabulary Entailment.

RDFa Core 1.1 [[RDFA-CORE]] Vocabulary Expansion is an optional RDFa extension used to perform limited OWL and RDFS expansion of terms associated with a Vocabulary.

svg
SVG is a sub-property of host language report. SVG [[SVG12]] supports RDFa by virtue of being an XML-based language, so the XML+RDFa rules defined in RDFa Core 1.1 [[RDFA-CORE]] apply to processing RDFa in SVG.
versionReport
Is the base property identifying version reports. It references one or more Versions.
xhtml1
XHTML1 is a sub-property of host language report. XHTML+RDFa 1.1 [[XHTML-RDFA]] extends RDFa Core 1.1 [[RDFA-CORE]] with host-language specific processing rules.
xhtml5
XHTML5 is a sub-property of host language report. The HTML5 [[HTML5]] RDFa Host Language is defined in [[HTML-RDFA]]. HTML+RDFa extends RDFa Core 1.1 [[RDFA-CORE]] with host-language specific processing rules.
xml
XML is a sub-property of host language report. The XML [[XML11]] RDFa Host Language uses the generic [[RDFA-CORE]] processing rules.

Vocabulary Expansion test reasoning

This section defines some vocabulary terms useful when testing optional RDFa processor vocabulary expansion.

Base Class
The class rdfatest:BaseClass defines a base class useful for determining inference rules for sub- and equivalent- classes
Base Property
The property rdfatest:baseProp defines a base property useful for determining inference rules for sub- and equivalent- properties
Sub Property
The property rdfatest:subProp defines a property which is a sub-property of rdfatest:baseProp.
Equivalent Property
The property rdfatest:eqProp defines a property which is an equivalent-property of rdfatest:baseProp.
Sub Class
The class rdfatest:SubClass defines a class which is a sub-class of rdfatest:BaseClass.
Equivalent Class
The class rdfatest:prp_eqp defines a class which is an equivalent-class of rdfatest:BaseClass.