Re: ANN: Krextor 0.2 (XML --XSLT--> RDF extraction framework)

Hi Dan,

  sorry for replying late.

On Friday 11 July 2008 02:05:57 Dan Brickley wrote:
> Christoph LANGE wrote:
> >   there is a new version (0.2) of Krextor at
>
> Sounds interesting. Could you say a bit about how it relates to GRDDL?

Krextor does not (yet?) implement any of the GRDDL specs, but as it
facilitates the implementation of XSLTs for XML->RDF extraction, I hope it
will also be useful in GRDDL scenarios.

On the GRDDL list I gave the following example for a FOAF-like markup:

<person knows="URI-of-person">
  <name>Bart Simpson</name>
</person>

Here is the Krextor XSLT snippet handling that:

<xsl:template match="person">
        <xsl:call-template name="create-resource">
                <xsl:with-param name="type" select="'&foaf;Person'"/>
        </xsl:call-template>
</xsl:template>

<xsl:template match="person/@knows">
        <xsl:call-template name="add-uri-property">
                <xsl:with-param name="property" select="'&foaf;knows'"/>
        </xsl:call-template>
</xsl:template>

<xsl:template match="person/name">
        <xsl:call-template name="add-literal-property">
                <xsl:with-param name="property" select="'&foaf;name'"/>
        </xsl:call-template>
</xsl:template>

I.e. for simple markup/annotation/microformats you can specify a
straightforward, mostly declarative mapping, without doing "algorithmic" XSLT.

> Also btw the README in
> http://kwarc.info/projects/krextor/documentation.html is 404

Thanks, I've fixed that.  Works now.

Cheers,

Christoph

-- 
Christoph Lange, DERI Galway/Jacobs Univ. Bremen, http://kwarc.info/clange

Received on Monday, 14 July 2008 15:05:43 UTC