Test: Difference between revisions

From MaRDI portal
No edit summary
Tag: Manual revert
No edit summary
Line 5: Line 5:
<math type=pmml forcemathmode=mathml><mi>π<!-- p --></mi>          <mo>⁢<!-- &InvisibleTimes; --></mo>          <msup>            <mi>r</mi>            <mn>2</mn>          </msup></math>
<math type=pmml forcemathmode=mathml><mi>π<!-- p --></mi>          <mo>⁢<!-- &InvisibleTimes; --></mo>          <msup>            <mi>r</mi>            <mn>2</mn>          </msup></math>


<div class='no-pagination no-search'>
{{#sparql:
{{#sparql:
select
select
Line 28: Line 29:
| chart=bordercloud.visualization.DataTable
| chart=bordercloud.visualization.DataTable
}}
}}
</div>


{{#sparql:
{{#sparql:

Revision as of 14:07, 29 October 2024

Test

E=mc2

{{#sparql: SELECT ?taskLabel ?description WHERE {

 wd:Q3784 wdt:P847 ?task .
 ?task wdt:P3 wd:Q3843 .
 ?task rdfs:label ?taskLabel .
 ?task schema:description ?description .

} LIMIT 1 | templates=Test | endpoint=http://query.staging.mardi4nfdi.org/proxy/wdqs/bigdata/namespace/wdq/sparql | log=2 }}

{{#sparql: PREFIX : <https://mardi4nfdi.de/mathmoddb#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?answer ?label ?quote WHERE {

               ?answer a :MathematicalModel .
               OPTIONAL {?answer rdfs:label ?labelraw .
                                    FILTER (lang(?labelraw) = 'en')}
               BIND(COALESCE(?labelraw, "No Label Provided!") AS ?label)
               OPTIONAL {?answer rdfs:comment ?quoteraw.
                                   FILTER (lang(?quoteraw) = 'en')}
               BIND(COALESCE(?quoteraw, "No Description Provided!") AS ?quote)
              }

GROUP BY ?answer ?label ?quote LIMIT 5 | endpoint=https://sparql.mtsr2024.m1.mardi.ovh/mathalgodb/query | log=2 }}