📚 Node [[values]] ☆
Agora nodes contain community contributions with titles or topics that match your search.
📜 pages/VALUES.md (contribution by @sparql) ☆ 📎
- A keyword for providing inline data, a list of values inside
{ } -
[[Example]]
id:: 61e6cd78-f627-493f-ae7c-04ccf880ad1a
-
#Wikidata #Query #II #OPTIONAL#title: Notable books on linked data, semantic technologies, and semantic knowledge graphs SELECT DISTINCT ?book ?title (GROUP_CONCAT (DISTINCT ?author; SEPARATOR = ", ") AS ?authors) ?pubDate { VALUES ?book {wd:Q17744504 wd:Q17744476 wd:Q61718117 wd:Q59784970 wd:Q17744339 wd:Q51601248 wd:Q17744488 wd:Q27942623 wd:Q108378522 wd:Q110549106 wd:Q109673922 wd:Q93431614} ?book wdt:P1476 ?title. OPTIONAL {?book (wdt:P50/rdfs:label)|(wdt:P98/rdfs:label)|wdt:P2093 ?author FILTER (LANG(?author)=""||LANG(?author)="en")} OPTIONAL {?book wdt:P577 ?pubDate} } GROUP BY ?book ?title ?pubDate
-
- Allows multiple variables
-
[[Syntax]]
-
#note: this is a snippet, not a valid query VALUES (?x ?y ?z) {(:URI1 "ex" 1) (:URI2 "wye" 2) (:URI3 "zed" UNDEF)}- The third list has no value for
?z, shown by the keywordUNDEF
- The third list has no value for
()can be omitted for single values as in the example above
-
📜 values.md (contribution by @agora@botsin.space) ☆ 📎
📜 values.md (contribution by @an_agora@twitter.com) ☆ 📎
✨ AI Synthesis Mistral Gemini ChatGPT Claude
Expanding this section will automatically generate an AI synthesis of the contributions in this node.