RDF Explorer
Summary
RDF Explorer is an MCP server that provides a conversational interface for exploring and analyzing RDF-based Knowledge Graphs in either Local File mode or SPARQL Endpoint mode. Developed by Emeka Azuka Okoye, it facilitates communication between AI applications and RDF data through SPARQL queries, full-text search, and graph statistics tools. The server supports both local RDF files and external SPARQL endpoints, offering features like schema exploration, relationship discovery, and graph visualization. Particularly useful for knowledge graph research, semantic web exploration, and AI data preparation workflows where structured graph data needs to be queried conversationally.
Available Actions(10)
execute_on_endpoint
Execute a SPARQL query directly on an external endpoint. Parameters: endpoint (str), query (str), ctx (Context). Returns: Query results as a newline-separated string, or an error message.
sparql_query
Execute a SPARQL query on the current graph or active external endpoint. Parameters: query (str), ctx (Context), use_service (bool). Returns: Query results as a newline-separated string, or an error message.
graph_stats
Calculate and return statistics about the graph in JSON format. Parameters: ctx (Context). Returns: JSON string containing graph statistics (e.g., triple count, unique subjects).
count_triples
Count triples in the graph. Disabled in SPARQL Endpoint Mode; use a custom prompt instead. Parameters: ctx (Context). Returns: Number of triples as a string, or an error message.
full_text_search
Perform a full-text search on the graph or endpoint, avoiding proprietary syntax. Parameters: search_term (str), ctx (Context). Returns: Search results as a newline-separated string, or an error message.
health_check
Check the health of the triplestore connection. Parameters: ctx (Context). Returns: 'Healthy' if the connection is good, 'Unhealthy: <error>' otherwise.
get_mode
Get the current mode of RDF Explorer. Useful for knowledge graph and semantic tech users to verify data source. Parameters: ctx (Context). Returns: A message indicating the mode and dataset or endpoint.
analyze_graph_structure
Initiate an analysis of the graph structure with schema data. Returns: A list of messages to guide graph structure analysis.
find_relationships
Generate a SPARQL query to find relationships for a given subject. Returns: A SPARQL query string to find relationships.
text_to_sparql
Convert a text prompt to a SPARQL query and execute it, with token limit checks. Parameters: prompt (str). Returns: Query results with usage stats, or an error message.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요