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

nlg.templates.loan.performance4.json Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
{
	"select": {"pipeline": {"@type": "prov:Entity"}},

	"query": [

		"prefix ln ",
		"prefix sk ",
		"prefix pl ",

		"select * from pipeline a prov:Entity",
		"from wdf a prov:WasDerivedFrom",
		" join pipeline.id=wdf.usedEntity",
		"from score a prov:Entity",
		" join wdf.generatedEntity=score.id",
		"from wgb a prov:WasGeneratedBy",
		" join score.id=wgb.entity",
		"from assessing a prov:Activity",
		" join wgb.activity=assessing.id",
		"from usd a prov:Used",
		" join assessing.id=usd.activity",
		"from waw a prov:WasAssociatedWith",
		" join assessing.id=waw.activity",
		"from agent a prov:Agent",
		" join waw.agent=agent.id",

		"where pipeline[prov:type] >= 'sk:pipeline.Pipeline'",
		"and      score[prov:type] >= 'pl:AccuracyScore'",
		"and  assessing[prov:type] >= 'pl:AssessingPerformance'",
		"and      agent[prov:type] >= 'prov:Person'",
		"and   pipeline.id=usd.entity"


	],

	"sentence": {
		"type": "coordinated_phrase",
		"conjunction": "and",
		"coordinates": [
			{
				"type": "clause",
				"subject": {
					"type": "@funcall",
					"@object": "agent",
					"@property":  "prov:type",
					"@function": "lookup-type",
					"@arg1": "noun_phrase",
					"@arg2": "ln",
					"post-modifiers": [
						{
							"type":"adjective_phrase",
							"head": {
								"type": "@funcall",
								"@object": "agent",
								"@field":  "id",
								"@function": "noun+localname",
								"@arg1": ""}}
					]},
				"verb": {
					"type": "@funcall",
					"@object": "assessing",
					"@property":  "prov:type",
					"@function": "lookup-type",
					"@arg1": "verb_phrase",
					"@arg2": "pl"},
				"object": {
					"type": "@funcall",
					"@object": "pipeline",
					"@property":  "prov:type",
					"@function": "lookup-type",
					"@arg1": "noun_phrase",
					"@arg2": "sk"},

				"features" : {"tense": "past", "passive": "true"}

			},
			{
				"type": "clause",
				"object": {
					"type": "noun_phrase",
					"determiner": "the",
					"head": "level of accuracy",
					"post-modifiers": [
						{
							"type":"preposition_phrase",
							"preposition": "of",
							"noun": {
								"type": "@funcall",
								"@object": "score",
								"@property":  "prov:value",
								"@function": "percentage"}}
					]},
				"verb": "has",

				"features" : {"tense": "present"}

			}]
	},

	"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/#",
		"py": "urn:python:var:",
		"sk": "https://scikit-learn.org/stable/modules/generated/sklearn."
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy