Hello,
I'm working on the Entry Layouts, which extract wiktionary data into the
dbpedia framework. The first thing I'm interested in the link to the
base form of an inflected verb/adjective.
Although the idea is the same for adjectives and verbs, it would be
worth to discuss if we seperate templates and a separate dbpedia-terms
for every form (e.g. comparative / superlative forms of adjectives, past
participle / simple past / e.g. for verbs. I wrote a template for the
superlative form, please tell me if I got it right. I think it would
belong in the "pos" block (<block name="pos"
property="http://wiktionary.dbpedia.org/terms/hasPoSUsage";>).


<template name="lemma-superlative">
        <resultTemplates>
                <resultTemplate>
                        <triples>
                                <triple s="$block" 
p="http://wiktionary.dbpedia.org/terms/hasLemma";
o="http://wiktionary.dbpedia.org/resource/uri($lemma)" oType="URI"/>
                        </triples>
                </resultTemplate>
        </resultTemplates>
        <wikiTemplate># {{superlative of|$lemma}}</wikiTemplate>
</template>

_______________________________________________
Wiktionary-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wiktionary-l

Reply via email to