User:Pigsonthewing/2017-09

Wikidata basics edit

 

Tools edit

Parliament edit

Example queries edit

Briefing papers cited in Wikipedia edit

SPARQL edit

Basics edit

Examples edit

  • Example tab on the Query Service page

Visualisations edit

Mangled URLs in Firefox edit

Run the query in the Chrome browser to get the "fixed" version:

Display a query on a wiki page edit

Use {{SPARQL}}. For example,

{{SPARQL|query=SELECT ?item WHERE {
  ?item wdt:P31/wdt:P279* wd:Q33506 .
  ?item wdt:P2003 ?instagram . 
}
}}

renders as:

SELECT ?item WHERE {
  ?item wdt:P31/wdt:P279* wd:Q33506 .
  ?item wdt:P2003 ?instagram . 
}
Try it!

That's a prefix of {{SPARQL|query= and a closing pair of }}.

Embed edit

Add embed.html to give: