我有卢旺达国防军的档案,我希望从中产生一份.。 我愿制定一些规则,以宣传节点和这些节点之间的联系(例如代表婚姻关系的一种特殊arrow)。
这里就是这种转换“规则”的一个例子:
<person rdf:about="http://www.something.com/EGAnne"
<j: DateBirth>1981</j: DateBirth>
<j:Profession>Comptable</j:Profession>
<j:Gender>Female</j:Gender>
</j:person>
我想将这些内容转化为这一结果:
a [label = "Anne n nD.Birth: 1981 nProfession: Accounting n", shape = circle, fillcolor = "pink" style = "filled", fontsize = "9", fontname = " Arial, bold "];
Then, to represent the marriage between two instances of the class person, the type of arrow will be "odot" and color "goldenrod":
a -> j [arrowhead = "odot" arrowtail = "odot", dir = both, color = "goldenrod"]
我怎么能够根据上述规则,从卢旺达国防军档案中自动生成.子?