Examples
You can use the "http://www.semanlink.net/2001/00/semanlink-schema#tagText" "magic" property to search for a tag using a partial string (same behavior as the
"SEARCH TAG" form in the GUI)
Query:
Execute:
for DESCRIBE or CONSTRUCT queries only:
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
?tag sl:hasAncestor tag:linked_data.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
?tag skos:broader* tag:linked_data.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
DESCRIBE ?doc WHERE {
{?tag skos:prefLabel "RDF"@en} UNION {?tag skos:prefLabel "RDF"@fr} UNION {?tag skos:prefLabel "RDF"}
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
?tag sl:hasAncestor tag:linked_data.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
?tag skos:broader* tag:linked_data.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
?tag sl:hasAncestor tag:archeologie.
?tag sl:hasAncestor tag:afrique.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
?tag skos:broader* tag:archeologie.
?tag skos:broader* tag:afrique.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
?tag sl:hasAncestor tag:archeologie.
?tag2 sl:hasAncestor tag:afrique.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
?doc sl:tag ?tag2.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
?tag skos:broader* tag:archeologie.
?tag2 skos:broader* tag:afrique.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
?doc sl:tag ?tag2.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
?tag sl:tagText "link DAT".
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
tag:music_of_africa skos:narrower ?tag.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
tag:music_of_africa skos:narrowerTransitive ?tag.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
tag:music_of_africa skos:narrowerTransitive ?tag.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?tag WHERE {
?tag skos:broaderTransitive tag:archeologie.
?tag skos:broaderTransitive tag:afrique.
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
?tag skos:broaderTransitive tag:archeologie.
?tag2 skos:broaderTransitive tag:afrique.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag.
?doc sl:tag ?tag2.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
PREFIX tag: <http://www.semanlink.net/tag/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DESCRIBE ?doc WHERE {
?tagByText sl:tagText "archeo".
?tagByText2 sl:tagText "Africa".
?tag skos:broaderTransitive ?tagByText.
?tag2 skos:broaderTransitive ?tagByText2.
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:tag ?tag, ?tag2.
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
DESCRIBE ?doc WHERE {
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:arxiv_author ?author .
FILTER (
(regex(?author, "bengio", "i"))
|| (regex(?author, "cardinal", "i"))
)
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
DESCRIBE ?doc WHERE {
GRAPH <http://www.semanlink.net/docs/> {
<http://www.semanlink.net/doc/2020/04/2004_10151_experience_grounds> sl:arxiv_author ?a .
?doc sl:arxiv_author ?a .
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
DESCRIBE ?doc WHERE {
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:arxiv_author ?x .
FILTER regex(?x, "bengio", "i")
}
}
PREFIX dc: <http://purl.org/dc/elements/1.1/>
DESCRIBE ?doc WHERE {
GRAPH <http://www.semanlink.net/docs/> {
?doc dc:title ?x .
FILTER regex(?x, "Knowledge Distillation", "i")
}
}
DESCRIBE ?doc WHERE {
GRAPH <http://www.semanlink.net/docs/> {
?doc ?p ?x .
FILTER regex(?x, "\\QKnowledge Distillation for Dense Prediction\\E", "i")
}
}
PREFIX sl: <http://www.semanlink.net/2001/00/semanlink-schema#>
DESCRIBE ?doc WHERE {
GRAPH <http://www.semanlink.net/docs/> {
?doc sl:bookmarkOf <http://peterbloem.nl/blog/transformers>.
}
}
DESCRIBE <http://web.archive.org/web/20000531042005/http://www.hypersolutions.fr/M3/AfricanMuseums/AfricanMuseums.ssi>