MathModDB/Quantity: Difference between revisions

From MaRDI portal
Line 4: Line 4:
<!-- Q6534265 refers to MathModDB community -->
<!-- Q6534265 refers to MathModDB community -->
{{#sparql:  
{{#sparql:  
SELECT ?Quantities ?qid
SELECT ?Quantities
WHERE {
WHERE {
     ?item wdt:P31 wd:Q6534237;
     ?item wdt:P31 wd:Q6534237;
Line 12: Line 12:
  <!--    BIND(CONCAT("<a href=", STR(?item),  ">", STR(?Label) ,"</a>") as ?Quantities )-->
  <!--    BIND(CONCAT("<a href=", STR(?item),  ">", STR(?Label) ,"</a>") as ?Quantities )-->
     BIND(STRAFTER(STR(?item), "entity/") AS ?qid)
     BIND(STRAFTER(STR(?item), "entity/") AS ?qid)
     BIND(CONCAT("<a href=", "https://portal.mardi4nfdi.de/wiki/Item:", STR(?qid),"</a>") as ?Quantities )
     BIND(CONCAT("<a href=", "https://portal.mardi4nfdi.de/wiki/Item:", STR(?qid), ">", STR(?Label)"</a>") as ?Quantities )
}
}
| endpoint= https://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql
| endpoint= https://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql

Revision as of 16:39, 19 May 2025

List of quantity individuals

{{#sparql: SELECT ?Quantities WHERE {

   ?item wdt:P31 wd:Q6534237;
         wdt:P1495 wd:Q6534265 .
   ?item rdfs:label ?Label .
   FILTER(LANG(?Label) = "en")
    BIND(STRAFTER(STR(?item), "entity/") AS ?qid)
    BIND(CONCAT("<a href=", "https://portal.mardi4nfdi.de/wiki/Item:", STR(?qid), ">", STR(?Label)"</a>") as ?Quantities )

} | endpoint= https://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql | chart=bordercloud.visualization.DataTable | log=2 }}

List of quantity kind individuals

{{#sparql: SELECT ?Quantity_Kinds WHERE {

   ?item wdt:P31 wd:Q6534245;
         wdt:P1495 wd:Q6534265 .
   ?item rdfs:label ?Label .
   FILTER(LANG(?Label) = "en")
    BIND(CONCAT("<a href=", STR(?item),  ">", STR(?Label) ,"</a>") as ?Quantity_Kinds )

} | endpoint= https://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql | chart=bordercloud.visualization.DataTable | log=2 }}