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

nlg.templates.plead.cs.plead.erasure.accept2a.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:AcceptanceDecision'",
		"  and request[prov:type]     >= 'pl:DataErasureRequest'"

	],



	"sentence": {
		"type": "clause",
		"subject": {
			"type": "noun_phrase",
			"determiner": "a",
			"head": {
				"type": "@funcall",
				"@object": "officer",
				"@field":  "id",
				"@function": "noun+localname",
				"@arg1":   "agent"
			},
			"complements": [
				{
					"type": "clause",
					"complementiser": "who",
					"verb": "decide to accept",
					"features": {
						"tense": "past"
					},
					"object": {
						"type": "noun_phrase",
						"determiner": "your",
						"head": "it",
						"features": {
							"pronominal": "true",
							"possessive": "false"
						}
					},

					"modifiers": [
						{
							"type": "preposition_phrase",
							"preposition": "on",
							"noun": {
								"type": "@funcall",
								"@object": "decision",
								"@property": "ln:created_at",
								"@optional": "true",
								"@function": "timestring"}
						},
						{
							"type": "preposition_phrase",
							"preposition": "based on",
							"noun": {
								"type": "noun_phrase",
								"specifier": "##datasubject-possessive",
								"post-modifiers": [
									{
										"type": "noun_phrase",
										"head": "["
									},
									{
										"type": "noun_phrase",
										"head": {
											"type": "@funcall",
											"@object": "request",
											"@field": "pl:request_reason",
											"@function": "identity"
										},
										"features": {
											"markup_element": "span",
											"markup_attributes": {
												"type": "@funcall",
												"@object": "request",
												"@function": "markup-for-id",
												"@field": "id",
												"@arg1": "provelement"
											}
										}
									},
									{
										"type": "noun_phrase",
										"head": "]"
									}
								],
								"head": "provided reason"
							}
						}
					]
				}
			]
		},
		"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",
		"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