Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SELECT ?Resource ?Type ?Def ?ExpNote ?EdNote ?UseNote ?NormRef
WHERE { ?Resource rdf:type ?Type .
FILTER(?Type in (owl:Class, owl:DatatypeProperty,owl:ObjectProperty ))
OPTIONAL { ?Resource skos:definition ?Def. }
OPTIONAL { ?Resource skos:editorialNote ?EdNote. }
OPTIONAL { ?Resource sm:normativeReference ?NormRef. }
OPTIONAL { ?Resource fibo-fnd-utl-av:usageNote ?UseNote. }
OPTIONAL { ?Resource fibo-fnd-utl-av:explanatoryNote ?ExpNote. }
FILTER(STRSTARTS(STR(?Resource),
                                  "http://spec.edmcouncil.org/fibo/LOAN/LoanContracts/LoanCore/") )

# FILTER(!(STRSTARTS(STR(?Resource),     # use this to get things not in loans namespace
#                                 "http://spec.edmcouncil.org/fibo/LOAN/LoanContracts/LoanCore/")) )  

}

ORDER BY ?Type ?Resource

...