Pattern Ontology (PO)

URL
http://purl.org/spar/po (alternative at w3id.org)
DOI
TBA
Documentation
http://purl.org/spar/po.html
Source
http://purl.org/spar/po.xml (RDF/XML)
http://purl.org/spar/po.ttl (Turtle)
http://purl.org/spar/po.nt (N-triples)
http://purl.org/spar/po.json (JSON-LD)
Repository
https://github.com/sparontologies/po

The **_Pattern Ontology (PO)_** is an OWL 2 DL ontology that formally defines patterns for segmenting a document into atomic components, in order to be manipulated independently and re-flowed in different contexts. Structural patterns allow representing document elements (such as sections, paragraphs, lists, metadata, and tables) through abstract, reusable primitives independent of specific markup syntaxes.

Examples of use of PO

  1. Making assertions on values

Making assertions on values

A reified literal can be enriched with metadata, such as provenance, which cannot be attached directly to plain RDF literals.

@prefix : <http://sparontologies.net/example/> .
@prefix po: <http://www.essepuntato.it/2008/12/pattern#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:section-1 a po:HeadedContainer ;
    po:hasName "section" ;
    po:containsAsHeader :heading-1 ;
    po:contains :paragraph-1 .

:heading-1 a po:Block ;
    po:hasName "h1" ;
    po:contains :text-heading .

:paragraph-1 a po:Block ;
    po:hasName "p" ;
    po:contains :text-span .

:text-span a po:Inline ;
    po:hasName "span" ;
    po:contains :atom-text .

:text-heading a po:Atom ;
    po:hasName "text" .

:atom-text a po:Atom ;
    po:hasName "text" .

Please cite the source above with the following reference:

TBA