-
Notifications
You must be signed in to change notification settings - Fork 84
Adding facility location to user guide #775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CBP1012
wants to merge
19
commits into
CommonCoreOntology:develop
Choose a base branch
from
CBP1012:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9801f5a
Create CQ1.sparql
CBP1012 03cbbdc
Create CQ2.sparql
CBP1012 d44b492
Create CQ3.sparql
CBP1012 41b8793
Create Document_Field_Documentation.md
CBP1012 d0efd2e
Create Document_Field_Mermaid
CBP1012 c269d18
Create Document_Field_V6.png
CBP1012 b6c20f2
Update README.md
CBP1012 34c651d
Update README.md
CBP1012 2519c02
Update CQ3.sparql
CBP1012 a7ad53d
Update CQ3.sparql
CBP1012 57ba533
Update CQ3.sparql
CBP1012 c159ba2
Update Document_Field_Documentation.md
CBP1012 9dbe970
Update Document_Field_Documentation.md
CBP1012 c6c3a4f
Merge branch 'CommonCoreOntology:develop' into develop
CBP1012 99c32f3
changed design pattern 1 over to facility location
CBP1012 631096b
changed SPARQL queries to the reccomended format
CBP1012 5226710
Implemented recommended fixes
CBP1012 1072728
changed png and mermaid
CBP1012 9756d20
Made second batch of changes.
CBP1012 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
documentation/user-guides/design-patterns/Design Pattern 1/CQ1.sparql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
| PREFIX cco: <https://www.commoncoreontologies.org/> | ||
| PREFIX obo: <http://purl.obolibrary.org/obo/> | ||
| PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
|
||
| SELECT ?document ?document_field | ||
| WHERE { | ||
| ?document obo:BFO_0000178 ?document_field . #has continuant part | ||
| ?document a cco:ont00001298 . #document | ||
| ?document_field a cco:ont00001243 . #document field | ||
| } |
11 changes: 11 additions & 0 deletions
11
documentation/user-guides/design-patterns/Design Pattern 1/CQ2.sparql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| 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/> | ||
|
|
||
| SELECT ?document (COUNT(?field) AS ?fieldCount) | ||
| WHERE { | ||
| ?document rdf:type cco:ont00001298 . | ||
| ?document obo:BFO_0000178 ?field . | ||
| ?field rdf:type cco:ont00001243 . | ||
| } | ||
| GROUP BY ?document |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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:
That said, I don't know why you are using IBEs v ICEs in this pattern.