Question: Most used property to describe the International Homomonument The Hague

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?property) AS ?count) WHERE {
  wd:Q4143002 ?property ?value .
  FILTER(STRSTARTS(STR(?property) , "http://www.wikidata.org/prop/direct/"))
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

Which property is used most frequently to describe the International Homomonument The Hague in Wikidata?

Show me the most common direct property used to describe the International Homomonument The Hague, along with how many times it appears.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q4143002> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Wiktionary categories and their corresponding Wikidata items with labels in different languages

SELECT ?wiktionaryCategory ?wikidataItem ?label WHERE { ?wiktionaryCategory ( schema:isPartOf / wikibase:wikiGroup ) "wiktionary" . ?wiktionaryCategory schema:about ?wikidataItem . ?wikidataItem rdfs:label ?label . } LIMIT 1000

Which Wikidata items are linked to Wiktionary categories, and what are their labels in various languages?

Show me the Wiktionary category pages, the Wikidata items they point to, and the labels of those items in different languages.

SELECT * WHERE { BIND ( LANG ( ?var1Label ) AS ?var2 ). ?var3 ( <http://schema.org/isPartOf> / <http://wikiba.se/ontology#wikiGroup> ) "wiktionary". ?var3 <http://schema.org/about> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } LIMIT 1000


Question: What are the English names, native names, ISO codes, and Wikipedia links for all Wikipedia language editions?

SELECT DISTINCT ?edition ?language ?languageLabel ?autonym ?iso639_1 ?iso639_3 ?enWikipediaPage ?wikimediaCode WHERE { ?edition wdt:P31 wd:Q10876391 . ?edition wdt:P407 ?language . ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = "en") . OPTIONAL { ?language wdt:P1705 ?autonym . } OPTIONAL { ?language wdt:P218 ?iso639_1 . } OPTIONAL { ?language wdt:P220 ?iso639_3 . } OPTIONAL { ?enWikipediaPage schema:about ?language ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } ?edition wdt:P424 ?wikimediaCode . } ORDER BY ASC(?wikimediaCode)

Can you list all Wikipedia language editions with their English labels, native language names, ISO 639-1 and 639-3 codes, and corresponding English Wikipedia pages, sorted by Wikimedia code?

Show me the metadata for each Wikipedia language version, including its English name, autonym, ISO codes, and the link to its English Wikipedia article.

SELECT DISTINCT ?var1Label ?var2 ?var2Label ?var3 ?var4Label ?var5 ?var6 ?var7 ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10876391> . ?var1 <http://www.wikidata.org/prop/direct/P407> ?var2 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1705> ?var4Label . } ?var1 <http://www.wikidata.org/prop/direct/P424> ?var8 . OPTIONAL { ?var2 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . FILTER ( ( ( ?var3 != "ca" ) ) ) . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P218> ?var5 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P220> ?var6 . } OPTIONAL { ?var7 <http://schema.org/about> ?var2 . ?var7 <http://schema.org/inLanguage> "en". ?var7 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var8 )


Question: List Wikipedia language editions with their English names, native names, ISO 639-1 and 639-3 codes, and English Wikipedia articles.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?language ?languageLabel ?nativeLabel ?iso639_1 ?iso639_3 ?enWikipediaPage ?wikimediaCode WHERE {
  ?wikipediaEdition wdt:P31 wd:Q10876391 .
  ?wikipediaEdition wdt:P407 ?language .
  ?language rdfs:label ?languageLabel .
  FILTER ( LANG( ?languageLabel ) = "en" ) OPTIONAL {
    ?language wdt:P1705 ?nativeLabel .
  }
  OPTIONAL {
    ?language wdt:P218 ?iso639_1 .
  }
  OPTIONAL {
    ?language wdt:P220 ?iso639_3 .
  }
  ?enWikipediaPage schema:about ?language ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  ?wikipediaEdition wdt:P424 ?wikimediaCode .
}

What are the English names, native names, ISO codes, and corresponding English Wikipedia pages for all Wikipedia language editions?

Show me the details of all Wikipedia language editions, including the language’s English label, its name in its own script, its ISO 639-1 and 639-3 codes, the Wikimedia code, and the link to its English Wikipedia article.

SELECT DISTINCT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q10876391> . ?var7 <http://www.wikidata.org/prop/direct/P407> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1705> ?var2Label . } ?var7 <http://www.wikidata.org/prop/direct/P424> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P218> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P220> ?var4 . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> "en". ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,es". } }


Question: What entities are connected to Georg Cantor, and what are the types of relationships between them?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?personLabel ?property ?propertyLabel ?subject ?subjectLabel ?image WHERE {
  BIND( wd:Q76420 AS ?person ) .
  ?subject ?property ?person .
  BIND( IRI( REPLACE( STR( ?property ) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/" ) ) AS ?propertyItem ) .
  ?propertyItem rdfs:label ?propertyLabel .
  ?subject rdfs:label ?subjectLabel .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" ) .
  FILTER ( LANG( ?subjectLabel ) = "en" ) .
  FILTER ( LANG( ?personLabel ) = "en" ) .
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
}
LIMIT 100

Show all people, organizations, or concepts that have a relationship with Georg Cantor, including the English labels of those relationships and his image.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ?var5Label ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q76420> AS ?var1 ). ?var4 ?var2 ?var1 . ?var7 ?var8 ?var2 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . } } LIMIT 100


Question: What objects are made of wood, and what are their dimensions?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?itemLabel ?width ?length WHERE {
  ?item wdt:P186 wd:Q287 .
  OPTIONAL {
    ?item wdt:P2043 ?length .
  }
  OPTIONAL {
    ?item wdt:P2049 ?width .
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}

Can you list items made from wood along with their English names, widths, and lengths?

Which wooden items in Wikidata have recorded width or length measurements, and what are they called in English?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2043> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2049> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P186> <http://www.wikidata.org/entity/Q1158452> . }


Question: Most used property linking items to Category:Articles belonging to Project Tiger editathon 2018

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?item) AS ?count) WHERE {
  ?item ?prop wd:Q50827866 .
  ?property wikibase:directClaim ?prop .
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

What property is used most often to associate articles with the Project Tiger 2018 editathon category on Wikidata?

Show me the Wikidata property that connects the most items to the category "Articles belonging to Project Tiger editathon 2018".

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q50827866> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Wikimedia categories for pages with unknown template parameters and the templates causing them.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?entity ?entityLabel ?categoryLabel WHERE {
  ?entity wdt:P31 wd:Q30330522 .
  ?entity wdt:P4329 ?category .
  ?entity rdfs:label ?entityLabel .
  ?category rdfs:label ?categoryLabel .
  FILTER ( LANG( ?entityLabel ) = "en" ) FILTER ( LANG( ?categoryLabel ) = "en" )
}
LIMIT 100

Which templates or modules are causing unknown parameter errors in Wikimedia categories?

List all Wikimedia categories that track pages with unknown template parameters, along with the templates responsible for those errors.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q30330522> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ar,en". } ?var1 <http://www.wikidata.org/prop/direct/P4329> ?var2 . } LIMIT 100


Question: List all Wikipedia language editions that are about the Wikipedia entity.

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?wikipedia_page WHERE {
  ?wikipedia_page schema:about wd:Q52 .
  FILTER ( REGEX( STR( ?wikipedia_page ) , "wikipedia.org" ) )
}

What are the URLs of all language versions of Wikipedia?

Show me the web pages that describe Wikipedia on different language editions.

SELECT ?var1 WHERE { ?var1 <http://schema.org/about> <http://www.wikidata.org/entity/Q52> . FILTER ( ( REGEX ( STR ( ?var1 ) , "string1" ) ) ) . } ORDER BY DESC( ?var1 )


Question: What are all the broader categories that hand weaving belongs to, including indirect ones?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?ancestor WHERE {
  wd:Q47481513 wdt:P279 * ?ancestor .
}

What classes is hand weaving a subclass of, directly or indirectly?

Show me the full hierarchy of categories above hand weaving in the Wikidata classification system.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q47481513> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }


Question: What are all the broader categories (superclasses) that nitrile rubber belongs to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?superclass WHERE {
  wd:Q145246 wdt:P279 + ?superclass .
}

List all the classes that nitrile rubber is a subclass of, directly or indirectly.

How is nitrile rubber classified in the hierarchy of materials? Show all its parent categories.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q145246> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }


Question: Top countries by number of Wikimedia Commons creators with a creator template.

SELECT ?var1Label ( COUNT( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 wdt:P1472 [] . ?var2 wdt:P27 ?var1 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") } GROUP BY ?var1Label ORDER BY DESC(?var3) LIMIT 500

Which countries have the most people with a Commons Creator page on Wikimedia Commons, and how many are there per country?

Show me the top 500 countries by the number of individuals who have a Commons Creator page on Wikimedia Commons, along with their English labels and counts.

SELECT ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1472> [] . ?var2 <http://www.wikidata.org/prop/direct/P27> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } GROUP BY ?var1Label ORDER BY DESC( ?var3 ) LIMIT 500


Question: What are the subclasses of Wikimedia template?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?subclassLabel WHERE {
  ?subclass wdt:P279 wd:Q11266439 .
  ?subclass rdfs:label ?subclassLabel .
  FILTER ( LANG( ?subclassLabel ) = "en" )
}
LIMIT 100

What are the English-labeled types of templates that are subclasses of Wikimedia template on Wikidata?

List all the English names of template types that are subclasses of Wikimedia template.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q11266439> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,ar". ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } LIMIT 100


Question: What properties are used to describe Washington, D.C. in Spanish, and what are their labels and descriptions?

SELECT ?prop ?propLabel ?propDescription WHERE { ?item ?prop wd:Q61 . FILTER(STRSTARTS(STR(?prop), "http://www.wikidata.org/prop/direct/")) BIND(IRI(REPLACE(STR(?prop), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?propEntity) ?propEntity rdfs:label ?propLabel . ?propEntity schema:description ?propDescription . FILTER(LANG(?propLabel) = "es") FILTER(LANG(?propDescription) = "es") } LIMIT 100

Show me the Spanish labels and descriptions of all properties that link to Washington, D.C. in Wikidata.

Which properties have Spanish-language labels and descriptions and are used in statements about Washington, D.C.?

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q61> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "es" ) ) ) . } LIMIT 100


Question: What properties (excluding "instance of") link entities to the commune of France?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property WHERE {
  ?item ?statementProperty wd:Q484170 .
  ?property wikibase:statementProperty ?statementProperty .
  FILTER ( ?property != wd:P31 )
}

Which properties, other than "instance of", are used to connect other entities to a commune of France?

Show me all the direct properties in Wikidata that relate other items to the commune of France, but exclude the "instance of" property.

SELECT DISTINCT ?var1 WHERE { ?var2 ?var3 <http://www.wikidata.org/entity/Q484170> . ?var1 <http://wikiba.se/ontology#statementProperty> ?var3 . FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/P31> ) ) ) . }


Question: What is the most commonly used property to associate entities with countries in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
  ?item ?property ?country .
  ?country wdt:P31 wd:Q3624078 .
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

Which property links the most items to sovereign states?

Show the property that is used most frequently to indicate the country of an entity.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q21159275> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: How many statements and references do headgear items have on Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
SELECT ?item ?label(COUNT(?statement) AS ?totalStatements)(COUNT(?reference) AS ?referencedStatements) WHERE {
  ?item(wdt:P31 / wdt:P279 *) wd:Q14952 .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER(LANG(?label) = "en")
  }
  ?item ?p ?statement .
  FILTER(STRSTARTS(STR(?p) , "http://www.wikidata.org/prop/"))
  OPTIONAL {
    ?statement prov:wasDerivedFrom ?reference .
  }
}
GROUP BY ?item ?label

For each type of headgear, how many properties describe it, and how many of those properties are supported by sources?

List all headgear items with their English labels, along with the total number of statements about them and how many of those statements have references.

SELECT ?var1 ?var2Label ( COUNT ( DISTINCT ?var3Label ) AS ?var4 )( COUNT ( DISTINCT ?var5 ) AS ?var6 )( COUNT ( DISTINCT ?var7 ) AS ?var8 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q14952> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label ; ?var9 ?var5 . ?var5 <http://wikiba.se/ontology#rank> [] . OPTIONAL { BIND ( ?var5 AS ?var7 ). ?var5 <http://www.w3.org/ns/prov#wasDerivedFrom> [] . } } GROUP BY ?var1 ?var2Label


Question: Most frequently used property linking to the United Kingdom among the first 10,000 statements

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {
  {
    SELECT ?property WHERE {
      ?item ?statementProperty wd:Q145 .
      ?property wikibase:directClaim ?statementProperty .
      ?property rdf:type wikibase:Property .
    }
    LIMIT 10000
  }
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

Which property is used most often to connect items to the United Kingdom, considering only the first 10,000 such connections?

Show me the property that appears most frequently in the first 10,000 triples where the United Kingdom is the object.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q145> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Projects with images on Wikimedia Commons

SELECT ?project ?projectLabel ?image WHERE { ?project wdt:P31 wd:Q170584 . ?project wdt:P18 ?image . ?project rdfs:label ?projectLabel . FILTER(LANG(?projectLabel) = "en") }

What are the English-named projects that are instances of a project and have an associated image on Wikimedia Commons?

Show me the names and images of all projects listed on Wikidata.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q170584> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Most frequently used property as predicate when object is "has part" (P488)

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {
  ?subject ?predicate wd:P488 .
  ?property wikibase:directClaim ?predicate .
  ?property rdf:type wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

Which property is most often used to relate other properties to the property "has part" (P488)?

Show me the property that is most commonly used as a predicate in statements where the object is the property "has part" (P488).

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P488> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Wikidata entities without an image

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P31 ?type .
  FILTER NOT EXISTS {
    ?item wdt:P18 []
  }
  FILTER(STRSTARTS(STR(?item) , "http://www.wikidata.org/entity/Q"))
  OPTIONAL {
    ?item rdfs:label ?itemLabel
  }
}
LIMIT 200

Which entities on Wikidata do not have an associated image?

List all Wikidata items that don’t have a Commons image file linked to them.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . FILTER ( ( isBLANK ( ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs,en". } }


Question: What properties are most commonly used to link items to Argentoratum (ancient Strasbourg), excluding those used only once?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?item) AS ?count) WHERE {
  ?item ?property wd:Q2361353 .
}
GROUP BY ?property
HAVING(?count > 1)
ORDER BY DESC(?count)

Which Wikidata properties connect other entities to the archaeological site of Argentoratum, and how many times are they used?

Show me the properties that relate at least two items to Argentoratum, sorted by frequency.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q2361353> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What categories on Wikidata are defined by exactly one topic (excluding "noun")?

SELECT ?category ?categoryLabel ?topicLabel WHERE { { SELECT ?category ( COUNT( ?topic ) AS ?topicCount ) ( SAMPLE( ?topic ) AS ?sampledTopic ) WHERE { ?category wdt:P971 ?topic . FILTER ( ?topic != wd:Q1084 ) } GROUP BY ?category HAVING ( ?topicCount = 1 ) } ?category rdfs:label ?categoryLabel . ?sampledTopic rdfs:label ?topicLabel . FILTER ( LANG(?categoryLabel) = "en" ) FILTER ( LANG(?topicLabel) = "en" ) } LIMIT 5000

Show me categories that intersect with only one topic, and list both the category and the topic in English.

Which categories are associated with a single non-noun topic, and what are those topics?

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var4 )( SAMPLE ( ?var3 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> ?var3 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q1084> ) ) ) . } GROUP BY ?var1 HAVING ( ( ?var4 = "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 5000


Question: What are the mathematical formulas from the English Wikipedia that are stored in Wikidata, listed in alphabetical order by their topic?

SELECT ?item ?itemLabel ?formula WHERE { ?item p:P2534 ?stmt . ?stmt ps:P2534 ?formula ; prov:wasDerivedFrom ?ref . ?ref pr:P143 wd:Q328 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } ORDER BY ?itemLabel

Show me all defining equations from English Wikipedia, along with their names, as stored in Wikidata.

List the mathematical definitions imported from English Wikipedia and their corresponding formulas.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { BIND ( STRLEN ( ?var2 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/P2534> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P2534> ?var2 ; <http://www.w3.org/ns/prov#wasDerivedFrom> ?var5 . ?var5 <http://www.wikidata.org/prop/reference/P143> <http://www.wikidata.org/entity/Q328> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } } ORDER BY DESC( ?var3 )


Question: Wikimedia category for science fiction and its rank

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?category ?categoryLabel ?statement ?rank WHERE {
  ?category p:P301 ?statement .
  ?statement ps:P301 wd:Q24925 .
  OPTIONAL {
    ?statement wikibase:rank ?rank .
  }
  ?category rdfs:label ?categoryLabel .
  FILTER(LANG(?categoryLabel) = "en")
}
ORDER BY ?category

What Wikimedia category has science fiction as its main topic, and what is the rank of that association?

Show me the English-named Wikimedia category associated with science fiction and its statement rank.

SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q24925> . ?var1 <http://www.wikidata.org/prop/P301> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2


Question: What scientific concept has the formula E = mc² as its defining equation?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P2534 ?formula .
  FILTER ( CONTAINS( STR( ?formula ) , "E=mc^{2}" ) ) .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

Which physical law is represented by the mathematical expression E = mc²?

Tell me the name of the theory that uses E = mc² as its defining formula.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2534> "E = m c^2". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: German Wikipedia category pages linked to Wikidata items and their language code.

SELECT ?item ?language ?categoryName WHERE { ?categoryPage schema:isPartOf <https://de.wikipedia.org/> ; schema:about ?item ; schema:name ?categoryName . FILTER(STRSTARTS(STR(?categoryPage), "https://de.wikipedia.org/wiki/Kategorie:")) BIND("de" AS ?language) }

What Wikidata items are associated with category pages on the German Wikipedia, and what is the language code for those pages?

List all Wikidata items linked to category pages on the German Wikipedia, along with the category names and the language code "de".

SELECT ?var1 ( "Sdewiki" AS ?var2 ) ?var3 WHERE { ?var4 <http://schema.org/isPartOf> <https://de.wikipedia.org/> ; <http://schema.org/name> ?var3 ; <http://schema.org/about> ?var1 . FILTER ( ( STRSTARTS ( ?var3 , "Category:" ) ) ) . }


Question: What properties are commonly used with a ranking qualifier in Wikidata, and what other qualifiers appear on the same statements?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?statement ?propertyDescription(SAMPLE(?otherQualifier) AS ?sampleOtherQualifier) WHERE {
  {
    SELECT DISTINCT ?item ?statement ?propertyDescription WHERE {
      ?statement ?qualifierProp wd:P1352 .
      ?item ?statementProp ?statement .
      ?propertyDescription wikibase:statementProperty ?qualifierProp .
      ?propertyDescription wikibase:claim ?statementProp .
      FILTER(?propertyDescription != wd:P31)
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?otherQualifier ?value .
  }
}
GROUP BY ?item ?statement ?propertyDescription

For statements that include a ranking (P1352), which other qualifier properties are typically used alongside it?

Which Wikidata properties have statements with a ranking value, and what additional qualifiers are attached to those statements?

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P1352> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What properties are most commonly used to connect other items to the Palace of Caserta in Wikidata?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q327983 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

How many times are different properties used to relate items to the Royal Palace of Caserta, and which ones appear more than once?

Which Wikidata properties link the most objects to the Palace of Caserta, sorted by frequency?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q327983> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Most frequently used property to classify canals in Wikidata

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {
  ?item ?propertyStatement wd:Q12284 .
  ?property wikibase:directClaim ?propertyStatement .
  ?property rdf:type wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

What property is used most often to state that something is a canal?

Show me the property that is most commonly used to indicate that an entity is a canal.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q12284> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: What properties are most frequently used to associate entities with the metre in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
  ?item ?property wd:Q11573 .
}
GROUP BY ?property
HAVING ( ?count > 1 )
ORDER BY DESC ( ?count )

Which properties connect other items to the metre more than once, and how often do they appear?

Show me the properties that link other entities to the metre, sorted by how often they’re used, excluding single-use connections.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q11573> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What properties in Wikidata have the number 1 as their value?

SELECT DISTINCT ?prop WHERE { ?item ?prop wd:Q199 . }

Which properties are used to link items to the value 1 in Wikidata?

Can you list all the properties that are associated with the number one in Wikidata?

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/entity/Q6422240> ? <http://www.wikidata.org/entity/Q199> . ?var2 ?var1 ?var3 . <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://wikiba.se/ontology#directClaim> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are two rows of data where the first two columns are equal integers from 1 to 2, and the third column is always 1?

SELECT ?rank ?statementCount ?constant WHERE {
  VALUES ( ?rank ?statementCount ?constant ) {
    ( 1 1 1 ) ( 2 2 1 )
  }
}

Show a table with two entries: one with values (1,1,1) and another with (2,2,1).

Return a hardcoded result set with two rows: each row has the same value in the first two columns (1 and 2 respectively), and the third column is always 1.

SELECT ?var1 ?var2 ?var3 WHERE { VALUES ( ?var1 ?var2 ?var3 ) { ( "1"^^<http://www.w3.org/2001/XMLSchema#integer> "1"^^<http://www.w3.org/2001/XMLSchema#integer> "1" ) ( "2"^^<http://www.w3.org/2001/XMLSchema#integer> "2"^^<http://www.w3.org/2001/XMLSchema#integer> "1" ) } }


Question: Properties with statements about related properties and their qualifiers

SELECT ?property ?statement ?claimProperty (SAMPLE(?qualifierValue) AS ?sampleQualifier) WHERE { ?property ?p ?statement . ?statement wikibase:claim ?claimProperty . ?statement wikibase:statementProperty ?p . OPTIONAL { ?statement ?qualifierProperty ?qualifierValue . ?qualifierProperty wikibase:qualifier ?qualifierProperty . } FILTER (?claimProperty != wd:P31) } GROUP BY ?property ?statement ?claimProperty LIMIT 101

What properties have statements that link to other properties, and what qualifiers are attached to those statements?

List all properties that have statements describing other properties, along with one example of a qualifier used in those statements.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P3301> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What properties are used in statements that have a "connects with" qualifier, excluding "instance of"?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?item ?statement ?property ( SAMPLE( ?qualifier_property ) AS ?sample_qualifier ) WHERE {
  {
    SELECT DISTINCT ?item ?statement ?property WHERE {
      ?statement pq:P2789 ?value .
      ?item ?claim ?statement .
      ?property wikibase:claim ?claim .
      FILTER ( ?property != wd:P31 ) .
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifier_property ?qualifier_value .
  }
}
GROUP BY ?item ?statement ?property

Show me the main properties of statements that are qualified by "connects with" (P2789), along with one sample qualifier used on those statements.

Which properties are associated with statements referencing the "connects with" qualifier, and what other qualifiers are used on those statements?

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/P2789> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: Entities with Wu Chinese descriptions in Wikidata

SELECT DISTINCT ?item ?description WHERE { ?item schema:description ?description . FILTER (LANG(?description) = "wuu") } LIMIT 20

Which items in Wikidata have descriptions written in Wu Chinese?

Show me the entities and their Wu Chinese descriptions from Wikidata.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://schema.org/description> ?var1Label . FILTER ( ( ( LANG ( ?var2 ) = "wuu" ) ) ) . } LIMIT 20


Question: What properties are used to describe the Wikimedia category Q8356544?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property WHERE {
  wd:Q8356544 ?property ?value .
}
LIMIT 100

Which properties are associated with the category "Category:Charismatic and Pentecostal organizations"?

What metadata properties are used on the Wikimedia category Q8356544?

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 ?var3 <http://www.wikidata.org/entity/Q8356544> . ?var2 <http://wikiba.se/ontology#directClaim> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


Question: Which Wikimedia stub templates use the "category combines topics" or "populates category" properties to link to the stub category?

SELECT ?stubTemplate ?property
WHERE {
  ?stubTemplate ?property wd:Q24046192 .
  FILTER (?property IN (wdt:P971, wdt:P9926))
}

What items are linked to the Wikimedia stub category using the properties P971 or P9926?

List the stub templates that directly connect to the Wikimedia stub category via the "category combines topics" or "populates category" properties.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q24046192> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What are some things that are commonly missing from items, and what are their English descriptions?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?missingPart ?label ?desc WHERE {
  ?item wdt:P3113 ?missingPart .
  ?missingPart rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  .
  ?missingPart schema:description ?desc .
  FILTER(LANG(?desc) = "en")
}
LIMIT 100

List entities that are absent from other entities (via "does not have part") along with their English names and definitions.

Show me the English labels and descriptions of things that are typically not included in certain items.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P3113> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: What are some topics whose main category is not a disambiguation page?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?topic ?category WHERE {
  ?topic wdt:P910 ?category . MINUS {
    ?category wdt:P31 wd:Q4167410 .
  }
}
LIMIT 10

Show me Wikidata items that are linked to main categories excluding disambiguation categories.

List topics with their main categories, but exclude any that are disambiguation pages.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P910> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4167836> . } ?var2 <http://schema.org/dateModified> ?var3 . FILTER ( ( ( ( NOW ( ) - ?var3 ) > "0.1"^^<http://www.w3.org/2001/XMLSchema#decimal> ) ) ) . }


Question: Chinese-labeled entities that are parts of classes in Wikidata

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?partClass ?label WHERE {
  ?subject wdt:P2670 ?partClass .
  ?partClass rdfs:label ?label .
  FILTER ( LANG( ?label ) = "zh" )
}
LIMIT 100

What are the Chinese names of entities that are classified as parts of other entities in Wikidata?

List the Chinese labels of all entities that are used as 'parts of the class' in Wikidata.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P2670> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "zh" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "zh" ) ) ) . } LIMIT 100


Question: What property is most commonly used to link other entities to Albert Einstein?

SELECT ?property (COUNT(?property) AS ?count)
WHERE {
  ?item ?directClaim wd:Q937 .
  FILTER(STRSTARTS(STR(?directClaim), "http://www.wikidata.org/prop/direct/"))
  BIND(IRI(REPLACE(STR(?directClaim), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?property)
  ?property a wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

Which Wikidata property connects the most items to Albert Einstein?

Among all properties pointing to Albert Einstein, which one is used the most frequently?

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q7117834> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: French labels and descriptions of properties that link entities to humans in Wikidata.

SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?directProp wd:Q5 . BIND(IRI(REPLACE(STR(?directProp), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?property) . ?property a wikibase:Property . ?property rdfs:label ?propertyLabel . ?property schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = "fr") . FILTER(LANG(?propertyDescription) = "fr") } LIMIT 100

Which properties in Wikidata, when used to classify something as a human, have French labels and descriptions?

Show me the French labels and descriptions of all properties that are used to indicate that an item is a human.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <https://www.wikidata.org/wiki/Q5> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "fr" ) ) ) . } LIMIT 100


Question: List up to 5,000 distinct Wikimedia Commons categories from Wikidata.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?commonsCategory WHERE {
  ?item wdt:P373 ?commonsCategory .
}
LIMIT 5000

What are the names of Wikimedia Commons categories linked to Wikidata items?

Can you retrieve up to 5,000 unique names of Wikimedia Commons categories (without the "Category:" prefix) associated with items in Wikidata?

SELECT DISTINCT ?var1 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P373> ?var1 . } } LIMIT 5000


Question: What items are associated with the Wikimedia Commons category 'Electronic filters'?

SELECT ?item ?itemLabel WHERE { ?item wdt:P373 "Electronic filters" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Which Wikidata items have the Commons category 'Electronic filters'?

Show me the English labels of all Wikidata items linked to the 'Electronic filters' category on Wikimedia Commons.

SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P373> <http://www.wikidata.org/entity/Q327754> . } LIMIT 100


Question: What are some entities that have parts and what are their labels?

SELECT ?entity ?entityLabel WHERE { ?entity wdt:P527 ?part . ?entity rdfs:label ?entityLabel . } LIMIT 10

List the names of items that are composed of other parts.

Show the labels of things that have components or subparts.

CONSTRUCT { ?var1 <http://www.wikidata.org/prop/direct/1369> ?var1Label } WHERE { ?var1 <http://www.wikidata.org/prop/direct/p1369> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fa,en". } }


Question: What items are linked to the Armenian SSR via properties other than "instance of", and what qualifiers are used on those statements?

SELECT ?item ?statement ?property (SAMPLE(?qualifierProperty) AS ?sampleQualifier)
WHERE {
  {
    SELECT DISTINCT ?item ?statement ?property WHERE {
      ?statement ?statementProperty wd:Q132856 .
      ?item ?claimProperty ?statement .
      ?property wikibase:statementProperty ?statementProperty .
      ?property wikibase:claim ?claimProperty .
      FILTER(?property != wd:P31)
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifierProperty ?value .
    ?property wikibase:qualifier ?qualifierProperty .
  }
}
GROUP BY ?item ?statement ?property

Which entities have a connection to the Armenian Soviet Socialist Republic through a property other than "instance of", and what qualifiers are associated with those connections?

List all entities connected to the Armenian SSR using properties other than P31, along with one sample qualifier from each statement, if any.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q132856> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What are the Wikimedia meta-category criteria and their multilingual labels?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?criterion ?label WHERE {
  ?criterion wdt:P31 wd:Q24571886 ; rdfs:label ?label .
}

Which criteria are used to define Wikimedia categories, and how are they labeled in different languages?

List all the criteria used for automatically generating Wikipedia categories, along with their translations in various languages.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q24571886> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . }


Question: Properties linking items to Montesquieu with usage count greater than one, sorted by frequency.

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q15975 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which properties are used most frequently to connect other items to Montesquieu, and how many times are they used?

Show me all properties that relate other entities to Montesquieu, excluding those used only once, ordered by how often they appear.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q15975> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What properties connect other entities to Tivadar Márk, and how often are they used?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?entity) AS ?count) WHERE {
  ?entity ?property wd:Q1212323 .
}
GROUP BY ?property
HAVING(?count > 1)
ORDER BY DESC(?count)

Which properties are used by more than one entity to relate to Tivadar Márk, and what are their counts?

Show me the properties that link multiple entities to Tivadar Márk, sorted by how many times they appear.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1212323> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What Wikidata entities are associated with Stack Exchange tags, and what are their English labels and tag URLs?

SELECT ?item ?itemLabel ?tagUrl WHERE { ?item wdt:P1482 ?tagUrl . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Which topics or concepts on Wikidata have corresponding tags on Stack Exchange websites, and what are their names and tag links?

List all Wikidata items that have a Stack Exchange tag, along with their English names and the URLs of their respective tags on Stack Exchange sites.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1482> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: French labels and descriptions of properties related to "cast member" on Wikidata.

SELECT ?relatedProperty ?label ?description WHERE { ?relatedProperty wdt:P1659 wd:P161 . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = "fr") . FILTER (LANG(?description) = "fr") . }

What are the French-language labels and descriptions of properties that are related to the "cast member" property in Wikidata?

Show me the French labels and descriptions of all Wikidata properties that are linked as related to the "cast member" property (P161).

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P161> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "fr" ) ) ) . }


Question: Most common properties linking entities to Sciences Po

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q859363 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

What properties connect the most people or things to Sciences Po, and how many connections does each have?

Show me all properties that link more than one entity to Sciences Po, sorted by how often they’re used.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q859363> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What properties are associated with Michael McDowell on Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property WHERE {
  wd:Q276817 ?property ?value .
}
ORDER BY ?property

Which properties describe the American novelist and screenwriter Michael McDowell in Wikidata?

List all the properties that link to Michael McDowell (Q276817) in Wikidata, including identifiers and metadata.

SELECT DISTINCT ?var1 WHERE { <http://www.wikidata.org/entity/Q276817> ?var1 ?var2 . }


Question: What entities are labeled "outil" in French?

SELECT ?entity WHERE { ?entity rdfs:label "outil" @fr . }

Can you list all items and lexemes in Wikidata that have the French word "outil" as their label?

How do you find the French term "outil" in Wikidata’s data?

SELECT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "outil"@fr . }


Question: What property item is used to assign the INES property as a value in Wikidata statements?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?property(COUNT(?property) AS ?count) WHERE {
  ?item ?prop wd:P2127 .
  ?property wikibase:directClaim ?prop .
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

Which Wikidata property is linked to statements that have the International Nuclear Event Scale (P2127) as their value?

In Wikidata, which property is used as the main claim when a statement’s value is the INES property item?

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P2127> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Wikidata entities with equivalent classes in external ontologies

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?var1(SAMPLE(?label) AS ?var1Label) WHERE {
  ?var1 wdt:P1709 ?externalClass .
  ?var1 rdfs:label ?label .
}
GROUP BY ?var1
LIMIT 11

What are some Wikidata classes that are equivalent to classes in other ontologies, and what are their labels?

Show me up to 11 Wikidata entities that have equivalent classes in external systems, along with one of their labels.

SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1709> _:bnode . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the most common properties linking other items to Gian Lorenzo Bernini on Wikidata?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q160538 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which types of connections (e.g., creator, main subject) are most frequently used to relate artworks, articles, or other entities to the artist Gian Lorenzo Bernini?

Can you list the properties that connect more than one item to Gian Lorenzo Bernini, sorted by how often they’re used?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q160538> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What properties are used to connect other entities to Minoru Sano, and how often?

SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q459530 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which properties link more than one entity to the Japanese figure skater Minoru Sano, and how many entities are linked via each?

Show me the properties that relate other people to Minoru Sano, excluding those used only once, sorted by frequency — especially focusing on coaching relationships.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q459530> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Most frequently used property linking entities to Curaçao

SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?prop wd:Q25279 . ?property wikibase:directClaim ?prop . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1

Which property is most commonly used to indicate that an entity is associated with Curaçao?

Show me the property that connects the most items to Curaçao, along with how many times it’s used.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q25279> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: What images are used on Arabic Wikipedia pages, and which pages are they on?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?article ?image WHERE {
  ?item wdt:P18 ?image .
  ?article schema:about ?item .
  ?article schema:isPartOf <https://ar.wikipedia.org/> .
}
LIMIT 10

Can you list the Arabic Wikipedia articles along with their associated Wikimedia Commons images?

Which images from Commons are linked to articles on the Arabic Wikipedia through their Wikidata items?

SELECT ?var1 ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://schema.org/about> ?var3 . ?var1 <http://schema.org/isPartOf> <https://ar.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ar". } } LIMIT 10


Question: What are the Greek-language Wikidata items that have corresponding pages on the Greek Wikisource?

SELECT ?item ?label ?page WHERE { ?page schema:about ?item ; schema:isPartOf <https://el.wikisource.org/> . ?item rdfs:label ?label . FILTER(LANG(?label) = "el") } LIMIT 200

Show me the titles of Greek Wikisource articles and their corresponding Wikidata item labels in Greek.

Which works or topics in Greek are documented both on Wikidata and the Greek Wikisource?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://el.wikisource.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "el". } } LIMIT 200


Question: Czech labels of properties and their object values for Chagatai Khan, with counts

SELECT ?property ?propertyLabel (COUNT(?object) AS ?objectCount) (GROUP_CONCAT(?objectLabel; SEPARATOR=", ") AS ?objectLabels) WHERE { wd:Q487543 ?property ?object . ?object rdfs:label ?objectLabel . FILTER (LANG(?objectLabel) = "cs") . { SELECT ?property (SAMPLE(?pl) AS ?propertyLabel) WHERE { ?propertyStatement wikibase:directClaim ?property . ?propertyStatement rdfs:label ?pl . FILTER (LANG(?pl) = "cs") } GROUP BY ?property } } GROUP BY ?property ?propertyLabel

What are the Czech labels of properties used for Chagatai Khan, how many Czech-labeled objects do they connect to, and what are those objects?

Show me all properties of Chagatai Khan in Czech, including the number of Czech-labeled objects for each and their names.

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q487543> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "cs" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "cs" ) ) ) . } GROUP BY ?var1


Question: French Wikipedia pages linked to unclassified Wikidata items

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel WHERE {
  ?wikipedia_page schema:about ?item ; schema:inLanguage "fr" .
  FILTER NOT EXISTS {
    ?item wdt:P31 | wdt:P279 ?class .
  }
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER ( LANG( ?itemLabel ) = "fr" ) .
  }
}
LIMIT 100

Which Wikidata items have French Wikipedia pages but are not classified as instances or subclasses of any category?

Show me French-language labels of Wikidata items that appear on French Wikipedia but have no type (no instance of or subclass of) assigned.

SELECT ?var1 ?var1Label WHERE { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "fr". FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> | <http://www.wikidata.org/prop/direct/P279> ) ?var3 . } ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "fr" ) ) ) . } } LIMIT 100


Question: German Wikipedia page titles and corresponding Wikidata item labels in German.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?pageTitle ?label WHERE {
  [] schema:about ?item ; schema:isPartOf <https://de.wikipedia.org/> ; schema:name ?pageTitle .
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = "de")
}
LIMIT 1000

What are the German labels of Wikidata items linked to German Wikipedia pages, along with the page titles?

Show me the German Wikipedia page titles, the Wikidata items they refer to, and the German labels of those items.

SELECT ?var1 ?var2 ?var3 WHERE { [] <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://de.wikipedia.org/> ; <http://schema.org/name> ?var2 . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . } LIMIT 1000


Question: Uzbek Wikipedia articles with only one sitelink and their Wikidata items

SELECT ?item ?page_title WHERE { ?page schema:about ?item ; schema:isPartOf <https://uz.wikipedia.org/> ; schema:name ?page_title . { SELECT ?item WHERE { ?p schema:about ?item ; schema:isPartOf ?w . FILTER(STRSTARTS(STR(?w), "https://")) } GROUP BY ?item HAVING (COUNT(?p) = 1) } }

Which Uzbek Wikipedia pages are linked to Wikidata items that have no other Wikipedia language versions?

List the titles and Wikidata IDs of articles on the Uzbek Wikipedia that are not linked from any other language Wikipedia.

SELECT ?var1 ?var2 WHERE { ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://uz.wikipedia.org/> ; <http://schema.org/name> ?var2 . ?var1 <http://wikiba.se/ontology#sitelinks> "1"^^<http://www.w3.org/2001/XMLSchema#integer> . }


Question: List of writing systems used in Wikidata

SELECT DISTINCT ?writingSystemLabel WHERE { ?item wdt:P282 ?writingSystem . ?writingSystem rdfs:label ?writingSystemLabel . } LIMIT 10

What writing systems are used by languages or texts in Wikidata?

Show me the names of the writing systems recorded in Wikidata.

SELECT DISTINCT ?var1Label WHERE { [] <http://www.wikidata.org/prop/direct/P282> [ <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ] . } LIMIT 10


Question: Wikidata items linked to English Wiktionary pages that have no type (P31) and no description.

SELECT ?item WHERE { ?page schema:about ?item ; schema:isPartOf <https://en.wiktionary.org/> . FILTER NOT EXISTS { ?item wdt:P31 [] } FILTER NOT EXISTS { ?item schema:description ?description } }

Which Wikidata items correspond to English Wiktionary entries but are not classified with any type and lack a description?

Find orphaned Wiktionary entries on Wikidata that have no class assignment or description.

SELECT ?var1 WHERE { ?var2 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wiktionary.org/> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> [] . } OPTIONAL { ?var1 <http://schema.org/description> ?var3 . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,ro". } } GROUP BY ?var1


Question: What are the most common properties associated with Ervin Nagy in Wikidata, and how many times do they appear?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q1214130 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which entities are linked to the Hungarian actor Ervin Nagy, and through which properties, considering only properties used more than once?

Show me the properties that connect other items to Ervin Nagy, ordered by how frequently they are used, excluding those used only once.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1214130> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Computers in Wikidata whose English Wikipedia page titles differ from their Wikidata labels.

SELECT ?computer ?label ?wikipediaTitle ?wikipediaPage WHERE { ?computer wdt:P31 wd:Q68 . ?computer rdfs:label ?label . FILTER(LANG(?label) = "en") . ?wikipediaPage schema:about ?computer ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name ?wikipediaTitle . FILTER(?label != ?wikipediaTitle) . }

Which computers have English Wikipedia page titles that are different from their Wikidata labels?

Show me computers where the Wikipedia page title includes additional context (like "computer") not present in the Wikidata label.

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q68> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> ; <http://schema.org/name> ?var3 . FILTER ( ( ( ?var2Label != ?var3 ) ) ) . }


Question: What properties are used to link other items to Virginia Thompson more than once?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q2527804 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

How many web pages or media items are about Virginia Thompson, and which property connects them to her?

Show me the properties that connect other resources to Virginia Thompson (Q2527804) more than once, sorted by how often they’re used.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q2527804> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Subclasses of hypothetical entity with labels and images

SELECT ?subclass ?subclassLabel ?image WHERE { ?subclass wdt:P279 wd:Q18706315 . OPTIONAL { ?subclass rdfs:label ?subclassLabel . } OPTIONAL { ?subclass wdt:P18 ?image . } } LIMIT 100

What are the subclasses of a hypothetical entity, and do they have any associated images?

List all subclasses of hypothetical entities along with their labels and any available images from Wikimedia Commons.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q24199478> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: What are the most common ways entities are directly linked to Munich?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?subject ) AS ?count ) WHERE {
  ?subject ?property wd:Q1726 .
  FILTER ( STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/direct/" ) )
}
GROUP BY ?property
ORDER BY DESC ( ?count )

Which properties are most frequently used to connect people or places to Munich, and how many entities are linked via each?

Show me the top relationships that connect other entities to Munich, ordered by how many entities have each relationship.

SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q1726> . } GROUP BY ?var1 ?var2 ORDER BY ASC( ?var3 ) DESC( ?var3 )


Question: What languages use the same writing system as Turkish?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?language ?languageLabel WHERE {
  wd:Q256 wdt:P282 ?writingSystem .
  ?language wdt:P282 ?writingSystem .
  ?language wdt:P31 / wdt:P279 * wd:Q33742 .
  ?language rdfs:label ?languageLabel .
  FILTER ( LANG( ?languageLabel ) = 'en' )
}

Which languages are written using the Turkish alphabet?

Is Turkish the only language that uses the Turkish writing system?

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q43> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxVisited> "78"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P282> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P282> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "tr". } }


Question: What are the German-labeled properties related to "species kept" in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?relatedProperty ?label ?description WHERE {
  wd:P1990 wdt:P1659 ?relatedProperty .
  ?relatedProperty rdfs:label ?label .
  ?relatedProperty schema:description ?description .
  FILTER ( LANG( ?label ) = "de" ) FILTER ( LANG( ?description ) = "de" )
}

Which properties in German describe taxa found in protected areas or at specific locations, and are linked to the property for species kept at zoos?

Can you list the German descriptions and labels of properties that are considered related to the property "species kept"?

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1990> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "de" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . }


Question: Human languages with Sinhala and Dutch labels

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?language ?label_si ?label_nl WHERE {
  ?language wdt:P31 wd:Q34770 .
  ?language rdfs:label ?label_si .
  ?language rdfs:label ?label_nl .
  FILTER(LANG(?label_si) = "si")
  FILTER(LANG(?label_nl) = "nl")
}

Which human languages have both a Sinhala and a Dutch label?

Show me the list of human languages along with their Sinhala and Dutch names.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = "si" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "nl" ) ) ) . }


Question: List of all human languages in English.

SELECT ?language ?languageLabel WHERE { ?language wdt:P31 wd:Q34770 . ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = "en") }

What are all the human languages listed in Wikidata with their English names?

Show me the English names of all languages that are instances of human language.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . }


Question: What properties are most frequently used to classify entities as humans in Wikidata?

SELECT ?property (COUNT(*) AS ?count) WHERE { ?item ?property wd:Q5 . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) } GROUP BY ?property ORDER BY DESC(?count)

Which properties have the highest number of statements asserting that something is a human?

Show me the properties that are used to indicate an entity is a human, sorted by how often they are used.

SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var1 <http://wikiba.se/ontology#directClaim> ?var3 . [] ?var3 <http://www.wikidata.org/entity/Q5> . } GROUP BY ?var1 ORDER BY DESC( ?var2 )


Question: Languages and dialects that are instances of language, with their English labels.

SELECT ?language ?languageLabel WHERE { ?language wdt:P31 wd:Q315 . ?language rdfs:label ?languageLabel . FILTER(LANG(?languageLabel) = "en") }

What are the languages and dialects in Wikidata, and what are their English names?

List all languages and dialects along with their English labels from Wikidata.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q315> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: All properties and values for Thomas Klestil

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  wd:Q78490 ?property ?value .
}

What are all the properties and their values associated with Thomas Klestil?

Show me everything known about Thomas Klestil in Wikidata.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q78490> ?var2 ?var1 . }


Question: What are all the properties of Dennis Creevey in the Harry Potter universe, along with their labels, the number of values each has, and what those values are?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?property(SAMPLE(?propLabelTemp) AS ?propertyLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = ", ") AS ?valueLabels) WHERE {
  wd:Q18361000 ?property ?value .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?valueLabel) = "en")
  .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propLabelTemp .
  FILTER(LANG(?propLabelTemp) = "en")
}
GROUP BY ?property

Can you show me a summary of Dennis Creevey’s attributes in English, including the property name, how many values it has, and the list of those values?

For each property associated with Dennis Creevey, what is its English label, how many values does it have, and what are those values?

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q18361000> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } GROUP BY ?var1


Question: Most frequently used properties linking entities to Vienna, with counts.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel(COUNT(?item) AS ?count) WHERE {
  ?item ?prop wd:Q1741 .
  ?property wikibase:directClaim ?prop .
  ?property rdfs:label ?propertyLabel .
  FILTER(LANG(?propertyLabel) = "en")
}
GROUP BY ?property ?propertyLabel
HAVING(COUNT(?item) > 1)
ORDER BY DESC(?count)

Which properties are most commonly used to associate people or things with Vienna, and how many times are they used?

Show me the top properties connected to Vienna (Q1741), including their English labels and how many times each property links an entity to Vienna, sorted by frequency and only including properties used more than once.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1741> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } ORDER BY DESC( ?var3 )


Question: Subclasses of languoid in English

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?subclass ?label WHERE {
  VALUES(?parent) {(wd:Q17376908)
  }
  ?subclass wdt:P279 ?parent .
  ?subclass rdfs:label ?label .
  FILTER(LANG(?label) = 'en')
}

What are the direct subclasses of the linguistic category 'languoid'?

List all English-labeled direct subclasses of the term 'languoid' in Wikidata.

SELECT ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q17376908> ) ( <http://www.wikidata.org/entity/Q82799> ) ( <http://www.wikidata.org/entity/Q839666> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var2 . }


Question: What properties link buildings to the French architect Ali Tur, and how many times?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
  ?item ?property wd:Q2836356 .
  FILTER ( STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/direct/" ) || STRSTARTS( STR( ?property ) , "http://schema.org/about" ) )
}
GROUP BY ?property
HAVING ( ?count > 1 )
ORDER BY DESC ( ?count )

How many structures are designed by Ali Tur, and what other properties connect items to him?

Show me the properties that connect items to Ali Tur (wd:Q2836356) with more than one occurrence, excluding internal Wikidata statement properties.

SELECT ?var1 ?var2 ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 ?var1 <http://www.wikidata.org/entity/Q2836356> . } GROUP BY ?var1 ?var2 HAVING ( ( ?var4 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var4 )


Question: Most used property linking entities to Toulouse

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?property) AS ?count) WHERE {
  ?item ?claim wd:Q7880 .
  ?property wikibase:directClaim ?claim .
  ?property a wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC(?count)
LIMIT 1

What property is most commonly used to associate items with Toulouse?

Show the property that links the most entities to Toulouse and the number of such links.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q7880> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: What properties are used with the entity "human" in Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?propertyItem ?propertyLabel ?propertyDescription WHERE {
  ?item ?property wd:Q5 .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  ?propertyItem schema:description ?propertyDescription .
  FILTER(LANG(?propertyLabel) = "en")
  FILTER(LANG(?propertyDescription) = "en")
}
LIMIT 100

Which properties in Wikidata have "human" as their object, and what are their labels and descriptions in English?

Show me the English labels and descriptions of all properties in Wikidata that are used to link other items to the entity "human".

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1774292> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: Languages and their linguistic typologies in English

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?language ?languageLabel ?typology ?typologyLabel WHERE {
  ?language wdt:P4132 ?typology .
  ?language rdfs:label ?languageLabel .
  ?typology rdfs:label ?typologyLabel .
  FILTER ( LANG( ?languageLabel ) = "en" ) FILTER ( LANG( ?typologyLabel ) = "en" )
}

What are the linguistic typologies of different languages, with English labels?

Show me a list of languages along with their linguistic classifications, using English names for both.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4132> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What properties and values describe the concept of "human" in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property ?value WHERE {
  wd:Q5 ?property ?value .
  FILTER(STRSTARTS(STR(?property) , "http://www.w3.org/2000/01/rdf-schema#") || STRSTARTS(STR(?property) , "http://schema.org/") || STRSTARTS(STR(?property) , "http://www.wikidata.org/prop/direct/"))
}
ORDER BY ?property

What kinds of information does Wikidata store about humans, such as descriptions and classifications?

Show me all the direct properties and their values associated with the entity "human" (Q5) in Wikidata, excluding internal statement identifiers.

SELECT DISTINCT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q5> ?var1 ?var2 . }


Question: What properties are most commonly used to link other entities to Gaby Clericetti, and how many times are they used?

SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q3094179 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which relationships connect other items to the French figure skater Gaby Clericetti, and which ones appear more than once?

How many times do properties like "child" and "schema:about" link to Gaby Clericetti in Wikidata?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3094179> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Properties and values of the human entity in Wikidata.

SELECT ?property ?value WHERE { wd:Q5 ?property ?value . } LIMIT 10

What properties and values are linked to the concept of "human" in Wikidata?

Show me the properties and their values for the entity representing "human" on Wikidata.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q01> ?var1 ?var2 . } LIMIT 10


Question: Properties linked to Honorata Górna more than once

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?item) AS ?count) WHERE {
  ?item ?property wd:Q11148446 .
}
GROUP BY ?property
HAVING(?count > 1)
ORDER BY DESC(?count)

How many times is the schema:about property used to refer to Honorata Górna, and are there any other properties used more than once?

Show me all properties that are used to link to the Polish ice dancer Honorata Górna more than once, along with their usage counts.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q11148446> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What properties are used to link works or statements to the Polish poet Antoni Kucharczyk, and how frequently?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?entity) AS ?count) WHERE {
  ?entity ?property wd:Q4776173 .
}
GROUP BY ?property
HAVING(?count > 1)
ORDER BY DESC(?count)

Which properties connect to Antoni Kucharczyk in more than one instance, and how many connections does each have?

List the most common relationships associated with Antoni Kucharczyk in Wikidata, ordered by how often they appear.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4776173> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What are the properties and their values for the comic book series "Ultimate Fantastic Four", including how many values each property has and their English labels?

SELECT ?property (SAMPLE(?propItemLabel) AS ?propertyLabel) (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=", ") AS ?valueLabels)
WHERE {
  wd:Q2292780 ?property ?value .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?valueLabel) = "en") .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propItemLabel .
  FILTER(LANG(?propItemLabel) = "en") .
}
GROUP BY ?property

For Ultimate Fantastic Four, list each property (like creator or genre), its English name, the number of values it has, and the names of those values in English.

Show me a summary of Ultimate Fantastic Four’s metadata: for each property, give its label, how many times it’s used, and the list of associated English labels of its values.

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2292780> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } GROUP BY ?var1


Question: What property is used to link one property to another in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?property WHERE {
  ?item wdt:P1659 ?value .
}
LIMIT 1

Which property connects related properties in Wikidata?

What is the property that indicates a relationship between two properties?

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/P2501> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: What properties are used to connect other items to the Estonian lawyer Maire Arm more than once?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q16404156 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

How many times are other entities linked to Maire Arm via the same property, and which properties are used more than once?

Which relationships (properties) connect Maire Arm to other entities with a frequency higher than one?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q16404156> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Properties pointing to Ieva Gaile with more than one usage, sorted by frequency.

SELECT ?property (COUNT(?entity) AS ?count) WHERE { ?entity ?property wd:Q15622538 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which properties link other entities to the figure skater Ieva Gaile, and how often are they used?

Show me the properties that reference Ieva Gaile in Wikidata, along with their usage counts, but only include those used more than once, ordered from most to least frequent.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q15622538> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Properties linking Dolina Chochołowska to multiple items

SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q9208740 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") } ORDER BY DESC(?count)

Which properties are used to categorize Dolina Chochołowska in more than one context?

Show me the properties that connect Dolina Chochołowska to at least two other items, along with how many times each is used.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q9208740> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } ORDER BY DESC( ?var3 )


Question: Which property is most commonly used to link items to "planned creation"?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q11398090 . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1

What is the most frequently used property that has "planned creation" as its value?

Show me the property that connects the most entities to the concept of planned creation, along with how many times it’s used.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q11398090> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: Properties linking entities to Vilnius with usage count above 1, sorted by frequency.

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q216 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which properties are used to connect people or things to Vilnius, and how often are they used, excluding those used only once?

Show me all the properties that relate other entities to Vilnius, along with how many times each property is used, but only include properties used more than once, ordered from most to least frequent.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q216> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Properties most frequently linked to Kalvarija, Lithuania, used more than once.

