import { FieldNode } from "graphql/language" ; import { Algebra } from "sparqlalgebrajs" ; import { IConvertContext } from "../IConvertContext" ; import { IConvertSettings } from "../IConvertSettings" ; import { Util } from "../Util" ; import { NodeHandlerSelectionAdapter } from "./NodeHandlerSelectionAdapter" ; /**
 * Converts GraphQL fields to one or more quad patterns.
 */ export class NodeHandlerSelectionField extends NodeHandlerSelectionAdapter < FieldNode > { constructor ( util , settings ) { super ( 'Field' , util , settings ) ; } public handle ( fieldNode , convertContext ) { return this . fieldToOperation ( convertContext , fieldNode , true ) ; } }