Skip to content

Comments

Adding facility location to user guide#775

Open
CBP1012 wants to merge 15 commits intoCommonCoreOntology:developfrom
CBP1012:develop
Open

Adding facility location to user guide#775
CBP1012 wants to merge 15 commits intoCommonCoreOntology:developfrom
CBP1012:develop

Conversation

@CBP1012
Copy link

@CBP1012 CBP1012 commented Feb 20, 2026

The purpose of this pull request is to contribute to the user guide.
This pattern includes mermaid file, SPARQL queries and a readme describing the purpose of the pattern.

Also wanted feedback on the pattern and make sure we are good to use this in a paper.

Comes in hand when representing documents with multiple fields, so that we can link more than one ICE to the same IBE.

## Structure
The document has as parts two document fields. One of them carries one ICE, specifically a designative Name.
Copy link
Contributor

@alanruttenberg alanruttenberg Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which document is being refered to by "The document" in Structure section, What do you mean when you say "so we can link more than one ICE to the same IBE"

In addition, the title of the PR seems wrong since most of these files are about document fields?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider the following style, which make the query more readable:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX cco: <https://www.commoncoreontologies.org/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX material_copy_of_a_document: <https://www.commoncoreontologies.org/ont00001298>
PREFIX has_continuant_part: <http://purl.obolibrary.org/obo/BFO_0000178>
PREFIX material_copy_of_a_document_field: <https://www.commoncoreontologies.org/ont00001243>

SELECT ?document (COUNT(?field) AS ?fieldCount)
WHERE {
  ?document rdf:type material_copy_of_a_document: .
  ?document has_continuant_part: ?field .
  ?field rdf:type material_copy_of_a_document_field:.
}
GROUP BY ?document

That said, I don't know why you are using IBEs v ICEs in this pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants