Project:Zbmath id deduplication: Difference between revisions

From MaRDI portal
Created page with "sparql queries and script location"
 
No edit summary
 
Line 1: Line 1:
sparql queries and script location
== SPARQL queries ==
 
=== Find all items that have more than one zbmath de number ===
<syntaxhighlight lang="sparql">
SELECT ?item (COUNT(?value) AS ?valueCount)
WHERE {
  ?item wdt:P31 wd:Q56887 .
  ?item wdt:P1451 ?value.
}
GROUP BY ?item
HAVING (COUNT(?value) > 1)
 
</syntaxhighlight>This query is most likely correct, but currently produces a timeout.

Latest revision as of 15:33, 29 February 2024

SPARQL queries

Find all items that have more than one zbmath de number

SELECT ?item (COUNT(?value) AS ?valueCount)
WHERE {
  ?item wdt:P31 wd:Q56887 .
  ?item wdt:P1451 ?value.
}
GROUP BY ?item
HAVING (COUNT(?value) > 1)

This query is most likely correct, but currently produces a timeout.