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

nlg.templates.plead.cs.plead.cs-6a.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",
    "",
    "where decision[prov:type] >= 'pl:Decision'",
    "and recommendation[prov:type] >= 'pl:AutomatedRecommendation'",
    "and credit_history[prov:type] >= 'cs:CreditHistory'",
    "and cra[prov:type] >= 'cs:CreditReferencingAgency'"
  ],
  "sentence": {
    "type": "paragraph",
    "items": [
      {
        "type": "clause",
        "verb": {
          "type": "verb_phrase",
          "head": "screen",
          "post-modifiers": [
            {
              "type": "preposition_phrase",
              "preposition": "by",
              "noun": {
                "type": "noun_phrase",
                "head": "automated system",
                "specifier": "##company-possessive"
              }
            }
          ]
        },
        "object": {
          "type": "noun_phrase",
          "head": "application",
          "specifier": "##borrower-possessive"
        },
        "indirect_object": {
          "type": "coordinated_phrase",
          "conjunction": "and",
          "coordinates": [
            {
              "type": "adjective_phrase",
              "head": "with",
              "post-modifiers": [
                {
                  "type": "noun_phrase",
                  "determiner": "the",
                  "head": "information",
                  "post-modifiers": [
                    {
                      "type": "clause",
                      "subject": "you",
                      "verb": "provided",
                      "features": {
                        "type": "features",
                        "tense": "past"
                      }
                    }
                  ]
                }
              ]
            },
            {
              "type": "noun_phrase",
              "head": "information",
              "post-modifiers": [
                {
                  "type": "clause",
                  "subject": "we",
                  "verb": "receive",
                  "complements": [
                    {
                      "type": "preposition_phrase",
                      "preposition": "from",
                      "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"
                          }
                        }
                      }
                    }
                  ],
                  "features": {
                    "type": "features",
                    "tense": "past"
                  }
                }
              ]
            }
          ]
        },
        "features": {
          "type": "features",
          "tense": "past",
          "passive": "true",
          "number": "singular"
        }
      }
    ],
    "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