Vocabularies/FAB

From GoodRelations Wiki
Jump to: navigation, search

The Food and Beverage Extension for GoodRelations

Construction.png
Work in progress: This page is an incomplete draft. Please help to improve it by addressing the issues from the discussion page and remove this template when finished.
GoodRelations Domain Extension
Name The Food and Beverages Extension (FAB)
Description This extension module for GoodRelations provides classes and properties for describing food and beverage offers and menu cards.
Status ongoing
Level advanced
Tags goodrelations, restaurants, food, beverages, gastronomy, menu
URL http://purl.org/fab/ns
Namespace http://purl.org/fab/ns#
Prefix fab:

Overview

The Food and Beverages Ontology is a Web vocabulary for describings foods, beverages, and related products or services, e.g. for annotating menu cards or other food or beverages-related services.

The vocabulary is designed to be used in combination with GoodRelations, a standard vocabulary for the commercial aspects of offers for sale, rental, repair, or disposal. GoodRelations is a language (also known as "schema", "data dictionary", or "ontology") for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

Resources

Quickstart

Pizza Hawai for $ 9.95

<!-- to be done -->

Conceptual Structure

Usage with schema.org and Microdata

Unfortunately, schema.org in Microdata does not support extension modules very well, so in general, the best way to use this extension with GoodRelations elements is in RDFa syntax. It is possible to augment schema.org markup with the additional granularity from this vocabulary, but as of today, the resulting code does not validate with Google tools. In RDFa, though, the markup passes all tests; see

for details.


Examples

Single Food Offer

Turtle

RDFa

Beverages

Turtle

RDFa

Menu

Turtle

RDFa

Menu or Food with Minimum Number of Servings

Turtle

RDFa

Menu Card

Turtle

RDFa

Happy Hour

Turtle

RDFa

Lunchtime Specials (12:00 - 14:00)

Turtle

RDFa

SPARQL Queries

Advanced Topics

Translating Menu Cards with www.productontology.org