Difference between revisions of "Project:Adtech/Cleanup/Template"

From Wikibase Personal data
Jump to navigation Jump to search
(Created page with "{{{1}}}{{{1}}}")
 
Line 1: Line 1:
{{{1}}}{{{1}}}
+
{{SPARQL|label={{{basis_label}}} AND {{{extra_label}}}
 +
query=SELECT ?item ?itemLabel WHERE
 +
{
 +
  ?item {{{basis}}}.      # {{{basis_label}}}
 +
  ?item {{{extra}}}.    # {{{extra_label}}}
 +
 
 +
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
 +
}
 +
 
 +
{{SPARQL|label={{{basis_label}}} MINUS {{{extra_label}}}
 +
query=SELECT ?item ?itemLabel WHERE
 +
{
 +
  ?item {{{basis}}}.      # {{{basis_label}}}
 +
  MINUS {
 +
      ?item {{{extra}}}.    # {{{extra_label}}}
 +
  }.
 +
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
 +
}

Revision as of 20:24, 6 January 2020

{{SPARQL|label={{{basis_label}}} AND {{{extra_label}}} query=SELECT ?item ?itemLabel WHERE {

  ?item {{{basis}}}.      # {{{basis_label}}}
  ?item {{{extra}}}.    # {{{extra_label}}}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

}

{{SPARQL|label={{{basis_label}}} MINUS {{{extra_label}}} query=SELECT ?item ?itemLabel WHERE {

  ?item {{{basis}}}.      # {{{basis_label}}}
  MINUS {
      ?item {{{extra}}}.    # {{{extra_label}}}
  }.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

}