Given a Wikipedia page like Wikipedia: Stack Overflow there are often Infoboxes (mostly on the right hand at the top of the page). Example screenshot:
DBPedia lists all these attributes as RDF triples. You can see the example at DBPedia: Stack Overflow. There you see the property
dbpprop:wikiPageUsesTemplate
with the valuedbpedia:Template:Infobox_website
which is interesting. I want to know which Wikipedia pages use this template. How can i do that and list all pages which use the Infobox_website template? Preferably with a SPARQL query but i am open to other easy solutions.Next thing is a list of all Infobox Templates. Wikipedia: Category Infobox Templates shows the hierarchy of the desired Wikipedia categories - that looks like what i am seeking. But i want all of these in a machine readable format, on one page. Maybe DBPedia is the right thing here too? At DBPedia: Category Infox Templates and DBPedia: INFOBOX i find very few information. But these are looking very promising. How can i use SPARQL to find all Infobox Types so that i can do step 1 repeatedly for each of them?
You can use this for testing the SPARQL queries: http://dbpedia.org/snorql/
Update 1
I seem to have solved problem number 1: SPARQL: list all pages with Infobox_website
Update 2
Also, this seems to be the query for problem number 2: SPARQL: list all Infoboxes