MathModDB/Quantity: Difference between revisions
From MaRDI portal
| Line 29: | Line 29: | ||
?item rdfs:label ?Label . | ?item rdfs:label ?Label . | ||
FILTER(LANG(?Label) = "en") | 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 ?Quantity_Kinds)--> | <!-- BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Quantity:", STR(?qid), ">", STR(?Label), "</a>") AS ?Quantity_Kinds)--> | ||
BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Item:Q", STR(?qid), ">", STR(?Label), "</a>") AS ?Quantity_Kinds) | BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Item:Q", STR(?qid), ">", STR(?Label), "</a>") AS ?Quantity_Kinds) | ||
Revision as of 21:44, 22 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(STRAFTER(STR(?item), "entity/Q") AS ?qid)
BIND(CONCAT("<a href=https://portal.mardi4nfdi.de/wiki/Item:Q", STR(?qid), ">", STR(?Label), "</a>") AS ?Quantity_Kinds)
} | endpoint= https://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql | chart=bordercloud.visualization.DataTable | log=2 }}