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

nlg.templates.plead.plead.rectification.accept2b.json Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version

{

	"select": {
		"decision":       {"@type": "prov:Entity"},
		"application":    {"@type": "prov:Entity"},
		"officer":        {"@type": "prov:Agent"},
		"rectifying":     {"@type": "prov:Activity"},
		"assoc":          {"@type": "prov:WasAssociatedWith"},
		"wgb":            {"@type": "prov:WasGeneratedBy"},
		"wsb1":           {"@type": "prov:WasStartedBy"}},

	"query": [

		"prefix ln ",
		"prefix pl ",


		"select * from waw a prov:WasAssociatedWith",
		"from officer a prov:Agent",
		" join waw.agent=officer.id",
		"from rectifying a prov:Activity",
		" join waw.activity=rectifying.id",

		"from wsb1 a prov:WasStartedBy",
		" join rectifying.id=wsb1.activity",
		"from decision a prov:Entity",
		" join wsb1.trigger=decision.id",
		"from wgb a prov:WasGeneratedBy",
		" join rectifying.id=wgb.activity",
		"from application a prov:Entity",
		" join wgb.entity=application.id",

		"where officer[prov:type]     >= 'prov:Person'",
		"  and decision[prov:type]    >= 'pl:ReviewDecision'",
		"  and decision[prov:type]    >= 'pl:AcceptanceDecision'",
		"  and rectifying[prov:type]  >= 'pl:AmendingData'"

	],



	"sentence": {
		"type": "clause",

		"indirect_object": {
			"type": "preposition_phrase",
			"preposition": "on",
			"noun": {
				"type": "@funcall",
				"@object": "application",
				"@property": "ln:created_at",
				"@optional": "true",
				"@function": "timestring"}
		},
		"verb": "correct",

		"object":

		{
			"type": "@funcall",
			"@object": "application",
			"@property": "prov:type",
			"@function": "lookup-type",
			"@arg1": "noun_phrase",
			"@arg2": "ln",
			"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" : {"tense": "past", "passive":  "true"}


	},

	"context": {
		"ex": "http://example.org/#",
		"foaf": "http://xmlns.com/foaf/0.1/",
		"ln": "https://plead-project.org/ns/loan#",
		"pl": "https://plead-project.org/ns/plead#",
		"pd": "https://pandas.pydata.org/#"
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy