title: SQL Server GRAPH: Match Query - not declaring all types [NOT POSSIBLE]
body: <p>I'm doing research into SQL Server Graph vs Neo4J for my internship.</p>
  
  <ul>
  <li>In Neo4J I don't have to declare all types in the (<code>Cypher</code>) MATCH query</li>
  <li>In SQL Server, it seems that I have to do so</li>
  </ul>
  
  <p>Examples:</p>
  
  <p>SQL Server:</p>
  
  <pre><code>SELECT Restaurant.name
  FROM Person, likes, Restaurant
  WHERE MATCH (Person-(likes)-&gt;Restaurant)
    AND Person.name = 'John';`
  </code></pre>
  
  <p>I want to change Person / Likes / Restaurant to not predefined types</p>
  
  <p>Like in Neo4J:</p>
  
  <pre><code>MATCH (n:Person)-[r]-&gt;(m) WHERE n.name = "John"
  </code></pre>
  
  <p>I know that these two queries are not comparable but I'm trying to point out that I would like to use "<strong>r(elation)</strong>" and "<strong>m</strong>" in SQL Server.</p>
  
  <p>It looks close to this SO: <a href="https://stackoverflow.com/questions/45629625/syntax-to-query-for-optional-relationships-in-microsoft-sql-server-2017-graph-da">Syntax to query for optional relationships in Microsoft SQL Server 2017 Graph Database?</a> but I hope I could do this without joins.</p>
  
  <p><strong>Edit: CLOSED: This feature is not supported by Microsoft</strong></p>