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

Variables in equation translation #138

Open
agabaldon opened this issue Mar 2, 2022 · 0 comments
Open

Variables in equation translation #138

agabaldon opened this issue Mar 2, 2022 · 0 comments

Comments

@agabaldon
Copy link
Collaborator

Consider the equation

External pressureEq(double t(temperature of a processing of a Part), double v(volume of the processing of the Part))
returns double (pressure of the processing of the Part) : "".

If we look at the translation in OWL, we find in argument patterns:

             <sadlimplicitmodel:TriplePattern>
              <sadlimplicitmodel:gpObject rdf:resource="http://sadl.org/propChains.sadl#pressureEq_v1"/>
              <sadlimplicitmodel:gpPredicate rdf:resource="http://sadl.org/propChains.sadl#processing"/>
              <sadlimplicitmodel:gpSubject rdf:resource="http://sadl.org/propChains.sadl#pressureEq_v0"/>
             </sadlimplicitmodel:TriplePattern>

              <sadlimplicitmodel:TriplePattern>
                <sadlimplicitmodel:gpObject rdf:resource="http://sadl.org/propChains.sadl#pressureEq_v2"/>
                <sadlimplicitmodel:gpPredicate rdf:resource="http://sadl.org/propChains.sadl#processing"/>
                <sadlimplicitmodel:gpSubject rdf:resource="http://sadl.org/propChains.sadl#pressureEq_v0"/>
              </sadlimplicitmodel:TriplePattern>

and in returnTypes patterns:

            <sadlimplicitmodel:TriplePattern>
              <sadlimplicitmodel:gpObject rdf:resource="http://sadl.org/propChains.sadl#pressureEq_v4"/>
              <sadlimplicitmodel:gpPredicate rdf:resource="http://sadl.org/propChains.sadl#processing"/>
              <sadlimplicitmodel:gpSubject>
                <sadlimplicitmodel:GPVariable rdf:about="http://sadl.org/propChains.sadl#pressureEq_v0"/>
              </sadlimplicitmodel:gpSubject>
            </sadlimplicitmodel:TriplePattern>

But the object variable should be the same instead of three different ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant