DebugQueries: Difference between revisions

m (added: Orphans)
Line 32: Line 32:
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
PREFIX wd: <https://graphit.ur.de/entity/>
SELECT ?source ?sourceLabel ?resource ?resourceLabel  
SELECT DISTINCT ?source ?sourceLabel ?resource ?resourceLabel  
WHERE {
WHERE {
   ?source wdt:P1 ?dependency.
   ?source wdt:P1 ?dependency.

Revision as of 13:49, 18 August 2023

This page contains several SPARQL-Queries to help debug the graph.

Missing Properties

No Resources

Returns all Items, that don't have any resource that they link to.

Note: Only searches through items that have a subclass, to avoid duplicates


No Subclass

Returns all Items, that don't have a property subclass.


No Dependencies

Returns all Items, that don't link any other items as dependency.

These items don't have a property depends on. This could mean, that they are a source or that they are orphaned.


Orphans

Returns all items, that don't link to any other items and are not linked to in return.

NOTE: Not sure if this works.