SELECT ?property ?propertyLabel ?count WHERE { { SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?prop wd:Q1004298 . ?property wikibase:directClaim ?prop . } GROUP BY ?property HAVING (?count > 1) } ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") } ORDER BY DESC(?count)

Which properties are used to connect entities to the city of Kalvarija more than once, and how many times each?

Show me the properties that have been used to link items to Kalvarija (Lithuania) with a frequency higher than one, sorted by how often they appear, along with their English labels.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q1004298> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } ORDER BY DESC( ?var3 )


Question: What are the French labels and descriptions of the properties used to describe Michel Foucault in Wikidata?

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?prop ?propLabel ?propDescription WHERE {
  wd:Q44272 ?prop ?value .
  FILTER ( STRSTARTS( STR( ?prop ) , "http://www.wikidata.org/prop/direct/" ) ) .
  BIND( IRI( REPLACE( STR( ?prop ) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/" ) ) AS ?propItem ) .
  ?propItem rdfs:label ?propLabel .
  ?propItem schema:description ?propDescription .
  FILTER ( LANG( ?propLabel ) = "fr" ) .
  FILTER ( LANG( ?propDescription ) = "fr" )
}
LIMIT 100

Show me how Michel Foucault is described in Wikidata using French-language property names and definitions.

Which properties link to Michel Foucault, and what are their French translations and explanations?

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q44272> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "fr" ) ) ) . } LIMIT 100


Question: What properties are most frequently used to link entities to Łęczyca, Poland, with more than one occurrence?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?property ?propertyLabel ?count WHERE {
  {
    SELECT ?property ( COUNT( ?item ) AS ?count ) WHERE {
      ?item ?prop wd:Q325727 .
      ?property wikibase:directClaim ?prop .
    }
    GROUP BY ?property
    HAVING ( ?count > 1 )
  }
  ?property rdfs:label ?propertyLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" )
}
ORDER BY DESC ( ?count )

Which properties connect the most people or places to Łęczyca, and how many times are they used?

Show me the top properties that relate other items to Łęczyca, ordered by usage count, and include their English labels.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT ?var1 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q325727> . ?var1 <http://wikiba.se/ontology#directClaim> ?var5 . } GROUP BY ?var1 ?var1Label HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } ORDER BY DESC( ?var3 )


Question: What are the most common properties linking other entities to the city of Elbląg in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?entity ) AS ?count ) WHERE {
  ?entity ?property wd:Q104712 .
}
GROUP BY ?property
HAVING ( ?count > 1 )
ORDER BY DESC ( ?count )

Which properties connect the most people or things to Elbląg, and how many connections does each have?

Can you show me the properties used to associate entities with Elbląg, sorted by frequency, excluding properties used only once?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q104712> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Wikidata properties without an Interlingua alternative label

SELECT DISTINCT ?property WHERE { ?property rdf:type wikibase:Property . FILTER NOT EXISTS { ?property skos:altLabel ?altLabel . FILTER (LANG(?altLabel) = "ie") } } ORDER BY ?property

Which Wikidata properties do not have an alternative label in Interlingua?

List all Wikidata properties that are not labeled in Interlingua.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "ie" ) ) ) . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . } ORDER BY ASC( ?var2 )