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

nlg.templates.plead.cs.plead.cs-4a.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 gen a prov:WasGeneratedBy",
    " join decision.id = gen.entity",
    "from processing a prov:Activity",
    " join gen.activity = processing.id",
    "from usd a prov:Used",
    " join processing.id = usd.activity",
    "from application a prov:Entity",
    " join usd.entity = application.id",
    "from wat1 a prov:WasAttributedTo",
    " join application.id = wat1.entity",
    "from applicant a prov:Agent",
    " join wat1.agent = applicant.id",
    "where decision.id >= 'app:applications/437/decision'",
    "and decision[prov:type] >= 'pl:RejectionDecision'",
    "and application[prov:type] >= 'pl:Request'",
    "and applicant[prov:type] >= 'pl:DataSubject'"
  ],
  "sentence": {
    "type": "paragraph",
    "items": [
      {
        "type": "clause",
        "verb": "screen",
        "object": {
          "type": "noun_phrase",
          "determiner": "this",
          "head": "application"
        },
        "indirect_object": {
          "type": "clause",
          "subject": {
            "type": "noun_phrase",
            "determiner": "a",
            "head": "system",
            "pre-modifiers": [
              {
                "type": "adjective_phrase",
                "head": "automated"
              }
            ]
          },
          "verb": {
            "type": "verb_phrase",
            "head": "provide",
            "pre-modifiers": [
              {
                "type": "adjective_phrase",
                "head": "to"
              }
            ]
          },
          "object": {
            "type": "noun_phrase",
            "head": "you"
          },
          "complements": [
            {
              "type": "preposition_phrase",
              "preposition": "with",
              "noun": {
                "type": "noun_phrase",
                "determiner": "a",
                "head": "response",
                "pre-modifiers": [
                  {
                    "type": "adjective_phrase",
                    "head": "instant"
                  }
                ]
              }
            }
          ],
          "complementiser": "by",
          "features": {
            "type": "features",
            "tense": "present",
            "number": "plural"
          }
        },
        "post-modifiers": [
          {
            "type": "preposition_phrase",
            "preposition": "at",
            "noun": {
              "type": "noun_phrase",
              "head": {
                "type": "@funcall",
                "@object": "processing",
                "@field": "startTime",
                "@function": "timestring"
              },
              "features": {
                "markup_element": "span",
                "markup_attributes": {
                  "type": "@funcall",
                  "@object": "processing",
                  "@function": "markup-for-id",
                  "@field": "id",
                  "@arg1": "provelement"
                }
              }
            }
          }
        ],
        "features": {
          "type": "features",
          "tense": "past",
          "passive": "true"
        }
      },
      {
        "type": "clause",
        "verb": "base",
        "object": {
          "type": "noun_phrase",
          "determiner": "the",
          "head": "evaluation"
        },
        "indirect_object": {
          "type": "preposition_phrase",
          "preposition": "on",
          "noun": {
            "type": "noun_phrase",
            "determiner": "the",
            "head": "information",
            "modifiers": [
              {
                "type": "clause",
                "subject": "##borrower",
                "verb": "provided",
                "indirect_object": {
                  "type": "preposition_phrase",
                  "preposition": "by",
                  "noun": {
                    "type": "@funcall",
                    "@object": "application",
                    "@property": "prov:type",
                    "@function": "lookup-type",
                    "@arg1": "noun_phrase",
                    "@arg2": "cs",
                    "post-modifiers": [
                      {
                        "type": "adjective_phrase",
                        "head": {
                          "type": "@funcall",
                          "@object": "application",
                          "@field": "id",
                          "@function": "noun+localname",
                          "@arg1": ""
                        },
                        "features": {
                          "markup_element": "span",
                          "markup_attributes": {
                            "type": "@funcall",
                            "@object": "application",
                            "@function": "markup-for-id",
                            "@field": "id",
                            "@arg1": "provelement"
                          }
                        }
                      }
                    ],
                    "features": {
                      "head_markup_element": "span",
                      "head_markup_attributes": {
                        "type": "@funcall",
                        "@object": "application",
                        "@function": "markup-for-id",
                        "@field": "id",
                        "@arg1": "provelement"
                      }
                    }
                  }
                }
              }
            ]
          }
        },
        "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#"
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy