チェンジセット 17 : BH13SPARQLBuilder
- 更新日時:
- 2014/01/30 13:53:23 (11 年 前)
- パス:
- BH13SPARQLBuilder/src/hozo
- ファイル:
-
- 39 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/hozo/maptool/MapFactory.java
r7 r17 12 12 import javax.swing.JOptionPane; 13 13 14 import jp.ac.osaka_u.sanken.sparql.gui.SparqlBuilderPanel;14 import hozo.sparql.gui.SparqlBuilderPanel; 15 15 16 16 import org.biohackathon.SPARQLBuilder.OWL.ClassLink; … … 44 44 public List<Path> getDummyPathList(){ 45 45 ArrayList pathlist = new ArrayList(); 46 ArrayList class_link_list = new ArrayList<ClassLink>() {{47 add(new ClassLink("propertyURI", "linkedClassURI2", Direction.forward));48 add(new ClassLink("propertyURI2", "linkedClassURI3", Direction.forward));49 add(new ClassLink("propertyURI3", "linkedClassURI4", Direction.forward));50 }};51 Path path = new Path("StartClass1", class_link_list);52 pathlist.add(path);53 46 // ArrayList class_link_list = new ArrayList<ClassLink>() {{ 47 // add(new ClassLink("propertyURI", "linkedClassURI2", Direction.forward)); 48 // add(new ClassLink("propertyURI2", "linkedClassURI3", Direction.forward)); 49 // add(new ClassLink("propertyURI3", "linkedClassURI4", Direction.forward)); 50 // }}; 51 // Path path = new Path("StartClass1", class_link_list); 52 // pathlist.add(path); 53 // 54 54 return pathlist; 55 55 } -
BH13SPARQLBuilder/src/hozo/sparql/AllegroAccessor.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 4 import jp.ac.osaka_u.sanken.sparql.edit.AllegroEditor;4 import hozo.sparql.edit.AllegroEditor; 5 5 6 6 import com.franz.agraph.jena.AGModel; … … 9 9 import com.franz.agraph.jena.AGQueryFactory; 10 10 import com.hp.hpl.jena.query.QueryExecution; 11 11 12 /** 12 13 * AllegroAccessor繧「繧ッ繧サ繝�し -
BH13SPARQLBuilder/src/hozo/sparql/CoreVersion.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 import jp.ac.osaka_u.sanken.Version;3 import hozo.sparql.util.Version; 4 4 5 5 /** -
BH13SPARQLBuilder/src/hozo/sparql/CrossSparqlAccessor.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.util.ArrayList; -
BH13SPARQLBuilder/src/hozo/sparql/EndpointSettings.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.beans.XMLDecoder; -
BH13SPARQLBuilder/src/hozo/sparql/EndpointSettingsManager.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.util.HashMap; -
BH13SPARQLBuilder/src/hozo/sparql/PlainSparqlAccessor.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.io.BufferedReader; -
BH13SPARQLBuilder/src/hozo/sparql/SeparatedValuesExporter.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.io.File; -
BH13SPARQLBuilder/src/hozo/sparql/SparqlAccessor.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.util.List; -
BH13SPARQLBuilder/src/hozo/sparql/SparqlAccessorFactory.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.util.List; -
BH13SPARQLBuilder/src/hozo/sparql/SparqlQueryListener.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 /** -
BH13SPARQLBuilder/src/hozo/sparql/SparqlResultListener.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.lang.Thread.UncaughtExceptionHandler; -
BH13SPARQLBuilder/src/hozo/sparql/SparqlResultSet.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.util.LinkedHashMap; -
BH13SPARQLBuilder/src/hozo/sparql/SparqlUtil.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 import java.io.File; -
BH13SPARQLBuilder/src/hozo/sparql/ThreadedSparqlAccessor.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql;1 package hozo.sparql; 2 2 3 3 -
BH13SPARQLBuilder/src/hozo/sparql/edit/AllegroEditor.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.edit;1 package hozo.sparql.edit; 2 2 3 3 import java.util.ArrayList; … … 19 19 import com.hp.hpl.jena.rdf.model.impl.PropertyImpl; 20 20 21 import jp.ac.osaka_u.sanken.sparql.AllegroAccessor;21 import hozo.sparql.AllegroAccessor; 22 22 23 23 /** -
BH13SPARQLBuilder/src/hozo/sparql/gui/CrossKeywordSearchPanel.java
r9 r17 49 49 import javax.swing.table.DefaultTableModel; 50 50 51 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;52 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;53 import jp.ac.osaka_u.sanken.sparql.SparqlAccessor;54 import jp.ac.osaka_u.sanken.sparql.SparqlAccessorFactory;55 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;56 import jp.ac.osaka_u.sanken.sparql.SparqlResultListener;57 import jp.ac.osaka_u.sanken.sparql.SparqlResultSet;58 import jp.ac.osaka_u.sanken.sparql.ThreadedSparqlAccessor;59 import jp.ac.osaka_u.sanken.util.EditableListItem;60 import jp.ac.osaka_u.sanken.util.EditableList;61 import jp.ac.osaka_u.sanken.util.StringUtil;51 import hozo.sparql.EndpointSettings; 52 import hozo.sparql.EndpointSettingsManager; 53 import hozo.sparql.SparqlAccessor; 54 import hozo.sparql.SparqlAccessorFactory; 55 import hozo.sparql.SparqlQueryListener; 56 import hozo.sparql.SparqlResultListener; 57 import hozo.sparql.SparqlResultSet; 58 import hozo.sparql.ThreadedSparqlAccessor; 59 import hozo.sparql.util.EditableListItem; 60 import hozo.sparql.util.EditableList; 61 import hozo.sparql.util.StringUtil; 62 62 63 63 import com.hp.hpl.jena.rdf.model.RDFNode; -
BH13SPARQLBuilder/src/hozo/sparql/gui/EndpointSelector.java
r9 r17 19 19 import javax.swing.KeyStroke; 20 20 21 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;22 import jp.ac.osaka_u.sanken.util.CheckableList;23 import jp.ac.osaka_u.sanken.util.CheckableListItem;21 import hozo.sparql.EndpointSettings; 22 import hozo.sparql.util.CheckableList; 23 import hozo.sparql.util.CheckableListItem; 24 24 25 25 public class EndpointSelector extends JDialog { -
BH13SPARQLBuilder/src/hozo/sparql/gui/GUIVersion.java
r9 r17 1 1 package hozo.sparql.gui; 2 2 3 import jp.ac.osaka_u.sanken.Version;3 import hozo.sparql.util.Version; 4 4 5 5 /** -
BH13SPARQLBuilder/src/hozo/sparql/gui/KeywordSearchPanel.java
r9 r17 50 50 import javax.swing.table.DefaultTableModel; 51 51 52 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;53 import jp.ac.osaka_u.sanken.sparql.SparqlAccessor;54 import jp.ac.osaka_u.sanken.sparql.SparqlAccessorFactory;55 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;56 import jp.ac.osaka_u.sanken.sparql.SparqlResultListener;57 import jp.ac.osaka_u.sanken.sparql.SparqlResultSet;58 import jp.ac.osaka_u.sanken.sparql.ThreadedSparqlAccessor;59 import jp.ac.osaka_u.sanken.util.EditableList;60 import jp.ac.osaka_u.sanken.util.EditableListItem;61 import jp.ac.osaka_u.sanken.util.StringUtil;52 import hozo.sparql.EndpointSettingsManager; 53 import hozo.sparql.SparqlAccessor; 54 import hozo.sparql.SparqlAccessorFactory; 55 import hozo.sparql.SparqlQueryListener; 56 import hozo.sparql.SparqlResultListener; 57 import hozo.sparql.SparqlResultSet; 58 import hozo.sparql.ThreadedSparqlAccessor; 59 import hozo.sparql.util.EditableList; 60 import hozo.sparql.util.EditableListItem; 61 import hozo.sparql.util.StringUtil; 62 62 63 63 import com.hp.hpl.jena.rdf.model.RDFNode; -
BH13SPARQLBuilder/src/hozo/sparql/gui/OptionDialog.java
r9 r17 20 20 import javax.swing.JComboBox; 21 21 22 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;22 import hozo.sparql.EndpointSettings; 23 23 import javax.swing.JRadioButton; 24 24 import javax.swing.JPasswordField; -
BH13SPARQLBuilder/src/hozo/sparql/gui/RepositoryKeywordSearchEditPanel.java
r9 r17 46 46 import com.hp.hpl.jena.rdf.model.RDFNode; 47 47 48 import jp.ac.osaka_u.sanken.sparql.AllegroAccessor;49 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;50 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;51 import jp.ac.osaka_u.sanken.sparql.SparqlAccessor;52 import jp.ac.osaka_u.sanken.sparql.SparqlAccessorFactory;53 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;54 import jp.ac.osaka_u.sanken.sparql.SparqlResultListener;55 import jp.ac.osaka_u.sanken.sparql.SparqlResultSet;56 import jp.ac.osaka_u.sanken.sparql.ThreadedSparqlAccessor;57 import jp.ac.osaka_u.sanken.sparql.edit.AllegroEditor;58 import jp.ac.osaka_u.sanken.util.EditableList;59 import jp.ac.osaka_u.sanken.util.EditableListItem;60 import jp.ac.osaka_u.sanken.util.StringUtil;48 import hozo.sparql.AllegroAccessor; 49 import hozo.sparql.EndpointSettings; 50 import hozo.sparql.EndpointSettingsManager; 51 import hozo.sparql.SparqlAccessor; 52 import hozo.sparql.SparqlAccessorFactory; 53 import hozo.sparql.SparqlQueryListener; 54 import hozo.sparql.SparqlResultListener; 55 import hozo.sparql.SparqlResultSet; 56 import hozo.sparql.ThreadedSparqlAccessor; 57 import hozo.sparql.edit.AllegroEditor; 58 import hozo.sparql.util.EditableList; 59 import hozo.sparql.util.EditableListItem; 60 import hozo.sparql.util.StringUtil; 61 61 62 62 import javax.swing.JCheckBox; -
BH13SPARQLBuilder/src/hozo/sparql/gui/SparqlAccessorForm.java
r9 r17 22 22 import java.awt.event.WindowEvent; 23 23 24 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;25 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;26 import jp.ac.osaka_u.sanken.sparql.SparqlResultSet;27 import jp.ac.osaka_u.sanken.sparql.SparqlUtil;28 import jp.ac.osaka_u.sanken.sparql.plugin.compare.ComparePanel;29 import jp.ac.osaka_u.sanken.sparql.plugin.compare.CompareSubjectPanel;24 import hozo.sparql.EndpointSettings; 25 import hozo.sparql.EndpointSettingsManager; 26 import hozo.sparql.SparqlResultSet; 27 import hozo.sparql.SparqlUtil; 28 import hozo.sparql.plugin.compare.ComparePanel; 29 import hozo.sparql.plugin.compare.CompareSubjectPanel; 30 30 31 31 import java.awt.FlowLayout; -
BH13SPARQLBuilder/src/hozo/sparql/gui/SparqlBuilderPanel.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.gui;1 package hozo.sparql.gui; 2 2 3 3 import hozo.maptool.MapFactory; … … 11 11 import javax.swing.*; 12 12 13 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;14 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;13 import hozo.sparql.EndpointSettingsManager; 14 import hozo.sparql.SparqlQueryListener; 15 15 16 16 import org.biohackathon.SPARQLBuilder.OWL.ClassLink; … … 200 200 201 201 OWLQueryBuilder builder = new OWLQueryBuilderImpl(sparqlEndpoint); 202 202 /* 203 203 204 204 String keyword = "\"artiste\"@fr"; … … 240 240 System.out.println(e.toString()); 241 241 e.printStackTrace(); 242 } 242 }*/ 243 243 244 244 return (OWLQueryBuilderImpl) builder; -
BH13SPARQLBuilder/src/hozo/sparql/gui/SparqlSearchPanel.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.gui;1 package hozo.sparql.gui; 2 2 3 3 import java.awt.BorderLayout; … … 19 19 import com.hp.hpl.jena.rdf.model.RDFNode; 20 20 21 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;22 import jp.ac.osaka_u.sanken.sparql.SparqlAccessorFactory;23 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;24 import jp.ac.osaka_u.sanken.sparql.SparqlResultListener;25 import jp.ac.osaka_u.sanken.sparql.SparqlResultSet;26 import jp.ac.osaka_u.sanken.sparql.ThreadedSparqlAccessor;21 import hozo.sparql.EndpointSettingsManager; 22 import hozo.sparql.SparqlAccessorFactory; 23 import hozo.sparql.SparqlQueryListener; 24 import hozo.sparql.SparqlResultListener; 25 import hozo.sparql.SparqlResultSet; 26 import hozo.sparql.ThreadedSparqlAccessor; 27 27 28 28 public class SparqlSearchPanel extends JPanel { -
BH13SPARQLBuilder/src/hozo/sparql/gui/TripleEditDialog.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.gui;1 package hozo.sparql.gui; 2 2 3 3 import javax.swing.Box; -
BH13SPARQLBuilder/src/hozo/sparql/gui/VersionDialog.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.gui;1 package hozo.sparql.gui; 2 2 3 3 import javax.swing.JPanel; … … 16 16 import com.ibm.icu.text.SimpleDateFormat; 17 17 18 import jp.ac.osaka_u.sanken.Version;19 import jp.ac.osaka_u.sanken.sparql.CoreVersion;18 import hozo.sparql.util.Version; 19 import hozo.sparql.CoreVersion; 20 20 21 21 public class VersionDialog extends JDialog { -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/Compare.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.plugin.compare;1 package hozo.sparql.plugin.compare; 2 2 3 3 … … 20 20 import com.ibm.icu.text.SimpleDateFormat; 21 21 22 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;23 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;24 import jp.ac.osaka_u.sanken.sparql.PlainSparqlAccessor;25 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;26 import jp.ac.osaka_u.sanken.sparql.SparqlResultSet;22 import hozo.sparql.EndpointSettings; 23 import hozo.sparql.EndpointSettingsManager; 24 import hozo.sparql.PlainSparqlAccessor; 25 import hozo.sparql.SparqlQueryListener; 26 import hozo.sparql.SparqlResultSet; 27 27 28 28 public class Compare { -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/ComparePanel.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.plugin.compare;1 package hozo.sparql.plugin.compare; 2 2 3 3 import java.awt.GridBagLayout; … … 33 33 import javax.swing.text.Element; 34 34 35 import jp.ac.osaka_u.sanken.sparql.SparqlAccessor;36 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;35 import hozo.sparql.SparqlAccessor; 36 import hozo.sparql.SparqlQueryListener; 37 37 38 38 public class ComparePanel extends JPanel { -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/CompareResultListener.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.plugin.compare;1 package hozo.sparql.plugin.compare; 2 2 3 3 import java.lang.Thread.UncaughtExceptionHandler; -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/CompareSubject.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.plugin.compare;1 package hozo.sparql.plugin.compare; 2 2 3 3 import java.io.File; … … 19 19 import com.ibm.icu.text.SimpleDateFormat; 20 20 21 import jp.ac.osaka_u.sanken.sparql.EndpointSettings;22 import jp.ac.osaka_u.sanken.sparql.EndpointSettingsManager;23 import jp.ac.osaka_u.sanken.sparql.PlainSparqlAccessor;24 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;21 import hozo.sparql.EndpointSettings; 22 import hozo.sparql.EndpointSettingsManager; 23 import hozo.sparql.PlainSparqlAccessor; 24 import hozo.sparql.SparqlQueryListener; 25 25 26 26 public class CompareSubject { -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/CompareSubjectPanel.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.plugin.compare;1 package hozo.sparql.plugin.compare; 2 2 3 3 import java.awt.GridBagLayout; … … 27 27 import javax.swing.text.Element; 28 28 29 import jp.ac.osaka_u.sanken.sparql.SparqlQueryListener;29 import hozo.sparql.SparqlQueryListener; 30 30 31 31 public class CompareSubjectPanel extends JPanel { -
BH13SPARQLBuilder/src/hozo/sparql/plugin/compare/FileUtil.java
r9 r17 1 package jp.ac.osaka_u.sanken.sparql.plugin.compare;1 package hozo.sparql.plugin.compare; 2 2 3 3 import java.io.BufferedReader; -
BH13SPARQLBuilder/src/hozo/sparql/util/CheckableList.java
r9 r17 1 package jp.ac.osaka_u.sanken.util;1 package hozo.sparql.util; 2 2 3 3 import java.awt.Component; -
BH13SPARQLBuilder/src/hozo/sparql/util/CheckableListItem.java
r9 r17 1 package jp.ac.osaka_u.sanken.util;1 package hozo.sparql.util; 2 2 3 3 /** -
BH13SPARQLBuilder/src/hozo/sparql/util/EditableList.java
r9 r17 1 package jp.ac.osaka_u.sanken.util;1 package hozo.sparql.util; 2 2 3 3 import java.awt.BorderLayout; -
BH13SPARQLBuilder/src/hozo/sparql/util/EditableListItem.java
r9 r17 1 package jp.ac.osaka_u.sanken.util;1 package hozo.sparql.util; 2 2 3 3 /** -
BH13SPARQLBuilder/src/hozo/sparql/util/StringUtil.java
r9 r17 1 package jp.ac.osaka_u.sanken.util;1 package hozo.sparql.util; 2 2 3 3 import java.util.ArrayList; -
BH13SPARQLBuilder/src/hozo/sparql/util/Version.java
r9 r17 1 package jp.ac.osaka_u.sanken;1 package hozo.sparql.util; 2 2 3 3 import java.text.ParseException;