All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nlg.templates.plead.cs.plead.cs-2d.json Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
{
  "select": {
    "decision": {
      "@type": "prov:Entity"
    },
    "request": {
      "@type": "prov:Entity"
    },
    "officer": {
      "@type": "prov:Agent"
    },
    "reviewing": {
      "@type": "prov:Activity"
    },
    "assoc": {
      "@type": "prov:WasAssociatedWith"
    },
    "der1": {
      "@type": "prov:WasDerivedFrom"
    }
  },
  "query": [
    "prefix cs ",
    "prefix pl ",
    "prefix app ",
    "prefix csd ",
    "select * from decision a prov:Entity",
    "from der1 a provext:WasDerivedFromStar",
    "join decision.id = der1.generatedEntity",
    "from record a prov:Entity",
    "join der1.usedEntity = record.id",
    "where decision[prov:type] >= 'pl:Decision'",
    "and record[prov:type] >= 'cs:CreditRecord'",
    "group by decision aggregate record with Seq"
  ],
  "sentence": {
    "type": "paragraph",
    "items": [
      {
        "type": "clause",
        "subject": {
          "type": "noun_phrase",
          "head": "credit score",
          "specifier": "##borrower-possessive"
        },
        "verb": "indicate",
        "indirect_object": {
          "type": "preposition_phrase",
          "preposition": "the following",
          "noun": {
            "type": "noun_phrase",
            "head": "information",
            "pre-modifiers": [
              {
                "type": "noun_phrase",
                "head": "negative"
              }
            ]
          }
        },
        "features": {
          "type": "features",
          "tense": "present"
        }
      },
      {
        "type": "clause",
        "subject": "The",
        "object": {
          "type": "coordinated_phrase",
          "conjunction": "and",
          "@iterator": {
            "type": "@iterator",
            "@variable": "record",
            "@clause": "coordinates",
            "@element": {
              "type": "@funcall",
              "@object": "record",
              "@property": "prov:type",
              "@function": "lookup-type",
              "@arg1": "noun_phrase",
              "@arg2": "csd",
              "post-modifiers": [
                {
                  "type": "adjective_phrase",
                  "head": {
                    "type": "@funcall",
                    "@object": "record",
                    "@field": "id",
                    "@function": "noun+localname",
                    "@arg1": ""
                  },
                  "features": {
                    "markup_element": "span",
                    "markup_attributes": {
                      "type": "@funcall",
                      "@object": "record",
                      "@function": "markup-for-id",
                      "@field": "id",
                      "@arg1": "provelement"
                    }
                  }
                }
              ],
              "features": {
                "head_markup_element": "span",
                "head_markup_attributes": {
                  "type": "@funcall",
                  "@object": "record",
                  "@function": "markup-for-id",
                  "@field": "id",
                  "@arg1": "provelement"
                }
              }
            }
          }
        }
      }
    ],
    "properties": {}
  },
  "context": {
"ex": "http://example.org/#",
    "app": "https://explain.openprovenance.org/creditscoring/",
    "pl": "http://openprovenance.org/ns/plead#",
    "cs": "http://openprovenance.org/ns/creditscoring#",
    "csd" : "https://explain.openprovenance.org/creditscoring/ns#"
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy