Changes between Version 3 and Version 4 of query_builder_doc
- Timestamp:
- Feb 3, 2016, 5:12:55 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
query_builder_doc
v3 v4 13 13 14 14 For the first step you can select one of two query types in the select box: 15 * " object type is" to select all objects of a type e.g. PERSON or WITNESS16 * " object ID is" to select one object with a certain ISMI_ID e.g. 47316 for Tusi15 * "**object type is**" to select all objects of a type e.g. PERSON or WITNESS 16 * "**object ID is**" to select one object with a certain ISMI_ID e.g. 47316 for Tusi 17 17 18 18 === Show all persons === 19 19 20 If we select " object type is" in the first select box we get a second select box with all the possible object types like ALIAS, CODEX, COLLECTION and more.20 If we select "**object type is**" in the first select box we get a second select box with all the possible object types like ALIAS, CODEX, COLLECTION and more. 21 21 22 In the second box we select PERSONwhich automatically runs a query to select all PERSON objects:22 In the second box we select "**PERSON**" which automatically runs a query to select all PERSON objects: 23 23 24 24 [[Image(qb-person.png)]] 25 25 26 Under "Query result" we see that we have selected 2217 PERSON objects. Because this are very many objects the system will not show all of the objects automatically. If you really want to see all 2217 objects you can click on the "show results" button but your browser may take a while to display so many objects in a table.26 Under "Query result" we see that we have selected 2217 PERSON objects. 27 27 28 Because this are a lot of objects the system will not show all of the objects automatically. If you really want to see all 2217 objects you can click on the "**show results**" button but your browser may crash or take a while to display so many objects in a table. 29 30 === Select persons by name === 31 32 Now we want to narrow down the list of persons to only those that have "tusi" in their name. 33 34 For this we click on the "**add step**" button. 35 36 This gives us a second row of query steps with a query type select box. 37 38 In the first select box we select "**Attribute (contains normalized)**" to do a search that ignores diacritical marks in arabic transliterations. 39 40 Then we get a second select box with the names of all attributes we can search in and a text field for the text we want to search for. 41 42 Here we select the attribute "**name_translit**" in the second select box and type "**tusi**" in the text field and click on the "**Submit**" button. 43 44 This runs the query to narrow down the list of all persons to only those that have "tusi" in their transliterated name field: