Test: Difference between revisions

From MaRDI portal
No edit summary
No edit summary
Line 6: Line 6:


{{#sparql:
{{#sparql:
SELECT ?a ?b ?c WHERE {
PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#>
  ?a wdt:P582 wd:Q3842 .
SELECT ?Name ?Unit ?Symbol ?Task (?Type AS ?Dependency_Type) WHERE {
  ?a wdt:P29 ?b .
  # Starting from the central item
  ?a wdt:P3 ?c.
  wd:Q810 wdt:P557 ?centralItem .
  ?centralItem wdt:P31 wd:Q68663;
                wdt:P188 ?url;
                rdfs:label ?Label.
 
  # Service query to get tasks and connect them to quantities
  SERVICE <https://sparql.mtsr2024.m1.mardi.ovh/mathalgodb/query> {
        ?url mdb:appliedByTask ?task .
        ?task rdfs:label ?Task .
       
        # Define type based on connection type (Input or Output)
        {
            ?task mdb:containsInput ?item .
            ?item rdfs:label ?Name .
            BIND("independent" AS ?Type)
        }
        UNION
        {
            ?task mdb:containsOutput ?item .
            ?item rdfs:label ?Name .
            BIND("dependent" AS ?Type)
        }
       
        # Filter results to only show defining statements that match the current quantity label
        OPTIONAL {
            ?task mdb:containsFormulation ?formulation .
            ?formulation mdb:inDefiningFormulation ?definingStatement .
 
            # Convert definingStatement to a plain string to strip off datatype markup
            BIND(STR(?definingStatement) AS ?plainStatement)
 
            # Clean up spaces around commas, making the format consistent
            BIND(REPLACE(?plainStatement, "\\s*,\\s*", ",") AS ?cleanedStatement)
 
            # Extract symbol and quantity label
            BIND(STRBEFORE(?cleanedStatement, ",") AS ?Symbolraw)
            BIND(STRAFTER(?cleanedStatement, ",") AS ?quantityLabel)
           
            BIND(REPLACE(?Symbolraw, "\\$", "") AS ?cleanSymbol)
            BIND(CONCAT("&lt;math&gt;", ?cleanSymbol, "&lt;/math&gt;") AS ?Symbol)
         
        }
        BIND(STR(?Name) AS ?plainItemLabel)
        FILTER(?quantityLabel = ?plainItemLabel)     
       
    }
    # Initialize the Unit variable as empty
    BIND("" AS ?Unit)
}
}
LIMIT 3
ORDER BY ?taskLabel ?itemLabel
| templates=Test
| chart=bordercloud.visualization.DataTable
| chart=bordercloud.visualization.DataTable
}}
}}

Revision as of 12:15, 31 October 2024

Test

E=mc2


taskLabel description
{{{task}}}, {{{input}}} How long does it take for a freely falling object to fall to the ground?
21:27:12 11/15/2024 -- Refresh -- Duration of query :0.064s -- CSV


answer label quote
https://mardi4nfdi.de/mathmoddb#BiBiReactionPingPongMechanismMichaelisMentenModelwithProduct1SS Bi Bi Reaction Ping Pong Mechanism Michaelis Menten Model with Product 1 (Steady State Assumption) Michaelis Menten Model for a Bi Bi reaction following Ping Pong Mechanism with Product 1 formulated via the steady state assumption.
https://mardi4nfdi.de/mathmoddb#UniUniReactionCompetitiveCompleteInhibitionDixonModelwithoutProductSteadyStateAssumption Uni Uni Reaction Competitive Complete Inhibition (Dixon Model without Product - Steady State Assumption) Dixon Model for an Uni Uni reaction without Product and competitive complete Inhibition via the steady state assumption.
https://mardi4nfdi.de/mathmoddb#UniUniReactionNonCompetitivePartialInhibitionMichaelisMentenModelwithoutProductSteadyStateAssumption Uni Uni Reaction Non-Competitive Partial Inhibition (Michaelis Menten Model without Product - Steady State Assumption) Michaelis Menten Model for an Uni Uni reaction without Product and non-competitive partial Inhibition via the steady state assumption.
https://mardi4nfdi.de/mathmoddb#ElectronShuttlingModel Electron Shuttling Model Quantum dynamical modeling of the electron to be shuttled, governed by the electric potential generated by the clavier (and other) gates in a Silicon QuBus device. Spin and valley states as well as the respective interactions are neglected. Moreover, the current model is limited to the coherent wave packet evolution and disregards the effects of noise and dissipation.
https://mardi4nfdi.de/mathmoddb#UniUniReactionNonCompetitiveCompleteInhibitionLineweaverBurkModelwithoutProductSteadyStateAssumption Uni Uni Reaction Non-Competitive Complete Inhibition (Lineweaver Burk Model without Product - Steady State Assumption) Lineweaver Burk Model for an Uni Uni reaction without Product and non-competitive complete Inhibition via the steady state assumption.
21:27:12 11/15/2024 -- Refresh -- Duration of query :0.318s -- CSV