a dnr:HttpHandler ;
12 | dnr:type "VDS.RDF.Web.SparqlServer" ;
13 | dnr:queryProcessor _:qProc ;
14 | dnr:updateProcessor _:uProc ;
15 | dnr:protocolProcessor _:pProc .
16 |
17 | _:qProc a dnr:SparqlQueryProcessor ;
18 | dnr:type "VDS.RDF.Query.LeviathanQueryProcessor" ;
19 | dnr:usingStore _:store .
20 |
21 | _:uProc a dnr:SparqlUpdateProcessor ;
22 | dnr:type "VDS.RDF.Update.LeviathanUpdateProcessor" ;
23 | dnr:usingStore _:store .
24 |
25 | _:pProc a dnr:SparqlHttpProtocolProcessor ;
26 | dnr:type "VDS.RDF.Update.Protocol.LeviathanProtocolProcessor" ;
27 | dnr:usingStore _:store .
28 |
29 | _:store a dnr:TripleStore ;
30 | dnr:type "VDS.RDF.TripleStore" .
--------------------------------------------------------------------------------
/Toolkit/rdfServer/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Toolkit/rdfServerGUI/Program.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 |
29 | namespace VDS.RDF.Utilities.Server.GUI
30 | {
31 | ///
32 | /// Entry point for the Server GUI
33 | ///
34 | static class Program
35 | {
36 | ///
37 | /// The main entry point for the application.
38 | ///
39 | [STAThread]
40 | static void Main()
41 | {
42 | Application.EnableVisualStyles();
43 | Application.SetCompatibleTextRenderingDefault(false);
44 | Application.Run(new fclsServerManager());
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/Toolkit/rdfServerGUI/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | //------------------------------------------------------------------------------
27 | //
28 | // This code was generated by a tool.
29 | // Runtime Version:4.0.30319.239
30 | //
31 | // Changes to this file may cause incorrect behavior and will be lost if
32 | // the code is regenerated.
33 | //
34 | //------------------------------------------------------------------------------
35 |
36 | namespace VDS.RDF.Utilities.Server.GUI.Properties {
37 |
38 |
39 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
40 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
41 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
42 |
43 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
44 |
45 | public static Settings Default {
46 | get {
47 | return defaultInstance;
48 | }
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Toolkit/rdfServerGUI/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Toolkit/rdfServerGUI/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Toolkit/rdfServerGUI/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Toolkit/rdfServerGUI/servercontrol.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Server Control
5 |
6 |
7 | Use the following buttons to control the server if the server was started with RESTful Control enabled
8 |
11 |
14 |
15 |
--------------------------------------------------------------------------------
/Toolkit/rdfWebDeploy/Extract.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Collections.Generic;
28 | using System.Linq;
29 | using System.Text;
30 |
31 | namespace VDS.RDF.Utilities.Web.Deploy
32 | {
33 | class Extract
34 | {
35 |
36 | public void RunExtract(String[] args)
37 | {
38 | if (args.Length < 3)
39 | {
40 | Console.Error.WriteLine("rdfWebDeploy: Error: 3 Arguments are required in order to use the -extract mode");
41 | return;
42 | }
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/Toolkit/rdfWebDeploy/Program.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Collections.Generic;
28 | using System.Linq;
29 | using System.Text;
30 |
31 | namespace VDS.RDF.Utilities.Web.Deploy
32 | {
33 | class Program
34 | {
35 | static void Main(string[] args)
36 | {
37 | RdfWebDeploy deployment = new RdfWebDeploy();
38 | deployment.RunDeployment(args);
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/Toolkit/rdfWebDeploy/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Toolkit/rdfWebDeploy/ark.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnetrdf/dotNetRDF.Toolkit/a9871dd9bdc1aa364b31846ec40705e1f04d7818/Toolkit/rdfWebDeploy/ark.ico
--------------------------------------------------------------------------------
/Toolkit/rdfWebDeploy/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Toolkit/rdfWebDeploy/world_go.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnetrdf/dotNetRDF.Toolkit/a9871dd9bdc1aa364b31846ec40705e1f04d7818/Toolkit/rdfWebDeploy/world_go.ico
--------------------------------------------------------------------------------
/Toolkit/soh/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("SPARQL over HTTP")]
9 | [assembly: AssemblyDescription("A command line utility for accessing all SPARQL features from a single tool")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Visual Design Studios")]
12 | [assembly: AssemblyProduct("soh")]
13 | [assembly: AssemblyCopyright("Copyright © dotNetRDF Project 2011-21")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("6e2f4467-62ad-4473-be32-0331ddd59f20")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.13.0")]
35 | [assembly: AssemblyVersion("1.0.13.0")]
36 | [assembly: AssemblyFileVersion("1.0.13.0")]
37 |
--------------------------------------------------------------------------------
/Toolkit/soh/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Toolkit/soh/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Controls/ControlEvents.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using VDS.RDF.Utilities.StoreManager.Connections;
28 |
29 | namespace VDS.RDF.Utilities.StoreManager.Controls
30 | {
31 | ///
32 | /// Event Arguments for Connection Event
33 | ///
34 | public class ConnectedEventArgs
35 | : EventArgs
36 | {
37 | ///
38 | /// Creates a new Connected Event arguments
39 | ///
40 | /// Connection
41 | public ConnectedEventArgs(Connection connection)
42 | {
43 | this.Connection = connection;
44 | }
45 |
46 | ///
47 | /// Gets/Sets the Connection
48 | ///
49 | public Connection Connection
50 | {
51 | get;
52 | private set;
53 | }
54 | }
55 |
56 | ///
57 | /// Delegate for Connected Event
58 | ///
59 | /// Sender
60 | /// Event Arguments
61 | public delegate void Connected(Object sender, ConnectedEventArgs e);
62 | }
63 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Controls/ListViewColumnSorter.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Collections;
28 | using System.Windows.Forms;
29 |
30 | namespace VDS.RDF.Utilities.StoreManager.Controls
31 | {
32 | ///
33 | /// A column sorter for list views
34 | ///
35 | public class ListViewColumnSorter : IComparer
36 | {
37 | private readonly int _column;
38 | private readonly int _modifier = 1;
39 |
40 | public ListViewColumnSorter(int column, SortOrder order)
41 | {
42 | this._column = column;
43 | if (order == SortOrder.Descending)
44 | {
45 | this._modifier = -1;
46 | }
47 | }
48 |
49 |
50 | public int Compare(object x, object y)
51 | {
52 | if (!(x is ListViewItem) || !(y is ListViewItem)) return 0;
53 | ListViewItem a = (ListViewItem) x;
54 | ListViewItem b = (ListViewItem) y;
55 |
56 | int numA, numB;
57 | if (Int32.TryParse(a.SubItems[this._column].Text, out numA) && Int32.TryParse(b.SubItems[this._column].Text, out numB)) return this._modifier*numA.CompareTo(numB);
58 | return this._modifier*String.Compare(a.SubItems[this._column].Text, b.SubItems[this._column].Text, StringComparison.CurrentCulture);
59 | }
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Dialogues/CloseConnectionDialogue.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-develop@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 |
29 | namespace VDS.RDF.Utilities.StoreManager.Dialogues
30 | {
31 | public partial class CloseConnectionDialogue : Form
32 | {
33 | public CloseConnectionDialogue()
34 | {
35 | InitializeComponent();
36 | }
37 |
38 | ///
39 | /// Whether all windows should be closed
40 | ///
41 | public bool ForceClose { get; private set; }
42 |
43 | private void btnCloseWindow_Click(object sender, EventArgs e)
44 | {
45 | this.ForceClose = false;
46 | this.DialogResult = DialogResult.OK;
47 | this.Close();
48 | }
49 |
50 | private void btnCloseAll_Click(object sender, EventArgs e)
51 | {
52 | this.ForceClose = true;
53 | this.DialogResult = DialogResult.OK;
54 | this.Close();
55 | }
56 |
57 | private void btnCancel_Click(object sender, EventArgs e)
58 | {
59 | this.DialogResult = DialogResult.Cancel;
60 | this.Close();
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Dialogues/CopyMoveDialogue.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 | using VDS.RDF.Utilities.StoreManager.Connections;
29 | using VDS.RDF.Utilities.StoreManager.Tasks;
30 |
31 | namespace VDS.RDF.Utilities.StoreManager.Dialogues
32 | {
33 | partial class CopyMoveDialogue : Form
34 | {
35 | public CopyMoveDialogue(CopyMoveDragInfo info, Connection target)
36 | {
37 | InitializeComponent();
38 |
39 | this.lblConfirm.Text = String.Format(this.lblConfirm.Text, info.SourceUri, info.Source, target);
40 | }
41 |
42 | public bool IsCopy
43 | {
44 | get;
45 | private set;
46 | }
47 |
48 | public bool IsMove
49 | {
50 | get;
51 | private set;
52 | }
53 |
54 | private void btnCopy_Click(object sender, EventArgs e)
55 | {
56 | this.IsCopy = true;
57 | this.DialogResult = DialogResult.OK;
58 | this.Close();
59 | }
60 |
61 | private void btnMove_Click(object sender, EventArgs e)
62 | {
63 | this.IsMove = true;
64 | this.DialogResult = DialogResult.OK;
65 | this.Close();
66 | }
67 |
68 | private void btnCancel_Click(object sender, EventArgs e)
69 | {
70 | this.DialogResult = DialogResult.Cancel;
71 | this.Close();
72 | }
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Dialogues/CopyMoveRenameGraphDialogue.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 | using VDS.RDF.Utilities.StoreManager.Properties;
29 |
30 | namespace VDS.RDF.Utilities.StoreManager.Dialogues
31 | {
32 | public partial class CopyMoveRenameGraphForm : Form
33 | {
34 | public CopyMoveRenameGraphForm(String task)
35 | {
36 | InitializeComponent();
37 | this.Text = String.Format(this.Text, task);
38 | }
39 |
40 | public Uri Uri
41 | {
42 | get;
43 | private set;
44 | }
45 |
46 | private void btnOK_Click(object sender, EventArgs e)
47 | {
48 | try
49 | {
50 | this.Uri = new Uri(this.txtUri.Text);
51 | this.DialogResult = DialogResult.OK;
52 | this.Close();
53 | }
54 | catch (UriFormatException uriEx)
55 | {
56 | MessageBox.Show(string.Format(Resources.InvalidUri_Text, uriEx.Message), Resources.InvalidUri_Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
57 | }
58 | }
59 |
60 | private void btnCancel_Click(object sender, EventArgs e)
61 | {
62 | this.DialogResult = DialogResult.Cancel;
63 | this.Close();
64 | }
65 |
66 | private void CopyMoveRenameGraphForm_Load(object sender, EventArgs e)
67 | {
68 | this.txtUri.SelectAll();
69 | this.txtUri.Focus();
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Dialogues/EntityQueryGeneratorDialogue.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-develop@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 | using VDS.RDF.Utilities.StoreManager.Properties;
29 |
30 | namespace VDS.RDF.Utilities.StoreManager.Dialogues
31 | {
32 | public partial class EntityQueryGeneratorDialogue : Form
33 | {
34 | public EntityQueryGeneratorDialogue(String query)
35 | {
36 | InitializeComponent();
37 | this.txtCurrentQuery.Text = query.Replace("\n", "\r\n");
38 | }
39 |
40 | private void btnCancel_Click(object sender, EventArgs e)
41 | {
42 | this.DialogResult = DialogResult.Cancel;
43 | this.Close();
44 | }
45 |
46 | private void btnGenerate_Click(object sender, EventArgs e)
47 | {
48 | this.DialogResult = DialogResult.OK;
49 | this.MinPredicateUsageLimit = (int) this.numValuesPerPredicateLimit.Value;
50 | this.QueryString = this.txtCurrentQuery.Text;
51 | this.Close();
52 | }
53 |
54 | ///
55 | /// Gets the minimum number of times a predicate must be used to be included in the generated query
56 | ///
57 | public int MinPredicateUsageLimit { get; private set; }
58 |
59 | ///
60 | /// Gets the Query String the user entered
61 | ///
62 | public String QueryString { get; private set; }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Dialogues/RenameConnectionDialogue.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-develop@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 | using VDS.RDF.Utilities.StoreManager.Connections;
29 |
30 | namespace VDS.RDF.Utilities.StoreManager.Dialogues
31 | {
32 | public partial class RenameConnectionDialogue : Form
33 | {
34 | public RenameConnectionDialogue(Connection connection)
35 | {
36 | InitializeComponent();
37 | this.Connection = connection;
38 | this.Text = String.Format(this.Text, this.Connection.Name);
39 | }
40 |
41 | private void btnCancel_Click(object sender, EventArgs e)
42 | {
43 | this.Close();
44 | }
45 |
46 | private Connection Connection { get; set; }
47 |
48 | private void btnRename_Click(object sender, EventArgs e)
49 | {
50 | this.Connection.Name = String.IsNullOrEmpty(this.txtName.Text) ? null : this.txtName.Text;
51 | this.Close();
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Dialogues/StringResultDialogue.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-develop@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Windows.Forms;
28 |
29 | namespace VDS.RDF.Utilities.StoreManager.Dialogues
30 | {
31 | public partial class StringResultDialogue : Form
32 | {
33 | private readonly Control _targetControl;
34 |
35 | public StringResultDialogue(String title, String result, Control control, String controlDescription)
36 | {
37 | InitializeComponent();
38 | this.Text = String.Format(this.Text, title);
39 | this.txtResult.Text = result;
40 | this._targetControl = control;
41 | this.btnCopyToControl.Text = String.Format(this.btnCopyToControl.Text, controlDescription);
42 | this.btnCopyToControl.Enabled = this._targetControl != null;
43 | }
44 |
45 | public StringResultDialogue(String title, String result)
46 | : this(title, result, null, "Editor") { }
47 |
48 | private void btnCopyToControl_Click(object sender, EventArgs e)
49 | {
50 | if (this._targetControl == null) return;
51 | this._targetControl.Text = this.txtResult.Text;
52 | this.Close();
53 | }
54 |
55 | private void btnCopyToClipboard_Click(object sender, EventArgs e)
56 | {
57 | Clipboard.SetText(this.txtResult.Text, TextDataFormat.Text);
58 | this.Close();
59 | }
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Extensions.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 |
28 | namespace VDS.RDF.Utilities.StoreManager
29 | {
30 | ///
31 | /// Extension Methods
32 | ///
33 | internal static class Extensions
34 | {
35 | ///
36 | /// Gets the Safe string form of an object
37 | ///
38 | /// Object
39 | /// The result of calling ToString() on non-null objects and String.Empty otherwise
40 | internal static String ToSafeString(this Object obj)
41 | {
42 | return (obj != null ? obj.ToString() : String.Empty);
43 | }
44 |
45 | ///
46 | /// Gets the Safe string form of a URI
47 | ///
48 | /// URI
49 | /// Either the AbolsuteUri or an empty string
50 | internal static String ToSafeString(this Uri u)
51 | {
52 | return (u != null ? u.AbsoluteUri : String.Empty);
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Forms/InvalidTemplateForm.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using System.Collections.Generic;
28 | using System.Windows.Forms;
29 |
30 | namespace VDS.RDF.Utilities.StoreManager.Forms
31 | {
32 | public partial class InvalidTemplateForm : Form
33 | {
34 | public InvalidTemplateForm(List errors)
35 | {
36 | InitializeComponent();
37 |
38 | this.lstErrors.DataSource = errors;
39 | }
40 |
41 | private void btnOK_Click(object sender, EventArgs e)
42 | {
43 | this.Close();
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Forms/ManageConnectionsForm.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System.Windows.Forms;
27 | using VDS.RDF.Utilities.StoreManager.Connections;
28 |
29 | namespace VDS.RDF.Utilities.StoreManager.Forms
30 | {
31 | public partial class ManageConnectionsForm : Form
32 | {
33 | public ManageConnectionsForm()
34 | {
35 | InitializeComponent();
36 | }
37 |
38 | public IConnectionsGraph ActiveConnections
39 | {
40 | get { return this.lvwActive.DataSource; }
41 | set { this.lvwActive.DataSource = value; }
42 | }
43 |
44 | public IConnectionsGraph RecentConnections
45 | {
46 | get { return this.lvwRecent.DataSource; }
47 | set { this.lvwRecent.DataSource = value; }
48 | }
49 |
50 | public IConnectionsGraph FavouriteConnections
51 | {
52 | get { return this.lvwFavourite.DataSource; }
53 | set { this.lvwFavourite.DataSource = value; }
54 | }
55 |
56 | private void btnClose_Click(object sender, System.EventArgs e)
57 | {
58 | this.Close();
59 | }
60 | }
61 | }
--------------------------------------------------------------------------------
/Toolkit/storemanager/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | False
7 |
8 |
9 | 100
10 |
11 |
12 | True
13 |
14 |
15 | True
16 |
17 |
18 | False
19 |
20 |
21 | 9
22 |
23 |
24 | False
25 |
26 |
27 | True
28 |
29 |
30 | False
31 |
32 |
33 | False
34 |
35 |
36 | False
37 |
38 |
39 | False
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/Tasks/CopyMoveDragInfo.cs:
--------------------------------------------------------------------------------
1 | /*
2 | dotNetRDF is free and open source software licensed under the MIT License
3 |
4 | -----------------------------------------------------------------------------
5 |
6 | Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is furnished
13 | to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in all
16 | copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 | */
25 |
26 | using System;
27 | using VDS.RDF.Utilities.StoreManager.Connections;
28 | using VDS.RDF.Utilities.StoreManager.Forms;
29 |
30 | namespace VDS.RDF.Utilities.StoreManager.Tasks
31 | {
32 | ///
33 | /// Information for doing copy/move via drag/drop
34 | ///
35 | class CopyMoveDragInfo
36 | {
37 | ///
38 | /// Creates a new Copy/Move infor
39 | ///
40 | /// Drag Source
41 | /// Source Graph URI
42 | public CopyMoveDragInfo(StoreManagerForm form, String sourceUri)
43 | {
44 | this.Form = form;
45 | this.Source = form.Connection;
46 | this.SourceUri = sourceUri;
47 | }
48 |
49 | ///
50 | /// Drag Source Form
51 | ///
52 | public StoreManagerForm Form
53 | {
54 | get;
55 | private set;
56 | }
57 |
58 | ///
59 | /// Drag source connection
60 | ///
61 | public Connection Source
62 | {
63 | get;
64 | private set;
65 | }
66 |
67 | ///
68 | /// Gets the Source Graph URI
69 | ///
70 | public String SourceUri
71 | {
72 | get;
73 | private set;
74 | }
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/database_gear.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnetrdf/dotNetRDF.Toolkit/a9871dd9bdc1aa364b31846ec40705e1f04d7818/Toolkit/storemanager/database_gear.ico
--------------------------------------------------------------------------------
/Toolkit/storemanager/file-manager.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnetrdf/dotNetRDF.Toolkit/a9871dd9bdc1aa364b31846ec40705e1f04d7818/Toolkit/storemanager/file-manager.ico
--------------------------------------------------------------------------------
/Toolkit/storemanager/folder_explore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnetrdf/dotNetRDF.Toolkit/a9871dd9bdc1aa364b31846ec40705e1f04d7818/Toolkit/storemanager/folder_explore.png
--------------------------------------------------------------------------------
/Toolkit/storemanager/folder_star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnetrdf/dotNetRDF.Toolkit/a9871dd9bdc1aa364b31846ec40705e1f04d7818/Toolkit/storemanager/folder_star.png
--------------------------------------------------------------------------------
/Toolkit/storemanager/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Toolkit/storemanager/plugins/Store Manager Plugins.txt:
--------------------------------------------------------------------------------
1 | Store Manager Plugins
2 | =====================
3 |
4 | Store Manager now allows you to plugin new Triple Stores very easily with minimal coding effort and without
5 | any need for you to edit Store Manager's codebase yourself.
6 |
7 | To do this you will need to implement the following interfaces in your own assembly:
8 |
9 | IStorageProvider
10 | - Can be found under VDS.RDF.Storage in dotNetRDF.dll
11 | - This is the interface which actually provides the connectivity between dotNetRDF and a Triple Store
12 |
13 | IConnectionDefinition
14 | - Can be found under VDS.RDF.Utilities.StoreManager.Connections in StoreManager.Core.dll
15 | - This interface is used to specify available connection settings and instantiate connections
16 | - Essentially is just a class that implements the interface and annotates its properties
17 | with the ConnectionAttribute
18 |
19 | Then simply drop your assembly as a DLL into this folder, restart Store Manager or go to Help > About and
20 | hit the rescan button and it will automatically detect the available Triple Stores from your assembly.
--------------------------------------------------------------------------------
/Toolkit/storemanager/sparql.css:
--------------------------------------------------------------------------------
1 | body
2 | {
3 | font-family: "Verdana";
4 | font-size: 10pt;
5 | }
6 |
7 | TABLE
8 | {
9 | background: #eeeeee;
10 | }
11 |
12 | TR
13 | {
14 | vertical-align: top;
15 | }
16 |
17 |
18 | TD
19 | {
20 | background: #ffffff;
21 | padding: 3px;
22 | }
23 |
24 | TH
25 | {
26 | background: #cccccc;
27 | padding: 2px;
28 | }
29 |
30 | A
31 | {
32 | color: #666666;
33 | }
34 |
35 | A.datatype {
36 | font-size: smaller;
37 | vertical-align: super;
38 | }
39 |
40 | H3
41 | {
42 | background: #cccccc;
43 | padding: 5px;
44 | font-weight: normal;
45 | }
--------------------------------------------------------------------------------
/ToolkitInstaller/EULA.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang2057\deflangfe1041{\fonttbl{\f0\fswiss\fprq2\fcharset0 Calibri;}}
2 | {\*\generator Riched20 10.0.19041}{\*\mmathPr\mdispDef1\mwrapIndent1440 }\viewkind4\uc1
3 | \pard\widctlpar\sa160\sl252\slmult1\ul\f0\fs22\lang9 dotNetRDF is free and open source software licensed under the MIT License\par
4 |
5 | \pard\nowidctlpar\sa200\sl276\slmult1\ulnone\par
6 | Copyright (c) 2009-2021 dotNetRDF Project\par
7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\par
8 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\par
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\par
10 | }
11 |
--------------------------------------------------------------------------------
/ToolkitInstaller/StableIds.xsl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | _
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | _
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | install:
2 | - choco install gitversion.portable -y
3 |
4 | before_build:
5 | - nuget restore
6 | - ps: gitversion /l console /output buildserver /updateassemblyinfo
7 |
8 | after_build:
9 | - cmd: 7z a dotNetRDFToolkitInstaller-%GitVersion_SemVer%.zip %APPVEYOR_BUILD_FOLDER%\ToolkitInstaller\bin\Release\*.*
10 | - cmd: 7z a dotNetRDFToolkit-noInstaller-%GitVersion_SemVer%.zip %APPVEYOR_BUILD_FOLDER%\ToolkitInstaller\packages\* -xr!info
11 | - cmd: 7z a dotNetRDFToolkit-noInstaller-%GitVersion_SemVer%.zip %APPVEYOR_BUILD_FOLDER%\ToolkitInstaller\packages\info\*
12 |
13 | configuration: Release
14 |
15 | artifacts:
16 | - path: dotNetRDFToolkitInstaller-$(GitVersion_SemVer).zip
17 | - path: dotNetRDFToolkit-noInstaller-$(GitVersion_SemVer).zip
18 |
19 | deploy:
20 | - provider: GitHub
21 | description: 'dotNetRDF.Toolkit $(GitVersion_SemVer)'
22 | auth_token:
23 | secure: KMC9yx8cu4fyzvtDnRIcmtowLKx9hpAwJhIyz6E4LYj79Rp1BiA7QXuyUZo7xUzm
24 | on:
25 | appveyor_repo_tag: true
26 | artifact: dotNetRDFToolkitInstaller-$(GitVersion_SemVer).zip, dotNetRDFToolkit-noInstaller-$(GitVersion_SemVer).zip
27 |
--------------------------------------------------------------------------------