HyperGraphQL在查询我的SPARQL endoint时不返回值

HyperGraphQL在查询我的SPARQL endoint时不返回值,graphql,log4j,sparql,ontology,Graphql,Log4j,Sparql,Ontology,我已使用d2rq详细信息在我的计算机上设置了SPARQL端点。这可以在myhttp://localhost:2020/sparqlendpoint我已测试并返回数据。 我现在创建了以下两个配置文件,如HyperGraphQL文档中所述,如下所示: 1.chinook.json { "name": "chinook-hgql", "schema": "chinook.graphql", "server": { "port": 8889, "g

我已使用
d2rq
详细信息在我的计算机上设置了SPARQL端点。这可以在my
http://localhost:2020/sparql
endpoint我已测试并返回数据。

我现在创建了以下两个配置文件,如
HyperGraphQL
文档中所述,如下所示:

1.chinook.json

{
    "name": "chinook-hgql",
    "schema": "chinook.graphql",
    "server": {
        "port": 8889,
        "graphql": "/graphql",
        "graphiql": "/graphiql"
    },
    "services": [
        {
            "id": "chinook-sparql",
            "type": "SPARQLEndpointService",
            "url": "http://localhost:2020/sparql",
            "graph": "",
            "user": "",
            "password": ""
        }
    ]
}
2.chinook.graphql

type __Context {
    Album: _@href(iri: "http://localhost:2020/ALBUMS")
    label:   _@href(iri: "http://www.w3.org/2000/01/rdf-schema#label")
    comment: _@href(iri: "http://www.w3.org/2000/01/rdf-schema#comment")
    albumId: _@href(iri: "http://localhost:2020/vocab/ALBUMS_ALBUMID")
    title: _@href(iri: "http://localhost:2020/vocab/ALBUMS_TITLE")
    artistId: _@href(iri: "http://localhost:2020/vocab/ARTISTS_ARTISTID")
}

type Album @service(id:"chinook-sparql") { 
  albumId: [String] @service(id:"chinook-sparql")
}
我正在使用以下命令启动服务:

java-jar hypergraphql-1.0.3-exe.jar--config/Kiran/Source/hypergraphql/chinook/chinook.json

现在,当我打开并提供以下查询时:

{
  Album_GET {
    albumId
  }
}
结果如下所示:

{
  "extensions": {},
  "data": {
    "@context": {
      "_type": "@type",
      "albumId": "http://localhost:2020/vocab/ALBUMS_ALBUMID",
      "_id": "@id",
      "Album_GET": "http://hypergraphql.org/query/Album_GET"
    },
    "Album_GET": []
  },
  "errors": []
}
有人能告诉我为什么它不返回数据吗

另外,我看到在
HyperGraphQL
控制台上没有日志记录来查看它在做什么或生成什么SPARQL查询,因为日志记录级别设置为警告,我想,由于我是Java新手,有人能告诉我如何将日志记录级别更改为在Log4j中调试吗。我看到它会在服务启动时打印:

log4j: reset attribute= "false".
log4j: Threshold ="null".
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [org.hypergraphql] additivity to [false].
log4j: Level value for org.hypergraphql is  [INFO].
log4j: org.hypergraphql level set to INFO
log4j: Class name: [org.apache.log4j.ConsoleAppender]
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n].
log4j: Adding appender named [console] to category [org.hypergraphql].
log4j: Level value for root is  [WARN].
log4j: root level set to WARN
log4j: Adding appender named [console] to category [root]. 
更新1: 我发现
iri
缺少
相册中命名空间的一部分:@href(iri:http://localhost:2020/vocab/ALBUMS“”
因此,查询变得一团糟

现在问题仍然存在,我如何改进log4j上的日志记录到调试级别,以便能够看到
HyperGraphQL