我怎样才能翻译这个主题,例如" www.freebase.com/m/0cz9079"变成人类可以阅读的词汇?

时间:2017-10-22 13:29:00

标签: rdf freebase

现在我在SimpleQuestion数据集中得到freebase-FB2M.txt,如下图所示,如何将Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@3155ed77 net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Syntax error on token "-", -- expected .sorted(java.util.Comparator.comparing(p -> p.getId())) //$JR_EXPR_ID=9$ ^ 2. Syntax error on token "-", -- expected .filter(p -> !p.isIsComplete()).filter(p -> p.isStatus()) //$JR_EXPR_ID=9$ ^ 3. Syntax error on token "-", -- expected .filter(p -> !p.isIsComplete()).filter(p -> p.isStatus()) //$JR_EXPR_ID=9$ ^ 4. Syntax error on token "-", -- expected .filter(com.court.handler.FxUtilsHandler.distinctByKey(p -> p.getMemberLoanCode())) //$JR_EXPR_ID=9$ ^ 5. Syntax error on token "-", -- expected .sorted(java.util.Comparator.comparing(p -> p.getId())) //$JR_EXPR_ID=9$ ^ 6. Syntax error on token "-", -- expected .filter(p -> !p.isIsComplete()).filter(p -> p.isStatus()) //$JR_EXPR_ID=9$ ^ 7. Syntax error on token "-", -- expected .filter(p -> !p.isIsComplete()).filter(p -> p.isStatus()) //$JR_EXPR_ID=9$ ^ 8. Syntax error on token "-", -- expected .filter(com.court.handler.FxUtilsHandler.distinctByKey(p -> p.getMemberLoanCode())) //$JR_EXPR_ID=9$ ^ 9. Syntax error on token "-", -- expected .sorted(java.util.Comparator.comparing(p -> p.getId())) //$JR_EXPR_ID=9$ ^ 10. Syntax error on token "-", -- expected .filter(p -> !p.isIsComplete()).filter(p -> p.isStatus()) //$JR_EXPR_ID=9$ ^ 11. Syntax error on token "-", -- expected .filter(p -> !p.isIsComplete()).filter(p -> p.isStatus()) //$JR_EXPR_ID=9$ ^ 12. Syntax error on token "-", -- expected .filter(com.court.handler.FxUtilsHandler.distinctByKey(p -> p.getMemberLoanCode())) //$JR_EXPR_ID=9$ ^ 12 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:512) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) 之类的主题翻译成人类可以阅读的单词?

enter image description here

更详细地说,我如何才能获得" www.freebase.com/m/0cz9079"的确切含义?

1 个答案:

答案 0 :(得分:1)

在Freebase-speak中rdfs:label的道德等价物是/ type / object / name。它不会给你"确切含义"但至少它的名字。

如果您想要更全面的特定对象/主题视图,您可能希望对其名称(各种语言),类型和属性进行整体视图。

BTW,我对Freebase数据转储非常熟悉,并且不认识freebase-FB2M.txt,所以我怀疑这是由第三方而不是Freebase团队制作的。