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

nlg.templates.plead.cs.plead.rectification.reject.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 ln ",
		"prefix pl ",


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

		"from der1 a prov:WasDerivedFrom",
		" join reviewing.id=der1.activity",
		"from decision a prov:Entity",
		" join der1.generatedEntity=decision.id",
		"from request a prov:Entity",
		" join der1.usedEntity=request.id",


		"where officer[prov:type]     >= 'prov:Person'",
		"  and decision[prov:type]    >= 'pl:ReviewDecision'",
		"  and decision[prov:type]    >= 'pl:RejectionDecision'",
		"  and request[prov:type]     >= 'pl:DataRectificationRequest'"

	],



	"sentence":  {
		"type": "coordinated_phrase",
		"conjunction": "and",
		"coordinates": [
			{
				"type": "clause",
				"subject": {
					"type": "noun_phrase",
					"determiner": "a",
					"head": {
						"type": "@funcall",
						"@object": "officer",
						"@field": "id",
						"@function": "noun+localname",
						"@arg1": "agent"
					}
				},
				"object": {
					"type": "noun_phrase",
					"specifier": "##datasubject-possessive",
					"head": "erasure request",
					"post-modifiers": [
						{
							"type": "noun_phrase",
							"head": {
								"type": "@funcall",
								"@object": "request",
								"@field": "id",
								"@function": "noun+localname",
								"@arg1": ""
							}
						}
					]
				},
				"verb": "review",
				"modifiers": [
					{
						"type": "preposition_phrase",
						"preposition": "on",
						"noun": {
							"type": "@funcall",
							"@object": "decision",
							"@property": "ln:created_at",
							"@optional": "true",
							"@function": "timestring"
						}
					}
				],
				"features": {
					"tense": "past",
					"passive": "true"
				}
			},
			{
				"type": "clause",
				"verb": "reject",
				"modifiers": [
					{
						"type": "preposition_phrase",
						"preposition": "according to",
						"noun": {
							"type": "noun_phrase",
							"determiner": "the",
							"head": "principle",
							"post-modifiers": [
								{
									"type": "noun_phrase",
									"head": "["
								},
								{
									"type": "noun_phrase",
									"head": {
										"type": "@funcall",
										"@object": "decision",
										"@field": "ln:comment",
										"@function": "identity"
									},
									"features": {
										"markup_element": "span",
										"markup_attributes": {
											"type": "@funcall",
											"@object": "decision",
											"@function": "markup-for-id",
											"@field": "id",
											"@arg1": "provelement"
										}
									}
								},
								{
									"type": "noun_phrase",
									"head": "]"
								}
							]
						}
					}
				],
				"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