Skip to content

Commit

Permalink
cmc-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
kanwalmeet committed Nov 19, 2024
1 parent 77b939a commit 5f73279
Show file tree
Hide file tree
Showing 11 changed files with 11,258 additions and 7,802 deletions.
18,800 changes: 11,127 additions & 7,673 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.4",
"@angular/cdk": "~9.1.0",
"@angular/animations": "^9.1.0",
"@angular/cdk": "~9.2.4",
"@angular/common": "~9.0.4",
"@angular/compiler": "~9.0.4",
"@angular/core": "~9.0.4",
"@angular/elements": "^11.2.0",
"@angular/elements": "~9.0.4",
"@angular/forms": "~9.0.4",
"@angular/material": "^9.1.0",
"@angular/material": "^9.1.3",
"@angular/platform-browser": "~9.0.4",
"@angular/platform-browser-dynamic": "~9.0.4",
"@angular/router": "~9.0.4",
"@angular/service-worker": "^12.1.1",
"@azure/msal-angular": "^1.1.1",
"d3": "^5.15.0",
"d3-force-reuse": "^1.0.1",
"file-saver": "^2.0.5",
"is-image-url": "^1.1.8",
"material-community-components": "^6.0.0",
"msal": "^1.4.9",
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class AppComponent implements OnInit /*AfterViewInit*/ {
/*
ngAfterViewInit(): void {
setTimeout(() => {
this.facadeService.fetchInitial("http://pid.bayer.com/kos/19014/1/ggvcm");
this.facadeService.fetchInitial("http://github.com/Bayer-Group/kos/19014/1/ggvcm");
}, 500)
}
*/
Expand All @@ -77,7 +77,7 @@ export class AppComponent implements OnInit /*AfterViewInit*/ {
},
error => console.log("there was an error by calling the backend", error)
)
//this.nquadsService.fetchNquads("http://pid.bayer.com/kos/19014/1/ggvcm", RequestTypeEnum.OUTGOING);
//this.nquadsService.fetchNquads("http://github.com/Bayer-Group/kos/19014/1/ggvcm", RequestTypeEnum.OUTGOING);

this.profileService.initCustomCssStyles();
this.sidebarService.getSidebarOpen().subscribe(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class MockIdentityProvider implements IdentityProvider {
constructor() { }

getAccount(): Observable<UserAccount>{
return of(new UserAccount('SuperAdmin', 'superadmin@bayer.com'))
return of(new UserAccount('SuperAdmin', 'superadmin@github.com'))
}

loginInProgress(): boolean {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/graphVisual.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { GraphDataNew } from '../models/graphdata/graphdata';


// export const imageMapping = {
// "https://pid.bayer.com/kos/19050/435897": "hasIcon",
// "https://github.com/Bayer-Group/kos/19050/435897": "hasIcon",
// "http://10.122.106.18:3000/hasPicture": "hasPicture"
// }

Expand Down
20 changes: 10 additions & 10 deletions src/app/services/testData/fullgraph.nquads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ export const rawFullGraphNquads = `
<http://10.122.106.18:3000/Person> <http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#Class> .
<http://10.122.106.18:3000/Substance> <http://www.w3.org/2000/01/rdf-schema#Class> <http://www.w3.org/2000/01/rdf-schema#Class> .
<http://10.122.106.18:3000/Person/erik> <http://10.122.106.18:3000/KnowledgeSpace> <http://10.122.106.18:3000/KnowledgeSpace> .
<http://pid.bayer.com/kos/19014/1/ggvcm> <http://10.122.106.18:3000/KnowledgeSpace> <http://10.122.106.18:3000/KnowledgeSpace> .
<http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://10.122.106.18:3000/KnowledgeSpace> <http://10.122.106.18:3000/KnowledgeSpace> .
<http://10.122.106.18:3000/KnowledgeSpace> <http://10.122.106.18:3000/Person/glqze> <http://10.122.106.18:3000/Person/glqze> .
<http://10.122.106.18:3000/KnowledgeSpace> <http://10.122.106.18:3000/Project> <http://10.122.106.18:3000/Project> .
<http://10.122.106.18:3000/bln_m427> <http://10.122.106.18:3000/OfficeBuilding> <http://10.122.106.18:3000/OfficeBuilding> .
<http://10.122.106.18:3000/Person/FriedrichBayer> <http://pid.bayer.com/kos/19014/Person> <http://pid.bayer.com/kos/19014/Person> .
<http://10.122.106.18:3000/Person/erik> <http://pid.bayer.com/kos/19014/Person> <http://pid.bayer.com/kos/19014/Person> .
<http://pid.bayer.com/kos/19014/1/ggvcm> <http://pid.bayer.com/kos/19014/Person> <http://pid.bayer.com/kos/19014/Person> .
<http://10.122.106.18:3000/Person/FriedrichBayer> <http://github.com/Bayer-Group/kos/19014/Person> <http://github.com/Bayer-Group/kos/19014/Person> .
<http://10.122.106.18:3000/Person/erik> <http://github.com/Bayer-Group/kos/19014/Person> <http://github.com/Bayer-Group/kos/19014/Person> .
<http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://github.com/Bayer-Group/kos/19014/Person> <http://github.com/Bayer-Group/kos/19014/Person> .
<http://10.122.106.18:3000/Person/erik> <http://10.122.106.18:3000/companies/Capgemini> <http://10.122.106.18:3000/companies/Capgemini> .
<http://pid.bayer.com/kos/19014/1/ggvcm> <http://10.122.106.18:3000/Product/LinkedDataBasics> <http://10.122.106.18:3000/Product/LinkedDataBasics> .
<http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://10.122.106.18:3000/Product/LinkedDataBasics> <http://10.122.106.18:3000/Product/LinkedDataBasics> .
<http://10.122.106.18:3000/Product/LinkedDataBasics> <http://10.122.106.18:3000/Product> <http://10.122.106.18:3000/Product> .
<http://10.122.106.18:3000/affiliatedWith> <http://www.w3.org/2000/01/rdf-schema#Property> <http://www.w3.org/2000/01/rdf-schema#Property> .
<http://10.122.106.18:3000/worksOn> <http://www.w3.org/2000/01/rdf-schema#Property> <http://www.w3.org/2000/01/rdf-schema#Property> .
<http://10.122.106.18:3000/isLocateIn> <http://www.w3.org/2000/01/rdf-schema#Property> <http://www.w3.org/2000/01/rdf-schema#Property> .
<http://10.122.106.18:3000/offers> <http://www.w3.org/2000/01/rdf-schema#Property> <http://www.w3.org/2000/01/rdf-schema#Property> .
<http://pid.bayer.com/kos/19014/1/ggvcm> <http://10.122.106.18:3000/bln_m427> <http://10.122.106.18:3000/bln_m427> .
<http://pid.bayer.com/kos/19014/1/ggvcm> <http://10.122.106.18:3000/companies/Bayer> <http://10.122.106.18:3000/companies/Bayer> .
<http://10.122.106.18:3000/KnowledgeSpace> <http://pid.bayer.com/kos/19014/1/ggvcm> <http://pid.bayer.com/kos/19014/1/ggvcm> .
<https://pid.bayer.com/70107/001/1/SubstanceCombination_13057> <http://pid.bayer.com/kos/19014/1/ggvcm> <http://pid.bayer.com/kos/19014/1/ggvcm> .
<http://pid.bayer.com/kos/19014/1/ggvcm> <https://mug0eu-1.assets-yammer.com/mugshot/images/Ph0GLscW22mMsf2MPwTxw9K2DPD1J1fl> <https://mug0eu-1.assets-yammer.com/mugshot/images/Ph0GLscW22mMsf2MPwTxw9K2DPD1J1fl> .
<http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://10.122.106.18:3000/bln_m427> <http://10.122.106.18:3000/bln_m427> .
<http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://10.122.106.18:3000/companies/Bayer> <http://10.122.106.18:3000/companies/Bayer> .
<http://10.122.106.18:3000/KnowledgeSpace> <http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://github.com/Bayer-Group/kos/19014/1/ggvcm> .
<https://github.com/Bayer-Group/70107/001/1/SubstanceCombination_13057> <http://github.com/Bayer-Group/kos/19014/1/ggvcm> <http://github.com/Bayer-Group/kos/19014/1/ggvcm> .
<http://github.com/Bayer-Group/kos/19014/1/ggvcm> <https://mug0eu-1.assets-yammer.com/mugshot/images/Ph0GLscW22mMsf2MPwTxw9K2DPD1J1fl> <https://mug0eu-1.assets-yammer.com/mugshot/images/Ph0GLscW22mMsf2MPwTxw9K2DPD1J1fl> .
`
64 changes: 32 additions & 32 deletions src/assets/profiles/colid.profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
"node" : {
"data" : {
"showLabel": [
"https://pid.bayer.com/kos/19050/hasLabel",
"https://github.com/Bayer-Group/kos/19050/hasLabel",
"http://www.w3.org/2000/01/rdf-schema#label",
"http://pid.bayer.com/kos/19014/fullName",
"https://pid.bayer.com/kos/19050/hasNetworkedResourceLabel"
"http://github.com/Bayer-Group/kos/19014/fullName",
"https://github.com/Bayer-Group/kos/19050/hasNetworkedResourceLabel"
]
},
"nodeImageShrinkFactor": 0.7,
"increaseLabelSize": false,
"fetchFutherOutgoingNodesForUris": [
"https://pid.bayer.com/kos/19050/GenericDataset",
"https://pid.bayer.com/kos/19050/distribution"
"https://github.com/Bayer-Group/kos/19050/GenericDataset",
"https://github.com/Bayer-Group/kos/19050/distribution"
],
"formatUris": {
"http://www.w3.org/1999/02/22-rdf-syntax-ns#": "rdf",
Expand All @@ -25,28 +25,28 @@
"http://www.w3.org/2002/07/owl#": "owl"
},
"userDefinedFormatUris": {
"http://pid.bayer.com/" : "bayerPID"
"http://github.com/Bayer-Group/" : "bayerPID"
}
},
"links" : {
"allowList": [
"https://pid.bayer.com/kos/19050/isCopyOfDataset",
"https://pid.bayer.com/kos/19050/isDerivedFromDataset",
"https://pid.bayer.com/kos/19050/isSubsetOfDataset",
"https://pid.bayer.com/kos/19050/sameDatasetAs",
"https://pid.bayer.com/kos/19050/appliedToDataset",
"https://pid.bayer.com/kos/19050/createdFromDataset",
"https://pid.bayer.com/kos/19050/includesOntology",
"https://pid.bayer.com/kos/19050/isSchemaOfDataset",
"https://pid.bayer.com/kos/19050/hasLaterVersion",
"https://pid.bayer.com/kos/19050/distribution",
"https://pid.bayer.com/kos/19050/788854",
"https://pid.bayer.com/kos/19050/885555"
"https://github.com/Bayer-Group/kos/19050/isCopyOfDataset",
"https://github.com/Bayer-Group/kos/19050/isDerivedFromDataset",
"https://github.com/Bayer-Group/kos/19050/isSubsetOfDataset",
"https://github.com/Bayer-Group/kos/19050/sameDatasetAs",
"https://github.com/Bayer-Group/kos/19050/appliedToDataset",
"https://github.com/Bayer-Group/kos/19050/createdFromDataset",
"https://github.com/Bayer-Group/kos/19050/includesOntology",
"https://github.com/Bayer-Group/kos/19050/isSchemaOfDataset",
"https://github.com/Bayer-Group/kos/19050/hasLaterVersion",
"https://github.com/Bayer-Group/kos/19050/distribution",
"https://github.com/Bayer-Group/kos/19050/788854",
"https://github.com/Bayer-Group/kos/19050/885555"

],
"negativList": [
"https://pid.bayer.com/kos/19050/hasHistoricVersion",
"https://pid.bayer.com/kos/19050/hasDistributionEndpointLifecycleStatus",
"https://github.com/Bayer-Group/kos/19050/hasHistoricVersion",
"https://github.com/Bayer-Group/kos/19050/hasDistributionEndpointLifecycleStatus",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
],
"rankingList": [
Expand All @@ -55,51 +55,51 @@
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isCopyOfDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isCopyOfDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isDerivedFromDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isDerivedFromDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isSubsetOfDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isSubsetOfDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/sameDatasetAs",
"k": "https://github.com/Bayer-Group/kos/19050/sameDatasetAs",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/appliedToDataset",
"k": "https://github.com/Bayer-Group/kos/19050/appliedToDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/createdFromDataset",
"k": "https://github.com/Bayer-Group/kos/19050/createdFromDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/includesOntology",
"k": "https://github.com/Bayer-Group/kos/19050/includesOntology",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isSchemaOfDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isSchemaOfDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/hasLaterVersion",
"k": "https://github.com/Bayer-Group/kos/19050/hasLaterVersion",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/distribution",
"k": "https://github.com/Bayer-Group/kos/19050/distribution",
"v": 2
},
{
"k": "https://pid.bayer.com/kos/19050/788854",
"k": "https://github.com/Bayer-Group/kos/19050/788854",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/885555",
"k": "https://github.com/Bayer-Group/kos/19050/885555",
"v": 1
}
],
Expand Down
8 changes: 4 additions & 4 deletions src/assets/profiles/default.profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"node" : {
"data" : {
"showLabel": [
"https://pid.bayer.com/kos/19050/hasLabel",
"https://github.com/Bayer-Group/kos/19050/hasLabel",
"http://www.w3.org/2000/01/rdf-schema#label",
"http://pid.bayer.com/kos/19014/preferredLabel",
"http://pid.bayer.com/kos/19014/fullName",
"http://github.com/Bayer-Group/kos/19014/preferredLabel",
"http://github.com/Bayer-Group/kos/19014/fullName",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
Expand All @@ -22,7 +22,7 @@
"http://www.w3.org/2002/07/owl#": "owl"
},
"userDefinedFormatUris": {
"http://pid.bayer.com/" : "bayerPID"
"http://github.com/Bayer-Group/" : "bayerPID"
}
},
"links" : {
Expand Down
56 changes: 28 additions & 28 deletions src/assets/profiles/test.profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"node" : {
"data" : {
"showLabel": [
"https://pid.bayer.com/kos/19050/hasLabel",
"https://github.com/Bayer-Group/kos/19050/hasLabel",
"http://www.w3.org/2000/01/rdf-schema#label",
"http://pid.bayer.com/kos/19014/fullName"
"http://github.com/Bayer-Group/kos/19014/fullName"
]
},
"nodeImageShrinkFactor": 0.5,
Expand All @@ -21,80 +21,80 @@
"http://www.w3.org/2002/07/owl#": "owl"
},
"userDefinedFormatUris": {
"http://pid.bayer.com/" : "bayerPID"
"http://github.com/Bayer-Group/" : "bayerPID"
}
},
"links" : {
"allowList": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"https://pid.bayer.com/kos/19050/isCopyOfDataset",
"https://pid.bayer.com/kos/19050/isDerivedFromDataset",
"https://pid.bayer.com/kos/19050/isSubsetOfDataset",
"https://pid.bayer.com/kos/19050/sameDatasetAs",
"https://pid.bayer.com/kos/19050/appliedToDataset",
"https://pid.bayer.com/kos/19050/createdFromDataset",
"https://pid.bayer.com/kos/19050/includesOntology",
"https://pid.bayer.com/kos/19050/isSchemaOfDataset",
"https://pid.bayer.com/kos/19050/hasLaterVersion",
"https://pid.bayer.com/kos/19050/distribution",
"https://pid.bayer.com/kos/19050/788854",
"https://pid.bayer.com/kos/19050/885555"
"https://github.com/Bayer-Group/kos/19050/isCopyOfDataset",
"https://github.com/Bayer-Group/kos/19050/isDerivedFromDataset",
"https://github.com/Bayer-Group/kos/19050/isSubsetOfDataset",
"https://github.com/Bayer-Group/kos/19050/sameDatasetAs",
"https://github.com/Bayer-Group/kos/19050/appliedToDataset",
"https://github.com/Bayer-Group/kos/19050/createdFromDataset",
"https://github.com/Bayer-Group/kos/19050/includesOntology",
"https://github.com/Bayer-Group/kos/19050/isSchemaOfDataset",
"https://github.com/Bayer-Group/kos/19050/hasLaterVersion",
"https://github.com/Bayer-Group/kos/19050/distribution",
"https://github.com/Bayer-Group/kos/19050/788854",
"https://github.com/Bayer-Group/kos/19050/885555"

],
"negativList": [
"https://pid.bayer.com/kos/19050/hasHistoricVersion"
"https://github.com/Bayer-Group/kos/19050/hasHistoricVersion"
],
"rankingList": [
{
"k": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isCopyOfDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isCopyOfDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isDerivedFromDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isDerivedFromDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isSubsetOfDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isSubsetOfDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/sameDatasetAs",
"k": "https://github.com/Bayer-Group/kos/19050/sameDatasetAs",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/appliedToDataset",
"k": "https://github.com/Bayer-Group/kos/19050/appliedToDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/createdFromDataset",
"k": "https://github.com/Bayer-Group/kos/19050/createdFromDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/includesOntology",
"k": "https://github.com/Bayer-Group/kos/19050/includesOntology",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/isSchemaOfDataset",
"k": "https://github.com/Bayer-Group/kos/19050/isSchemaOfDataset",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/hasLaterVersion",
"k": "https://github.com/Bayer-Group/kos/19050/hasLaterVersion",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/distribution",
"k": "https://github.com/Bayer-Group/kos/19050/distribution",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/788854",
"k": "https://github.com/Bayer-Group/kos/19050/788854",
"v": 1
},
{
"k": "https://pid.bayer.com/kos/19050/885555",
"k": "https://github.com/Bayer-Group/kos/19050/885555",
"v": 1
}
],
Expand Down
Loading

0 comments on commit 5f73279

Please sign in to comment.