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

<!DOCTYPE query SYSTEM "../specification/query-v1.dtd">

<query xmlns="http://www.lksoft.com/SDAI/Query/V1">
  <result name="all-pcb">
	<type ent="interconnect_definition">
	  <and>
		<grp>
		  <fwd ent="product_definition" attr="frame_of_reference"/>
		  <val ent="application_context_element" attr="name">
			<eq>physical design</eq>
		  </val>
		</grp>
		<grp>
		  <inv attr="named_item" ent="name_attribute"/>
		  <val ent="name_attribute" attr="attribute_value">
			<eq>interconnect module</eq>
		  </val>
		</grp>
	  </and>
	</type>
  </result>

  <result name="all-pcb_usage_view">
	<union>
	  <type ent="interconnect_definition"/>
	  <type ent="externally_defined_interconnect_definition"/>
	  <type ent="library_defined_interconnect_definition"/>
	</union>
	<and>
	  <grp>
		<fwd ent="product_definition" attr="frame_of_reference"/>
		<val ent="application_context_element" attr="name">
		  <eq>physical design usage</eq>
		</val>
	  </grp>
	  <grp>
		<inv attr="named_item" ent="name_attribute"/>
		<val ent="name_attribute" attr="attribute_value">
		  <eq>interconnect module</eq>
		</val>
	  </grp>
	</and>
  </result>
</query>