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

nlg.templates.plead.cs.plead.cs-5d.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": "We",
        "verb": {
          "type": "verb_phrase",
          "head": "receive "
        },
        "object": {
          "type": "coordinated_phrase",
          "conjunction": "and",
          "coordinates": [
            {
              "type": "noun_phrase",
              "determiner": "a",
              "head": "credit report"
            },
            {
              "type": "noun_phrase",
              "head": "credit score"
            }
          ],
          "post-modifiers": [
            {
              "type": "preposition_phrase",
              "preposition": "from",
              "noun": "CRA"
            }
          ]
        },
        "complements": [
          {
            "type": "clause",
            "verb": {
              "type": "verb_phrase",
              "head": "calculated",
              "post-modifiers": [
                {
                  "type": "verb_phrase",
                  "head": "based",
                  "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"
                              }
                            }
                          },
                          {
                            "type": "preposition_phrase",
                            "preposition": "on",
                            "noun": {
                              "type": "noun_phrase",
                              "head": {
                                "type": "@funcall",
                                "@object": "record",
                                "@property": "pl:created_at",
                                "@function": "identity"
                              },
                              "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"
                          }
                        }
                      }
                    }
                  },
                  "features": {
                    "type": "features",
                    "tense": "past"
                  }
                }
              ]
            },
            "complementiser": "which",
            "features": {
              "type": "features",
              "tense": "past",
              "passive": "true",
              "number": "plural"
            }
          }
        ],
        "features": {
          "type": "features",
          "tense": "past"
        }
      }
    ],
    "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