Template:Workflow: Difference between revisions

From MaRDI portal
T4 reidelbach (talk | contribs)
No edit summary
T4 reidelbach (talk | contribs)
Line 46: Line 46:
PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#>
PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#>


SELECT ?InputLabel ?Type ?TaskLabel WHERE {
SELECT ?itemLabel ?Type ?taskLabel WHERE {
   wd:{{#invoke:Wd|label|raw|}} wdt:P557 ?item .
   wd:{{#invoke:Wd|label|raw|}} wdt:P557 ?item .
   ?item wdt:P31 wd:Q68663;
   ?item wdt:P31 wd:Q68663;
Line 52: Line 52:
         rdfs:label ?Label.
         rdfs:label ?Label.
   SERVICE <https://sparql.mtsr2024.m1.mardi.ovh/mathalgodb/query> {
   SERVICE <https://sparql.mtsr2024.m1.mardi.ovh/mathalgodb/query> {
         ?url mdb:appliedByTask ?Task.
         ?url mdb:appliedByTask ?task.
         ?Task rdfs:label ?TaskLabel.
         ?task rdfs:label ?taskLabel.
         ?Task mdb:containsInput ?Input.
            # For items connected via containsInput (independent)
         ?Input rdfs:label ?InputLabel.
    {
         ?Task mdb:containsOutput ?Output.
         ?task mdb:containsInput ?item .
        ?Output rdfs:label ?OutputLabel.
         ?item rdfs:label ?itemLabel .
        {
         BIND("independent" AS ?Type)
        # For items connected via containsInput
    }
         ?Task mdb:containsInput ?connectedItem .
    UNION
    # For items connected via containsOutput (dependent)
    {
         ?task mdb:containsOutput ?item .
        ?item rdfs:label ?itemLabel .
         BIND("dependent" AS ?Type)
         BIND("dependent" AS ?Type)
        }
    }
        UNION
}
        {
ORDER BY ?taskLabel ?itemLabel
        # For items connected via containsOutput
        ?Task mdb:containsOutput ?connectedItem .
        BIND("independent" AS ?Type)
        }
        }
}
}
| chart=bordercloud.visualization.DataTable
| chart=bordercloud.visualization.DataTable
}}
}}
</div>
</div>


== Process information ==
== Process information ==

Revision as of 18:29, 29 October 2024


Available identifiers

Problem statement

Object of research and objective

Involved disciplines

    Model

    Variables

    Process information

    Process steps

    Applied methods

    Software used

    Hardware

    Input data

    Output data