public override bool acceptProp(ParsedTriple t, WiktCtx ctx) { int?trId = null; if (t.setRefValue <Helper>(ctx, this, predicates.dbnary_isTranslationOf, ref trId)) { WiktIdManager.decodeLowByte((int)trId, out string langId, out string classUri); switch (classUri) { case WiktConsts.NodeTypeNames.Page: pageTransId = trId; break; case WiktConsts.NodeTypeNames.LexicalÈntry: entryTransId = trId; break; case WiktConsts.NodeTypeNames.LexicalSense: senseTransId = trId; break; } return(true); } else { return(t.setRefValue <Gloss>(ctx, this, predicates.dbnary_gloss, ref glossId) || t.setValue(ctx, this, predicates.dbnary_targetLanguage, ref trans1.targetLanguage1) || t.setValue(ctx, this, predicates.dbnary_targetLanguageCode, ref trans1.targetLanguage1) || t.setValue(ctx, this, predicates.dbnary_usage, ref trans1.usage1) || t.setValueWithLang(ctx, this, predicates.dbnary_writtenForm, ref trans1.writtenForm1, ref trans1.targetLanguage1) || base.acceptProp(t, ctx)); } }
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);
public override bool acceptProp(ParsedTriple t, WiktCtx ctx) => t.setValue(ctx, this, predicates.rdf_value, ref gloss1.value1) || t.setValue(ctx, this, predicates.dbnary_senseNumber, ref gloss1.senseNumber1) || t.setIntValue(ctx, this, predicates.dbnary_rank, ref gloss1.rank1) || // 14384x DUPL !!!! base.acceptProp(t, ctx);
public override bool acceptProp(ParsedTriple t, WiktCtx ctx) => t.setValue(ctx, this, predicates.ontolex_writtenRep, ref form1.writtenRep1) || t.setFormInfosValue(ctx, this, ref form1.infos1) || t.setValue(ctx, this, predicates.skos_note, ref form1.note1) || base.acceptProp(t, ctx);
public override bool acceptProp(ParsedTriple t, WiktCtx ctx) => t.setNymsValue(ctx, this, ref nyms1) || t.setValue(ctx, this, predicates.dbnary_senseNumber, ref senseNumber1) || t.setValue(ctx, this, predicates.skos_definition, ref definition1) || t.setValue(ctx, this, predicates.skos_example, ref example1) || base.acceptProp(t, ctx);