Questions tagged [rdfa]

RDFa (Resource Description Framework in Attributes) is a technique that allows to express structured data in markup languages. It provides a set of attributes to augment the visual information on the Web with machine-readable hints.

RDFa is a W3C Recommendation for embedding data in markup languages (like HTML, XHTML, SVG, etc.).

Example

The following XHTML snippet (from the RDFa 1.1 Primer linked below), the document has "The Trouble with Bob" as a value of the property dc:terms as well as the content of an h2 element. It also has a dc:created value of 2011-09-10. Because the additional information is specified by attributes on the elements, it does not affect the display of the XHTML document.

<html>
<head>…</head>
<body>
  …
  <h2 property="http://purl.org/dc/terms/title">The Trouble with Bob</h2>
  <p>Date: <span property="http://purl.org/dc/terms/created">2011-09-10</span></p>
  …
</body>

What questions should use this tag?

Questions about adding RDFa annotations to a document, or extracting RDF data from an RDFa document should use the tag.

References

The W3C has published several documents regarding RDFa, including an introductory primer as well as the normative recommendations:

192 questions
0
votes
1 answer

Mixing vocabularies, Google's structured data testing tool and Schema.org extensions

We are using several vocabularies along with schema.org and struggle with the structured data testing tool from Google. Is is even possible to completely pacify it when mixing vocabularies? Some of the classes and properties we use are…
brunni
  • 3
  • 1
0
votes
1 answer

Add RDFa using own RDF Schema

I want to create an RDFS ontology describing some specific classes and properties. Then I want to add RDFa into HTML with the vocabulary I defined in RDFS. I know that we need to provide a URL to the vocabulary in RDFa, but I am not sure where to…
Echan
  • 1,395
  • 14
  • 15
0
votes
1 answer

"missing required attribute href" and "itemprop attribute was specified, but the element is not a property of any item"

I'm trying to add structured data snippets. But it is showing some errors in W3C validation. Website address: www.truewayfze.com Error Line 14, Column 73: Element link is missing required attribute href.
0
votes
1 answer

Schema.org, correct Attributes for a School Undergraduate Program

I am unsure as to how I should attribute a school's programs. I need to denote the top level, so Graduate vs. Undergraduate and then subs of those items, so Graduate -> Art or Undergraduate -> Java Programming. I am assuming I would be using…
styks
  • 3,193
  • 1
  • 23
  • 36
0
votes
1 answer

scrapy multiple item classes with extract method inside them

Just to state: I am not an experienced programmer,don't be mad at me … I am exploring scrapy possibilities (I have some Python programming skills). Scrapping a website: lets imagine that we can have some informations extracted from opengraph(og:)…
Inês Martins
  • 530
  • 2
  • 10
  • 23
0
votes
1 answer

Free-form tagging or classification authoring interface

I'm trying to create a front-end interface for the following syntax, so a user can work with the output while authoring the input unknowingly. She…
Gallaxhar
  • 976
  • 1
  • 15
  • 28
0
votes
2 answers

Javascript: Show time taken for each function to fun through browser

This is just a general question, is there a tool/addon for chrome & or firefox to that can either run through each javascript function run on that page and display a result on how long it took to run? or even better yet per line? The probelm i…
0
votes
1 answer

Why is this RDFa throwing errors in Google Testing Tool?

As far as I can see, my breadcrumbs are all using the same format of RDFa (I have added URL functionality to the last breadcrumb though), but the last breadcrumb URL just doesn't seem to be recognised by Google's Testing Tool. The Breadcrumb links…
Lee
  • 4,187
  • 6
  • 25
  • 71
0
votes
2 answers

Applying RDFa to a list completed projects with location

How would someone apply schema to a list of completed projects, for example a listing of projects that were completed by an architecture firm. Let's say you have a list of projects that were completed, consisting of information such as the date,…
Stu Furlong
  • 3,490
  • 5
  • 34
  • 47
0
votes
2 answers

Concepts for RDFa DRY references

I started digging into RDFa recently and try to spice my website with semantic information. The site offers services, events, a blog and may offer products in future. Happily schema.org has coarse but adequate categories for it all. But now it comes…
Lars Hanke
  • 614
  • 5
  • 16
0
votes
2 answers

Can I use gr:category in GoodRelations and rdf:type from productontology together?

Can I use gr:category and rdf:type from product ontology together? I see vso:Canoe from automobile ontology...
ACME Foldable Canoe
Caner
  • 1,448
  • 23
  • 38
0
votes
0 answers

Rich snippets (RDFa) not appearing in search results

I have the following RDFa rich snippet at the top of a web page (ref: https://support.google.com/webmasters/answer/146645?hl=en#aggregate):
alias51
  • 8,178
  • 22
  • 94
  • 166
0
votes
2 answers

Round-trippable encoding of XML dialects within HTML5

I am interested in the very richly semantic and XML-based TEI language, but I believe that if it could be encoded in a round-trippable manner with HTML, that it could thereby benefit from being creatable in web-based HTML editors or storeable on…
Brett Zamir
  • 14,034
  • 6
  • 54
  • 77
0
votes
3 answers

actual webpage using rdfa or microdata?

Where is there a webpage that I can load that is using rdfa or microdata? Or, where should I be looking. I am not asking for a code example. An actual website that is, today, using rdfa or microdata. For context, I am looking at the google…
0
votes
2 answers

Syntax RDFa review Organization with multiple addresses

I am having trouble figuring out the correct rdfa syntax for an aggregated review with multiple addresses and geolocations. I wish to make this available to the Google spider. The example below is what I have so far, but i am unsure whether this is…
Nebu
  • 1,753
  • 1
  • 17
  • 33
1 2 3
12
13