Subobject identifiers (named vs. anonymous)

From semantic-mediawiki.org
< Category:Examples
ExamplesSubobject identifiers (named vs. anonymous)

An example to clarify output characteristics1 when using different identifier methods2 in subobjects.

Using an anonymous identifier[edit]

Help:Adding_subobjects#Anonymous_identifier

{{#subobject:
 |Term=SPARQL
 |Has keyword=SPARQL|+sep=,
 |Has abstract=SPARQL Protocol and RDF Query Language (SPARQL) defines a query language for RDF data, analogous to the Structured Query Language (SQL) for relational databases. A family of standards of the World Wide Web Consortium. See also SPARQL 1.1
 |Has source=https://www.w3.org/TR/ld-glossary/#sparql
 |@category=Glossary,W3 Glossary|+sep=,
}}


Using a dedicated named identifier[edit]

Help:Adding_subobjects#Named_identifier

{{#subobject:001
 |Term=SPARQL
 |Has keyword=SPARQL|+sep=,
 |Has abstract=SPARQL Protocol and RDF Query Language (SPARQL) defines a query language for RDF data, analogous to the Structured Query Language (SQL) for relational databases. A family of standards of the World Wide Web Consortium. See also SPARQL 1.1
 |Has source=https://www.w3.org/TR/ld-glossary/#sparql
 |@category=Glossary,W3 Glossary|+sep=,
}}


Standard table output[edit]

{{#ask: [[Category:W3 Glossary]]
 |?Term
 |?Has abstract
}}
 TermHas abstractA summary or condensed version of a piece of writing.
Subobject identifiers (named vs. anonymous)SPARQLSPARQL Protocol and RDF Query Language (SPARQL) defines a query language for RDF data, analogous to the Structured Query Language (SQL) for relational databases. A family of standards of the World Wide Web Consortium. See also SPARQL 1.1
Subobject identifiers (named vs. anonymous)#001SPARQLSPARQL Protocol and RDF Query Language (SPARQL) defines a query language for RDF data, analogous to the Structured Query Language (SQL) for relational databases. A family of standards of the World Wide Web Consortium. See also SPARQL 1.1

Template table output[edit]

Help:Use templates to create tabular output

{{#ask: [[Category:W3 Glossary]]
 |?Term
 |?Has abstract
 |template=Glossary.table.layout
 |introtemplate=Glossary.table.header
 |outrotemplate=Glossary.table.footer
 |format=template
 |link=none
}}
Term Abstract
SPARQL

SPARQL Protocol and RDF Query Language (SPARQL) defines a query language for RDF data, analogous to the Structured Query Language (SQL) for relational databases. A family of standards of the World Wide Web Consortium. See also SPARQL 1.1

SPARQL

SPARQL Protocol and RDF Query Language (SPARQL) defines a query language for RDF data, analogous to the Structured Query Language (SQL) for relational databases. A family of standards of the World Wide Web Consortium. See also SPARQL 1.1