faqs-for-rdf-fr
FAQs Microformat pour les Fans de RDF
Que sont les Microformats ?
Les Microformats sont un ensemble simple et ouvert de formats de données construits sur des standards existant et largment adoptés, en particulier le XHTML utilisé correctement. Les processus, principes et pratiques du groupe (ouvert) des microformats sont ce qui font les microformats des "microformats", mais ils se concentrent sur l'utilisation du XHTML tel qu'il est conçu, comme un langage sémantique (même s'ils peuvent être aussi implémentés sur d'autres formats XML, comme Atom).
Bien que l'initiative des microformats mettent la priorité sur la lisibilité-par-les-humains, avec l'aide du mécanisme GRDDL, il est possible de visualiser les microformats comme spécifique à un domaine des feuilletons RDF.
Voir aussi : Introduction aux Microformats
Par exemple.. ?
This example shows how the hCard microformat can be used to express vCard data.
Mais je produits du RDF, pourquoi devrais-je m'y intéresser ?
Microformats can lower the barrier to putting explicit data on the Web. This is entirely in line with the aims of the Semantic Web.
Dan Connolly rdf-interest, March 2000:
I believe that one of the best ways to transition into RDF, if not a long-term deployment strategy for RDF, is to manage the information in human-consumable form (XHTML) annotated with just enough info to extract the RDF statements that the human info is intended to convey. In other words: using a relational database or some sort of native RDF data store, and spitting out HTML dynamically, is a lot of infrastructure to operate and probably not worth it for lots of interesting cases. We all know that we have to produce a human-readable version of the thing… why not use that as the primary source?
J'ai un vocabulaire RDF que j'aimerais utiliser comme un microformat. Comment puis-je le faire ?
Before doing anything else, read the Process. In general the microformat process is data-driven. It starts with material already being published, rather than an existing format, model or schema. You should also check the list of what has already been covered and the work-in-progress on the Wiki MainPage.
It may well be that what you have in mind isn't appropriate for use as a microformat, but it may still be a good idea to develop a (semantic) XHTML representation. Existing microformats demonstrate a standards-friendly way of doing this.
See also: The Elements of Meaningful XHTML
Ainsi, cela concerne l'utilisation de valeurs de classe CSS à ajouter à la sémantique ?
No. XHTML already expresses semantics, the HTML class
attribute is just one of several mechanisms. From the HTML 4 spec:
The class attribute, on the other hand, assigns one or more class names to an element; the element may be said to belong to these classes.
See also: Class attributes are about more than styling
Qu'en est-il des espaces-noms pour les attributs, devrais-je utiliser "xxx:term" ?
In general, microformats rejects the use of explicit namespace prefixes in documents as unnecessary for solving the 80/20 of problems that microformats seeks to solve. The general approach taken is not to attempt to generalise to the extent of RDF-in-HTML, rather to define more domain-specific formats.
Mais il n'y aura pas de conflits de nommage ?
The social aspect of the microformats Process is such that conflicts ought to be prevented. The goal is to keep things as simple as possible by only focusing on existing well-defined problems, rather than trying to "boil the ocean" (solve the hypothetical general case).
Ainsi comment je fais pour obtenir les données ?
See GRDDL (older version)
See also: hGRDDL proposal
N'y a t'il pas un conflit entre la sémantique de XFN et FOAF?
The use of the page URI in XFN to identify a person appears to conflict with FOAF's by-reference approach, and to mess up the potential for saying things about the page itself. However in practice this isn't a problem. It's possible to parse the document as XFN (using e.g. grokXFN.xsl) to extract the person-related statements, e.g.
_:personA foaf:homepage <http://example.org/this-page> . _:personA foaf:knows _:personB . _:personB foaf:homepage <http://example.org/linked-page> .
- and independently parse the document using other format mappings (e.g. dc-extract.xsl) to obtain other statements, e.g.
<http://example.org/this-page> dc:creator "The Creator" .
See also: XFN on the GRDDL, XFN Delusions of Grandeur, XFN Grandeur, XFN vs. FOAF
Quels autres travaux ont été fait avec les microformats et RDF ?
Y'a t'il des Schémas pour les Microformats ?
Kind of. The primary specification is XHTML, but HTML4 provides a mechanism (the 'profile' attribute of the <head> element) to point to a meta data profile that defines properties and values. There is a (HTML-based) format specified for microformat profiles - XHTML Meta Data Profiles. Note that XMDP's URLs for specifying terms is compatible with those used by RDF, with "#term" at the end.
Quels sont les vocabulaires RDF (et XSLT) disponbiles correspondants aux microformats ?
See MicroModels (on ESW Wiki)
Est-ce que ce n'est pas simplement de la friction ?
No. Because microformats (should) include URI(s) for every profile used, and the profiles are clearly defined, the explicit data contained in a document can be extracted deterministically by parsing.
Qui d'autre est en train de regarder RDF et les microformats?
Lots of folks. Including: Dan Connolly, Ian Davis, John Breslin, Danny Ayers....
Comment puis-je m'impliquer ?
If you're using the Web, you already *are* involved! Next place to go is the microformats.org site, and maybe sign up to some of the mailing lists (in particular microformats-discuss). There's also an IRC channel #microformats on irc.freenode.net.