[foaf-dev] Extending foaf with bio and rel

Kevin Pickens kbpickens at gmail.com
Thu Jun 16 13:51:08 CEST 2011


Bruce,

The first questions are:
What errors are you receiving from the validator?
What else do you have in the RDF (have you defined your prefixes, is the
bio:Birth inside a foaf:Person, &c.)?

When I added the prefixes for the namespaces, it validated just fine.

<rdf:RDF
 xmlns:bio="http://purl.org/vocab/bio/0.1/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<bio:Birth>
<dc:date>1966-04-22</dc:date>
<bio:place rdf:resource="http://en.wikipedia.org/wiki/New_Britain,_CT" />
</bio:Birth>
</rdf:RDF>

Cheers,
Kevin
---
Kevin Pickens
A+ | Network + | Security+ | Project+
kbpickens at gmail.com | http://kbpickens.me
+1(540)999-6257 (office) | +1(508)664-8314 (fax)



On Thu, Jun 16, 2011 at 5:51 AM, Bruce Whealton <bruce at whealton.info> wrote:

> Hello,
>         Can someone help me figure out what I am doing wrong with
> specifying the date for my birth using the bio vocabulary?
> The RDF validator does not like several things about this.  I'll paste what
> I have:
>
> <bio:Birth>
>    <dc:date>1966-04-22</dc:date>
>    <bio:place rdf:resource="http://en.wikipedia.org/wiki/New_Britain,_CT"
> />
> </bio:Birth>
>
> I'd like to use several vocabularies in a genealogy application using
> MediaWiki and the Semantic MediaWiki bundle.  So, I'm testing how the
> properties need to be specified.
> Thanks,
> Bruce
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> Bruce Whealton, Owner Future Wave Designs
> FOAF: http://whealton.info/BruceWhealton1/foaf.rdf
> Vcard: http://whealton.info/BruceWhealton1/brucewhealtonvcard.html
> Web Design and Development http://FutureWaveDesigns.com
> http://futurewavedesigns.com/wordpress/
> Web Technology wiki: http://futurewavedesigns.com/w/
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
> _______________________________________________
> foaf-dev mailing list
> foaf-dev at lists.foaf-project.org
> http://lists.foaf-project.org/mailman/listinfo/foaf-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.foaf-project.org/pipermail/foaf-dev/attachments/20110616/347c58f8/attachment.htm 


More information about the foaf-dev mailing list