TGM v2 Test

This page shows the result of the sample cURL command.
When there is the placeholder expression, _sample_input_, in the cURL command, it will be replaced by the value of the field, Sample input.

Result

[
  {
    "query": "SELECT ?v2 WHERE { ?v2 ?v8 ?v7 ; ?v9 ?v5 . } ",
    "slots": [
      {
        "s": "v5",
        "p": "is",
        "o": "rdf:Class|rdf:Resource"
      },
      {
        "s": "v5",
        "p": "verbalization",
        "o": "Seoul"
      },
      {
        "s": "v8",
        "p": "is",
        "o": "<http://lodqa.org/vocabulary/sort_of>"
      },
      {
        "s": "v9",
        "p": "is",
        "o": "rdf:Property"
      },
      {
        "s": "v9",
        "p": "verbalization",
        "o": "flows"
      },
      {
        "s": "v7",
        "p": "is",
        "o": "rdf:Class"
      },
      {
        "s": "v7",
        "p": "verbalization",
        "o": "river"
      }
    ],
    "score": "1.0"
  }
]

Command

curl -H "Content-Type: application/json" -X POST -d '{
  "string": "Which river flows through Seoul?",
  "language": "en"
}' http://ws.okbqa.org:1515/templategeneration/rocknrole