dotNetRDFTripleGenerator用法示例:


public class Entity { 

    [Subject(Prefix = @\"http://d/data/\")] 

    public int Id { get; set; } 

    [Object(Predicate = @\"http://d/ont/name\")] 

    public string Name { get; set; } 

    [Object(Predicate = @\"http://d/ont/priority\")] 

    public int Priority { get; set; } 

    [Object(Predicate = @\"http://d/ont/category\")] 

    public ulong Category { get; set; } 

}