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.relevancy2.json Maven / Gradle / Ivy
{
"select": {"decision": {"@type": "prov:Entity"}},
"query": [
"prefix ln ",
"select * from der1 a prov:WasDerivedFrom",
"from decision a prov:Entity",
" join der1.generatedEntity=decision.id",
"from application a prov:Entity",
" join der1.usedEntity=application.id",
"from reviewing a prov:Activity",
" join der1.activity=reviewing.id",
"from der4 a prov:WasDerivedFrom",
" join decision.id=der4.generatedEntity",
"from credit a prov:Entity",
" join der4.usedEntity=credit.id",
"from wat1 a prov:WasAttributedTo",
" join credit.id=wat1.entity",
"from creditAgency a prov:Agent",
" join wat1.agent = creditAgency.id",
"where decision[prov:type] >= 'ln:HumanDecision'",
" and application[prov:type] >= 'ln:LoanApplication'",
" and reviewing[prov:type] >= 'ln:LoanAssessment'",
" and creditAgency[prov:type] >= 'ln:CreditReferencingAgency'",
"group by application, decision, reviewing aggregate credit, creditAgency with Seq"
],
"sentence": {
"type": "clause",
"subject": {
"type": "noun_phrase",
"determiner": "the",
"features": {"number": "plural"},
"head": "source",
"pre-modifiers": [{
"type":"adjective_phrase",
"head":"external data"}]
},
"object": {
"type": "coordinated_phrase",
"conjunction": "and",
"@iterator": {
"type": "@iterator",
"@variable": "credit,creditAgency",
"@clause": "coordinates",
"@element": {
"type": "@funcall",
"@object": "credit",
"@property": "prov:type",
"@function": "lookup-type",
"@arg1": "noun_phrase",
"@arg2": "ln",
"post-modifiers":
[
{
"type":"noun_phrase",
"head": {
"type": "@funcall",
"@object": "credit",
"@field": "id",
"@function": "noun+localname",
"@arg1": ""
},
"features": {
"markup_element": "span",
"markup_attributes": {
"type": "@funcall",
"@object": "credit",
"@function": "markup-for-id",
"@field": "id",
"@arg1": "provelement"
}
}},
{
"type":"adjective_phrase",
"head":"provided",
"post-modifiers": [
{
"type":"preposition_phrase",
"preposition": "by",
"noun": {
"type": "@funcall",
"@object": "creditAgency",
"@property": "prov:type",
"@function": "lookup-type",
"@arg1": "noun_phrase",
"@arg2": "ln",
"determiner": "the"}},
{
"type":"noun_phrase",
"head": {
"type": "@funcall",
"@object": "creditAgency",
"@field": "id",
"@function": "noun+localname",
"@arg1": ""
},
"features": {
"markup_element": "span",
"markup_attributes": {
"type": "@funcall",
"@object": "creditAgency",
"@function": "markup-for-id",
"@field": "id",
"@arg1": "provelement"
}
}},
{
"type": "preposition_phrase",
"preposition": "at",
"noun": {
"type": "@funcall",
"@object": "credit",
"@property": "ln:created_at",
"@optional": "true",
"@function": "timestring"}}
]
}
]}}
},
"verb": "is",
"features" : {"tense": "past"}
},
"context": {
"ex": "http://example.org/#",
"foaf": "http://xmlns.com/foaf/0.1/",
"ln": "https://plead-project.org/ns/loan#",
"pd": "https://pandas.pydata.org/#"
}
}