MathModDB/Quantity: Difference between revisions
From MaRDI portal
| Line 11: | Line 11: | ||
FILTER(LANG(?Label) = "en") | FILTER(LANG(?Label) = "en") | ||
<!-- 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/Q") AS ?qid) | ||
BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Quantity:", STR(?qid), ">", STR(?Label), "</a>") AS ?Quantities) | BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Quantity:", STR(?qid), ">", STR(?Label), "</a>") AS ?Quantities) | ||
} | } | ||
Revision as of 16:44, 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/Q") AS ?qid)
BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Quantity:", 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 }}