All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
nlg.templates.loan.aggregate-count.json Maven / Gradle / Ivy
{
"select": {
"pipeline": {
"@type": "prov:Entity"
}
},
"query": [
"prefix ln \n",
"prefix sk \n",
"prefix ex \n",
"select * from pipeline a prov:Entity\n",
"from wdf a provext:WasDerivedFromStar\n",
" join pipeline.id = wdf.generatedEntity\n",
"from ancestor a prov:Entity\n",
" join wdf.usedEntity=ancestor.id\n",
"from wgb a prov:WasGeneratedBy\n",
" join ancestor.id=wgb.entity\n",
"from act a prov:Activity\n",
" join wgb.activity=act.id\n",
"where pipeline [prov:type] >= 'sk:pipeline.Pipeline'\n",
" and pipeline [prov:type] >= 'ln:ApprovedPipeline'\n",
" and ancestor[prov:type] >= 'ln:File'\n",
"group by pipeline aggregate ancestor,act with Seq"
],
"sentence": {
"type": "clause",
"subject": {
"type": "noun_phrase",
"head": {
"type": "@funcall",
"@object": "pipeline",
"@field": "id",
"@function": "noun+localname",
"@arg1": "pipeline"
}
},
"object": {
"type": "noun_phrase",
"head": "ancestor",
"pre-modifiers": [
{
"type": "adjective_phrase",
"head": {
"type": "@funcall",
"@aggregate": "ancestor",
"@function": "count"
}
}
],
"post-modifiers": [
{
"type": "coordinated_phrase",
"conjunction": "and",
"@iterator": {
"type": "@iterator",
"@variable": "ancestor",
"@element": {
"type": "@funcall",
"@object": "ancestor",
"@field": "id",
"@function": "identity"
}
}
}
],
"features": {
"number": {
"type": "@funcall",
"@aggregate": "ancestor",
"@function": "count+cardinality"
}
}
},
"verb": "have",
"features": {
"tense": "past",
"passive": "false"
}
},
"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."
}
}