Example #1
0
 public override bool acceptProp(ParsedTriple t, WiktCtx ctx) =>
 t.setValue(ctx, this, predicates.ontolex_writtenRep, ref writtenRep1) ||
 t.setNymsValue(ctx, this, ref nyms1) ||
 t.setFormInfosValue(ctx, this, ref infos1) ||
 t.setRefValue <Form>(ctx, this, predicates.ontolex_canonicalForm, ref canonicalFormId) ||
 t.setRefValues <Form>(ctx, this, predicates.ontolex_otherForm, ref otherFormIdx) ||
 t.setRefValues <Sense>(ctx, this, predicates.ontolex_sense, ref senseIds) ||
 t.setUriValue(ctx, this, predicates.lexinfo_partOfSpeech, ref partOfSpeech1) ||
 t.setUriValues(ctx, this, predicates.lexinfo_partOfSpeechEx, ref partOfSpeechEx1) ||
 base.acceptProp(t, ctx);
Example #2
0
 public override bool acceptProp(ParsedTriple t, WiktCtx ctx) =>
 t.setRefValue <Helper>(ctx, this, predicates.dbnary_gloss, ref glossId) ||
 t.setRefValue <Entry>(ctx, this, predicates.rdf_subject, ref subjectId1) ||
 t.setRefValue <Page>(ctx, this, predicates.rdf_object, ref objectId1) ||
 t.setUriValue(ctx, this, predicates.rdf_predicate, ref predicate1) ||
 base.acceptProp(t, ctx);