Added View to filter over relationship counts
This commit is contained in:
parent
70b4bd8645
commit
ee88ffe4cf
@ -125,7 +125,7 @@ SELECT
|
|||||||
AS RelationshipURI
|
AS RelationshipURI
|
||||||
FROM Relationships
|
FROM Relationships
|
||||||
LEFT JOIN Relationships_Abbreviations USING (RelationshipID)
|
LEFT JOIN Relationships_Abbreviations USING (RelationshipID)
|
||||||
LEFT JOIN Abbreviations USING (AbbreviationID)
|
LEFT JOIN Abbreviations USING (AbbreviationID);
|
||||||
|
|
||||||
-- Objects
|
-- Objects
|
||||||
CREATE VIEW IF NOT EXISTS ParsedObjects
|
CREATE VIEW IF NOT EXISTS ParsedObjects
|
||||||
@ -140,6 +140,13 @@ FROM Objects
|
|||||||
LEFT JOIN Objects_Abbreviations USING (ObjectID)
|
LEFT JOIN Objects_Abbreviations USING (ObjectID)
|
||||||
LEFT JOIN Abbreviations USING (AbbreviationID);
|
LEFT JOIN Abbreviations USING (AbbreviationID);
|
||||||
|
|
||||||
|
-- Relationship Count
|
||||||
|
CREATE VIEW IF NOT EXISTS RelationshipsCountInRDFs
|
||||||
|
AS
|
||||||
|
SELECT RelationshipID, count(RelationshipID) as Rel_Count
|
||||||
|
FROM RDFs
|
||||||
|
GROUP BY RelationshipID;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user