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

nlg.templates.plead.cs.plead.cs-5b.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 provext:WasDerivedFromPlus",
    " join decision.id = der1.generatedEntity",
    "from prev_decision a prov:Entity",
    " join der1.usedEntity = prev_decision.id",
    "from der2 a prov:WasDerivedFrom",
    " join prev_decision.id = der2.generatedEntity",
    "from prev_application a prov:Entity",
    "join der2.usedEntity = prev_application.id",
    "where decision[prov:type] >= 'pl:Decision'",
    "and prev_decision[prov:type] >= 'pl:Decision'",
    "and prev_application[prov:type] >= 'pl:SubjectData'"
  ],
  "sentence": {
    "type": "paragraph",
    "items": [
      {
        "type": "coordinated_phrase",
        "conjunction": "and",
        "coordinates": [
          {
            "type": "clause",
            "subject": "you",
            "verb": {
              "type": "verb_phrase",
              "head": "had",
              "features": {
                "type": "features",
                "tense": "past"
              },
              "post-modifiers": [
                {
                  "type": "adjective_phrase",
                  "head": "previously"
                },
                {
                  "type": "adjective_phrase",
                  "head": "applied"
                }
              ]
            },
            "indirect_object": {
              "type": "preposition_phrase",
              "preposition": "for",
              "noun": {
                "type": "@funcall",
                "@object": "prev_application",
                "@property": "prov:type",
                "@function": "lookup-type",
                "@arg1": "noun_phrase",
                "@arg2": "cs",
                "post-modifiers": [
                  {
                    "type": "adjective_phrase",
                    "head": {
                      "type": "@funcall",
                      "@object": "prev_application",
                      "@field": "id",
                      "@function": "noun+localname",
                      "@arg1": ""
                    },
                    "features": {
                      "markup_element": "span",
                      "markup_attributes": {
                        "type": "@funcall",
                        "@object": "prev_application",
                        "@function": "markup-for-id",
                        "@field": "id",
                        "@arg1": "provelement"
                      }
                    }
                  }
                ],
                "features": {
                  "head_markup_element": "span",
                  "head_markup_attributes": {
                    "type": "@funcall",
                    "@object": "prev_application",
                    "@function": "markup-for-id",
                    "@field": "id",
                    "@arg1": "provelement"
                  }
                }
              }
            },
            "complements": [
              {
                "type": "clause",
                "complementiser": "which",
                "verb": "refused",
                "features": {
                  "tense": "past",
                  "passive": "true"
                },
                "post-modifiers": [
                  {
                    "type": "preposition_phrase",
                    "preposition": "by",
                    "noun": {
                      "type": "@funcall",
                      "@object": "prev_decision",
                      "@property": "prov:type",
                      "@function": "lookup-type",
                      "@arg1": "noun_phrase",
                      "@arg2": "cs",
                      "post-modifiers": [
                        {
                          "type": "adjective_phrase",
                          "head": {
                            "type": "@funcall",
                            "@object": "prev_decision",
                            "@field": "id",
                            "@function": "noun+localname",
                            "@arg1": ""
                          },
                          "features": {
                            "markup_element": "span",
                            "markup_attributes": {
                              "type": "@funcall",
                              "@object": "prev_decision",
                              "@function": "markup-for-id",
                              "@field": "id",
                              "@arg1": "provelement"
                            }
                          }
                        }
                      ],
                      "features": {
                        "head_markup_element": "span",
                        "head_markup_attributes": {
                          "type": "@funcall",
                          "@object": "prev_decision",
                          "@function": "markup-for-id",
                          "@field": "id",
                          "@arg1": "provelement"
                        }
                      }
                    }
                  },
                  {
                    "type": "preposition_phrase",
                    "preposition": "on",
                    "noun": {
                      "type": "noun_phrase",
                      "head": "ground",
                      "features": {
                        "type": "features",
                        "number": "plural"
                      }
                    }
                  },
                  {
                    "type": "preposition_phrase",
                    "preposition": "of",
                    "noun": {
                      "type": "@funcall",
                      "@object": "prev_decision",
                      "@property": "pl:reason",
                      "@function": "lookup-type",
                      "@arg1": "noun_phrase",
                      "features": {
                        "head_markup_element": "span",
                        "head_markup_attributes": {
                          "type": "@funcall",
                          "@object": "prev_decision",
                          "@function": "markup-for-id",
                          "@field": "id",
                          "@arg1": "provelement"
                        }
                      }
                    }
                  }
                ]
              }
            ]
          },
          {
            "type": "clause",
            "verb": "take",
            "features": {
              "type": "features",
              "tense": "present",
              "passive": "true",
              "perfect": "true"
            },
            "post-modifiers": [
              {
                "type": "preposition_phrase",
                "preposition": "into",
                "noun": "account"
              },
              {
                "type": "adjective_phrase",
                "head": "here"
              }
            ]
          }
        ]
      }
    ],
    "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