Am 26.02.2014 20:09, schrieb Dan Brickley: > On 26 February 2014 10:45, Joonas Suominen <[email protected]> > wrote: >> How about using RDFa and foaf:primaryTopic like in this example >> https://en.wikipedia.org/wiki/RDFa#XHTML.2BRDFa_1.0_example >> >> 2014-02-26 20:18 GMT+02:00 Paul Houle <[email protected]>: >> >>> Isn't there some way to do this with schema.org? > > The FOAF options were designed for relations between entities and documents - > > foaf:primaryTopic relates a Document to a thing that the doc is > primarily about (i.e. assumes entity IDs as value, pedantically). > > the inverse, foaf:isPrimaryTopicOf, was designed to allow an entity > description in a random page to anchor itself against well known > pages. In particular we had Wikipedia in mind.
In the RDF mapping of Wikidata, we currently use schema:about for this relationship. E.g. on <https://www.wikidata.org/entity/Q42.ttl> you will find: <http://de.wikipedia.org/wiki/Douglas_Adams> a schema:Article ; schema:about entity:Q42 ; schema:inLanguage "de" . Note that we say that the Wikipedia page is about the *concept* with the URI <https://www.wikidata.org/entity/Q42>, not about the *page* with the URI <https://www.wikidata.org/wiki/Q42>. As mentioned, foaf:primaryTopic/foaf:isPrimaryTopicOf can also be used to describe such a relationship between an article and a concept/topic. I'm tempted to add that the the RDF mapping, actually... Anyway: wikidata already defines the schema:about relationship for this. So I suggest to use <link rel="schema:about" href="https://www.wikidata.org/wiki/Q42"> in the HTML header on Wikipedia. The Wikibase client extension could actually just do that. -- daniel -- Daniel Kinzler Senior Software Developer Wikimedia Deutschland Gesellschaft zur Förderung Freien Wissens e.V. _______________________________________________ Wikidata-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-l
