Aiming at the problem of non ambiguity mapping between computer languages, we proposed an ambiguity resolution algorithm for mapping from natural language to SPARQL language. The algorithm was based on the characteristics of natural language,fitting quantity of facts and the text similarity to resolve ambiguity in the process of entity mapping,fitting the text similarity and the semantics-weight of relation to resolve the ambiguity in the process of relation mapping.Experimental results show that the algorithm is effective.%针对计算机各语言间的无岐义映射问题,提出一种从自然语言向 SPARQL 语言映射过程中的歧义消解算法。该算法基于自然语言的特征,拟合知识丰富程度和文本相似度消解实体映射过程中的歧义性,拟合语义权重度和文本相似度消解关系映射过程中的歧义性。实验结果表明,该算法效果较好。
展开▼