Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOAN-147 #comment - Merged LoanParties and LoanGuaranties into LoanCore and MortgageLoans #924

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

ElisaKendall
Copy link
Contributor

Signed-off-by: Elisa Kendall ekendall@thematix.com

Description

With this resolution, we've eliminated duplicate terms in LoanParties and LoanGuaranties as well as in LoansAppraisal; merged relevant elements into either LoanCore or MortgageLoans; also further cleaned up LoanCore to eliminate contact details which are now available in FND.

Fixes: #923 / LOAN-147

Checklist:

  • I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
  • My contribution follows the principles of best practices for FIBO.
  • My changes have been reconciled with latest master and no merge conflicts remain.
  • This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
  • Hygiene tests have been applied by a PR with "(WIP)" in title.
  • The issue has been tested locally using a reasoner (for ontology changes).

…nGuaranties as well as in LoansAppraisal; merged relevant elements into either LoanCore or MortgageLoans; cleaned up LoanCore to eliminate contact details which are now available in FND

Signed-off-by: Elisa Kendall <ekendall@thematix.com>
@trypuz trypuz added LOAN Loans Domain consistency About overall consistency labels Mar 8, 2020
@trypuz trypuz added this to the 2020 Q1 FIBO Release milestone Mar 8, 2020
rivettp
rivettp previously approved these changes Mar 9, 2020
Copy link
Contributor

@rivettp rivettp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a few comments but most relate to the originals and I'd be OK with deferring them; though think we should take this opportunity of fixing the various classes and properties around MIG to avoid changing the URIs again soon after.

@@ -261,6 +253,14 @@
<skos:definition>loan or extension of credit in which the loan principal cannot be increased after funds are dispersed and the loan is partially repaid</skos:definition>
</owl:Class>

<owl:Class rdf:about="&fibo-loan-ln-ln;Comaker">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "co-maker" is a lot more prevalent. I'd make that the primary and comaker a synonym

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzled you omitted the hyphen from the URI - that's a legal character.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For naming conventions, we've been following the typical Semantic Web approach of not including any hyphens, underscores, etc. in names, but include proper punctuation in labels, aside from individuals.

LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/MortgageLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/SecuredLoans.rdf Outdated Show resolved Hide resolved
LOAN/LoanTypes/SecuredLoans.rdf Show resolved Hide resolved
…hings up a bit more

Signed-off-by: Elisa Kendall <ekendall@thematix.com>
@@ -633,14 +573,14 @@
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&fibo-loan-ln-ln;hasOriginatorCompany"/>
<owl:onProperty rdf:resource="&fibo-loan-ln-ln;hasOriginatingServiceProvider"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we were trying to avoid including the names of range classes in properties. Why not hasOriginator?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In mortgage lending, the originator often refers to the individual banker, so I did not want to change the meaning of what MU had - if you look at the ontology, he distinguished between originating company and person for that reason. The definitions need work, as do property names, and if we follow some of our other patterns, we could have 3 properties - hasOriginator, hasOriginatingServiceProvider, and hasOriginatingIndividual or something like that - which includes the license. The terminology here needs work, and should be moved to a US specific ontology, but we'll have to account for the fact that originator often refers to the licensed individual.

</rdf:Description>
<owl:Restriction>
<owl:onProperty rdf:resource="&lcc-lr;has"/>
<owl:onProperty rdf:resource="&lcc-lr;isIdentifiedBy"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too US-specific

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - for another pass.

<rdfs:label>phone number</rdfs:label>
<skos:definition>a virtual address for communication via phone</skos:definition>
<skos:editorialNote>Future consideration: move this property to Addresses ontology (fibo-fnd-plc-adr).</skos:editorialNote>
<fibo-fnd-utl-av:explanatoryNote>Similar to a PaymentSchedule except that the dates and amounts are actuals.</fibo-fnd-utl-av:explanatoryNote>
Copy link
Contributor

@rivettp rivettp Mar 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PaymentHistory should be dated. Especially with hasOutstandingAmount (which should be a property of the Loan not the History).
More practically we should be able easily to turn a Schedule into a History.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - for another issue

<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&fibo-loan-ln-ln;hasCreditLimit"/>
<owl:someValuesFrom rdf:resource="&fibo-fnd-acc-cur;MonetaryAmount"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:label>reverse mortgage loan contract</rdfs:label>
<rdfs:label>reverse mortgage</rdfs:label>
<skos:definition>a mortgage contract that pays out money to the borrower against a set principal limit that is based on the value of existing equity in the underlying collateral.</skos:definition>
<fibo-fnd-utl-av:explanatoryNote>A reverse mortgage and an open end loan both have a credit limit.</fibo-fnd-utl-av:explanatoryNote>
<fibo-fnd-utl-av:explanatoryNote>The interest is added to the principal balance.</fibo-fnd-utl-av:explanatoryNote>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note does not make much sense from a FIBO point of view.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok - we need to do several more passes on this in any case

Copy link
Contributor

@rivettp rivettp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments are minor.

</owl:intersectionOf>
</owl:Class>
</rdfs:range>
<skos:definition>relates something, typically a loan contract, to the service provider responsible for originated the loan</skos:definition>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"originated" should be "originating", but it's somewhat circular in leaving "originate" undefined.

<rdfs:label>has originator company</rdfs:label>
<rdfs:range rdf:resource="&fibo-fnd-org-org;Organization"/>
<skos:definition>relates something, typically a loan contract, to the company affilliated with the person originating the loan</skos:definition>
<owl:ObjectProperty rdf:about="&fibo-loan-ln-ln;hasOriginatingServiceProvider">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not include the range in the property name

<rdfs:subClassOf rdf:resource="&fibo-loan-ln-ln;MortgageLoanContract"/>
<rdfs:label xml:lang="en">investment home loan contract</rdfs:label>
<owl:disjointWith rdf:resource="&fibo-loan-typ-mtg;SecondHomeLoanContract"/>
<owl:disjointWith rdf:resource="&fibo-loan-typ-mtg;SecondHomeLoan"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The disjointness does not make sense when the definition includes "second property". Is it not possible for a property to be purchased both for vacation use and as an investment?

</owl:Restriction>
</rdfs:subClassOf>
<rdfs:label xml:lang="en">mortgage indemnity guarantee</rdfs:label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add abbreviation of MIG

@@ -195,61 +192,18 @@
</owl:Class>

<owl:Class rdf:about="&fibo-loan-typ-mtg;SecondHomeLoan">
<rdfs:subClassOf rdf:resource="&fibo-loan-typ-mtg;MortgageLoan"/>
<rdfs:subClassOf rdf:resource="&fibo-loan-ln-ln;Mortgage"/>
<rdfs:label xml:lang="en">second home loan</rdfs:label>
<skos:definition xml:lang="en">A loan which may be used for a vacation home or second home used for personal reasons.</skos:definition>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this relate to MortgageLoanPurpose?

@@ -68,17 +75,17 @@
</owl:Class>

<owl:Class rdf:about="&fibo-loan-typ-sec;GuaranteedLoan">
<rdfs:subClassOf rdf:resource="&fibo-loan-typ-sec;SecuredLoan"/>
<rdfs:subClassOf rdf:resource="&fibo-loan-ln-ln;SecuredLoan"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(thought I made this comment already with a reference)
I think this is wrong: secured and guaranteed are orthogonal.

@dallemang dallemang merged commit cb6549d into edmcouncil:master Mar 10, 2020
@ElisaKendall ElisaKendall deleted the LOAN-147 branch March 10, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consistency About overall consistency LOAN Loans Domain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge LoanParties with LoanCore
5 participants