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

nlg.templates.plead.cs.plead.cs-5a.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 ",
    "select * from decision a prov:Entity",
    "from der1 a prov:WasDerivedFrom",
    "join decision.id = der1.generatedEntity",
    "from recommendation a prov:Entity",
    " join der1.usedEntity = recommendation.id",
    "from der2 a prov:WasDerivedFrom",
    " join recommendation.id = der2.generatedEntity",
    "from credit_history a prov:Entity",
    " join der2.usedEntity = credit_history.id",
    "from wat1 a prov:WasAttributedTo",
    " join credit_history.id = wat1.entity",
    "from cra a prov:Agent",
    " join wat1.agent = cra.id",
    "from der3 a prov:WasDerivedFrom",
    " join recommendation.id = der3.generatedEntity",
    "from application a prov:Entity",
    " join der3.usedEntity = application.id",
    "where decision[prov:type] >= 'pl:RejectionDecision'",
    "and recommendation[prov:type] >= 'pl:AutomatedRecommendation'",
    "and credit_history[prov:type] >= 'cs:CreditHistory'",
    "and cra[prov:type] >= 'cs:CreditReferencingAgency'",
    "and application[prov:type] >= 'pl:Request'"
  ],
  "sentence": {
    "type": "paragraph",
    "items": [
      {
        "type": "clause",
        "subject": {
          "type": "noun_phrase",
          "determiner": "this",
          "head": "decision"
        },
        "verb": "take",
        "object": {
          "type": "coordinated_phrase",
          "conjunction": "as well as",
          "coordinates": [
            {
              "type": "noun_phrase",
              "head": "information",
              "post-modifiers": [
                {
                  "type": "preposition_phrase",
                  "preposition": "on",
                  "noun": {
                    "type": "noun_phrase",
                    "head": "application",
                    "specifier": "##borrower-possessive"
                  }
                }
              ]
            },
            {
              "type": "noun_phrase",
              "head": "information",
              "post-modifiers": [
                {
                  "type": "clause",
                  "subject": "we",
                  "verb": "held",
                  "indirect_object": {
                    "type": "preposition_phrase",
                    "preposition": "about",
                    "noun": "you"
                  }
                }
              ]
            },
            {
              "type": "noun_phrase",
              "head": "information",
              "post-modifiers": [
                {
                  "type": "preposition_phrase",
                  "preposition": "about",
                  "noun": "you"
                },
                {
                  "type": "verb_phrase",
                  "head": "provided",
                  "features": {
                    "type": "features",
                    "tense": "past"
                  },
                  "post-modifiers": [
                    {
                      "type": "preposition_phrase",
                      "preposition": "by",
                      "noun": {
                        "type": "@funcall",
                        "@object": "cra",
                        "@property": "prov:type",
                        "@function": "lookup-type",
                        "@arg1": "noun_phrase",
                        "@arg2": "cs",
                        "post-modifiers": [
                          {
                            "type": "adjective_phrase",
                            "head": {
                              "type": "@funcall",
                              "@object": "cra",
                              "@field": "id",
                              "@function": "noun+localname",
                              "@arg1": ""
                            },
                            "features": {
                              "markup_element": "span",
                              "markup_attributes": {
                                "type": "@funcall",
                                "@object": "cra",
                                "@function": "markup-for-id",
                                "@field": "id",
                                "@arg1": "provelement"
                              }
                            }
                          }
                        ],
                        "features": {
                          "head_markup_element": "span",
                          "head_markup_attributes": {
                            "type": "@funcall",
                            "@object": "cra",
                            "@function": "markup-for-id",
                            "@field": "id",
                            "@arg1": "provelement"
                          }
                        }
                      }
                    }
                  ]
                }
              ]
            }
          ]
        },
        "indirect_object": {
          "type": "preposition_phrase",
          "preposition": "into",
          "noun": "account"
        },
        "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#"
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy