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

nlg.templates.plead.cs.plead.cs-1d.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",
        "verb": "impact",
        "object": {
          "type": "noun_phrase",
          "head": "credit score",
          "specifier": "##borrower-possessive"
        },
        "indirect_object": {
          "type": "clause",
          "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"
                  }
                }
              }
            }
          },
          "complementiser": "by"
        },
        "features": {
          "type": "features",
          "tense": "past",
          "passive": "true"
        }
      }
    ],
    "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