Skip to content

concrete Entity should match non-Entity content text in implies test #90

@mscarey

Description

@mscarey

it should work like this:

> bob = Entity("Bob")
> specific_company = Entity("Enron", generic=False)
> a = Fact(Predicate("$person worked for $company"), terms = (bob, specific_company))
> b = Fact(Predicate("$person worked for Enron"), terms = (bob))
> a.means(b)
True
> a.implies(b)
True

Because the placeholder would be filled in with the same text from the template in b, and because that text comes from a non-generic Entity, it should be considered the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions