DebugQueries: Difference between revisions

m (fixing some queries)
m (→‎No Resources: fixed description)
Line 7: Line 7:
'''Returns all Items, that don't have any [[Property:P21|resource]] that they link to.'''
'''Returns all Items, that don't have any [[Property:P21|resource]] that they link to.'''


Note: Only searches through items that have a subclass, to avoid duplicates
{{#widget:SPARQLquery|code=
{{#widget:SPARQLquery|code=
#All Items with no linked resources
#All Items with no linked resources

Revision as of 13:56, 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.


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.