Difference between revisions of "Semantic Maps Lab"

From Evolutionary Knowledge Base
Jump to: navigation, search
(Data Structure)
(Semantic Maps Viewer Web App)
 
(11 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
*Complete Info page
 
*Complete Info page
 
*Integrate logs with all sessions (maps post-load and build, navigation, search, with time stamp)
 
*Integrate logs with all sessions (maps post-load and build, navigation, search, with time stamp)
 +
 +
*Resolve locateandshow function
 +
**Example1: http://www.evknowledge.org/ekmt/ekb_smv_en.htm?action=locateandshow&map=m_reality&topic=t_causality
 +
 +
**Example2:http://www.evknowledge.org/ekmt/ekb_smv_en.htm?action=locateandshow&map=m_ev_metaphysics&topic=t_finalistic_agents
 +
 +
=== Resources on the Web ===
 +
 +
*[https://workingwithmediawiki.com workingwithmediawiki]
 +
*[https://workingwithmediawiki.com/book/ workingwithmediawiki The Book]
 +
*[https://www.mediawiki.org/wiki/Extension:External_Data Mediawiki.org Extension:External_Data]
 +
*[https://www.sitepoint.com/get-url-parameters-with-javascript/ sitepoint.com/get-url-parameters-with-javascript/]
  
 
=== Data Structure ===
 
=== Data Structure ===
  
*xml-as (Application Setup) - now xmlfile_s (App Structure) --> [http://www.evknowledge.org/xml/ekb_smv_en.xml ekb_smv_en.xml]
+
*xml-as (Application Setup) = smvAppEn-ekb.xml - Now xmlfile_s (App Structure) = [http://www.evknowledge.org/ekm/xml/ekb_smv_en.xml ekb_smv_en.xml] --> ekm_app_en.xml
*xml-ml (Maps List) - now part of the xmlfile_m (Maps) --> [http://www.evknowledge.org/xml/ekb_maps_en.xml ekb_maps_en.xml]
+
*xml-m (Maps) = ekbMapsEnMmm.xml - Now part of the xmlfile_m (Maps) = [http://www.evknowledge.org/ekm/xml/ekb_maps_en.xml ekb_maps_en.xml] --> ekm_maps_en.xml
*xml-m (Map) - now part of the xmlfile_m (Maps)
+
*xml-t (Topics) = ekbSchemeEn.xml - Now xmlfiles_t (ekb scheme) --> [http://www.evknowledge.org/ekm/xml/ekb_schema_en.xml ekb_schema_en.xml] --> ekm_topics_en.xml
*xml-t (Topics) - now xmlfiles_t (ekb scheme)
+
*xml-ac (Autocomplete) = ekbAutoComEn.xml ???
*xml-ac (Autocomplete)
+
  
 
=== Links ===
 
=== Links ===

Latest revision as of 11:01, 12 July 2022

Semantic Maps Viewer Web App

To do

  • Suppress SMV italian version
  • Convert language button
  • Implement new buttons
  • Review and complete SMV english version
  • Autocomplete topic list --> xml
  • Maps list in xml-ms file
  • Single Maps in single xml-m files
  • Pre-load 0 and -1 level maps
  • Post-load sub-levels maps
  • Complete Info page
  • Integrate logs with all sessions (maps post-load and build, navigation, search, with time stamp)

Resources on the Web

Data Structure

  • xml-as (Application Setup) = smvAppEn-ekb.xml - Now xmlfile_s (App Structure) = ekb_smv_en.xml --> ekm_app_en.xml
  • xml-m (Maps) = ekbMapsEnMmm.xml - Now part of the xmlfile_m (Maps) = ekb_maps_en.xml --> ekm_maps_en.xml
  • xml-t (Topics) = ekbSchemeEn.xml - Now xmlfiles_t (ekb scheme) --> ekb_schema_en.xml --> ekm_topics_en.xml
  • xml-ac (Autocomplete) = ekbAutoComEn.xml ???

Links

ekm - ekMaps (ekb SMV Implementation)

XML files structure

  • SMV application parameters XML file (xmlfile_s = xml/ekb_smv_en.xml):

<?xml version="1.0" encoding="UTF-8"?>

<semantic_maps_viewer id="ekbsmv" name="ekb semantic maps viewer" language="en">

<knowledge_base id="knowledge_base" kb_id="ekb" kb_name="Evolutionary Knowledge Base" kb_mode="query" kb_query_url="http://www.evknowledge.org/ekb/index.php?action=render&title=" kb_file="ekb_topics_en.xml"/>

<maps maps_file="ekb_maps_en.xml"/>

<application id="smv" version="1.0" name="evTek - Semantic Maps Viewer 1.0"/>

<objects>

<object id="viewport" type="structure">

...

</semantic_maps_viewer>

  • Sematic Maps XML file (xmlfile_m = xml/ekb_maps_en.xml):

<?xml version="1.0" encoding="UTF-8"?>

<semantic_map id="ekbsm" name="ekb semantic map" language="en">

<maps id="maps">

<map id="m_ekb" name="Evolutionary Knowledge Base" map_level="0" map_father="" map_path="Evolutionary Knowledge Base" pos_y_mode="center" center_offset_x="30" center_offset_y="0">

<box id="b_reality0" topic_id="t_reality" class="b3b13b" name="REALITY" level="0" placement="polar" from_id="" distance="-240" angle="270" width="161" sub_map_link="m_reality" super_map_link="" center_x="761" center_y="1001" height="36"/>

...

<con id="mgm_093" topic_id="" class="c1 c_wine" name="Generic association" level="" placement="hh" from_id="mgm_ev_cognitive_dynamics" to_id="mgm_meta_metareality" cross="" csp=""/>

</map>

</maps>

</semantic_map>

  • Knowledge Base Schema XML file (xmlfile_t = xml/ekb_schema_en.xml):

<?xml version="1.0" encoding="UTF-8"?>

<knowledge_base_schema name="evolutionary knowledge base" language="en">

<topics>

<topic id="t_summary" title="Wiki Summary" class="" instances="" groups="" resources="" ekbtopic="Wiki Summary" wptopic="" categories=""/>

<topic id="t_ekp" title="Evolutionary Knowledge Project" class="Research Projects" instances="" groups="" resources="" ekbtopic="Evolutionary Knowledge Project" wptopic="Project" categories="Evolutionary Knowledge"/>

...

<topic id="t_emanation_connection" title="Emanation connection" class="" instances="" groups="t_connections" resources="" ekbtopic="Emanation connection" wptopic="Emanationism" categories="Semantic Maps"/>

</topics>

</knowledge_base_schema>

  • definitionsXmlFile_create: this module creates a xml file with all the definitions that will be used by Mediawiki to build the topic pages --> Obsolete (now the definitions are directly edited in the wiki pages)