The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SemanticWeb::Schema::WebPage - A web page

VERSION

version v11.01.0

DESCRIPTION

A web page. Every web page is implicitly assumed to be declared to be of type WebPage, so the various properties about that webpage, such as breadcrumb may be used. We recommend explicit declaration if these properties are specified, but if they are found outside of an itemscope, they will be assumed to be about the page.

ATTRIBUTES

A set of links that can help a user understand and navigate a website hierarchy.

A breadcrumb should be one of the following types:

InstanceOf['SemanticWeb::Schema::BreadcrumbList']
Str

_has_breadcrumb

A predicate for the "breadcrumb" attribute.

last_reviewed

lastReviewed

Date on which the content on this web page was last reviewed for accuracy and/or completeness.

A last_reviewed should be one of the following types:

Str

_has_last_reviewed

A predicate for the "last_reviewed" attribute.

main_content_of_page

mainContentOfPage

Indicates if this web page element is the main subject of the page.

A main_content_of_page should be one of the following types:

InstanceOf['SemanticWeb::Schema::WebPageElement']

_has_main_content_of_page

A predicate for the "main_content_of_page" attribute.

primary_image_of_page

primaryImageOfPage

Indicates the main image on the page.

A primary_image_of_page should be one of the following types:

InstanceOf['SemanticWeb::Schema::ImageObject']

_has_primary_image_of_page

A predicate for the "primary_image_of_page" attribute.

relatedLink

A link related to this web page, for example to other related web pages.

A related_link should be one of the following types:

Str

A predicate for the "related_link" attribute.

reviewed_by

reviewedBy

People or organizations that have reviewed the content on this web page for accuracy and/or completeness.

A reviewed_by should be one of the following types:

InstanceOf['SemanticWeb::Schema::Organization']
InstanceOf['SemanticWeb::Schema::Person']

_has_reviewed_by

A predicate for the "reviewed_by" attribute.

significantLink

One of the more significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.

A significant_link should be one of the following types:

Str

A predicate for the "significant_link" attribute.

significantLinks

The most significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.

A significant_links should be one of the following types:

Str

A predicate for the "significant_links" attribute.

speakable

Indicates sections of a Web page that are particularly 'speakable' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the 'speakable' property serves to indicate the parts most likely to be generally useful for speech.

The speakable property can be repeated an arbitrary number of times, with three kinds of possible 'content-locator' values:

1.) id-value URL references - uses id-value of an element in the page being annotated. The simplest use of speakable has (potentially relative) URL values, referencing identified sections of the document concerned.

2.) CSS Selectors - addresses content in the annotated page, eg. via class attribute. Use the [[cssSelector]] property.

3.) XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.

For more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this we define a supporting type, SemanticWeb::Schema::SpeakableSpecification which is defined to be a possible value of the speakable property.

A speakable should be one of the following types:

InstanceOf['SemanticWeb::Schema::SpeakableSpecification']
Str

_has_speakable

A predicate for the "speakable" attribute.

specialty

One of the domain specialities to which this web page's content applies.

A specialty should be one of the following types:

InstanceOf['SemanticWeb::Schema::Specialty']

_has_specialty

A predicate for the "specialty" attribute.

SEE ALSO

SemanticWeb::Schema::CreativeWork

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2020 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)